Requires any of the roles: | Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp, Admin, TeamAdmin, MobileApp | Required permissions: | Tickets.Add, Tickets.Add, Tickets.Add |
GET PUT POST | /ownerTicketPrice | Change Tickets prices for Owner in Series | Id only when changing (PUT) |
---|
export class EventSeriesOwnerTicketPrice
{
public id?: number;
public ownerId?: number;
public defaultPrice?: number;
public ticketTypeId?: number;
public seriesId?: number;
public ticketTypeListOrder?: number;
public isHidden?: boolean;
public isActive?: boolean;
public maxTickets?: number;
public currency?: string;
public constructor(init?: Partial<EventSeriesOwnerTicketPrice>) { (Object as any).assign(this, init); }
}
export class OwnerSeriesTicketPriceResult
{
public ticketPrice?: EventSeriesOwnerTicketPrice;
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<OwnerSeriesTicketPriceResult>) { (Object as any).assign(this, init); }
}
export class OwnerSeriesTicketPriceRequest
{
public id?: number;
public ticketId?: number;
public eventOwnerId?: number;
public seriesId?: number;
public defaultPrice?: number;
public hide?: boolean;
public active?: boolean;
public maxTickets?: number;
public constructor(init?: Partial<OwnerSeriesTicketPriceRequest>) { (Object as any).assign(this, init); }
}
TypeScript OwnerSeriesTicketPriceRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ownerTicketPrice HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":0,"ticketId":0,"eventOwnerId":0,"seriesId":0,"defaultPrice":0,"hide":false,"active":false,"maxTickets":0}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ticketPrice":{"id":0,"ownerId":0,"defaultPrice":0,"ticketTypeId":0,"seriesId":0,"ticketTypeListOrder":0,"isHidden":false,"isActive":false,"maxTickets":0,"currency":"String"},"statusCode":0,"message":"String"}