Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
POST | /ownerEventTicketPrice/Search | Search for event ticket prices |
---|
export class OwnerEventTicketPriceInfo
{
public id?: number;
public price?: number;
public ticketTypeId?: number;
public ticketOwnerTypeId?: number;
public eventId?: number;
public hidden?: boolean;
public isActive?: boolean;
public maxTickets?: number;
public seriesTicketName?: string;
public seriesPrice?: number;
public seriesTicketIsActive?: boolean;
public seriesTicketColor?: string;
public ownerTicketName?: string;
public ownerPrice?: number;
public ownerTicketIsActive?: boolean;
public ownerTicketColor?: string;
public seriesName?: string;
public ownerName?: string;
public eventName?: string;
public eventDescription?: string;
public timeOfEvent?: string;
public eventOwnerId?: number;
public constructor(init?: Partial<OwnerEventTicketPriceInfo>) { (Object as any).assign(this, init); }
}
export class OwnerEventTicketPricesSearchResult
{
public ticketPrices?: OwnerEventTicketPriceInfo[];
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<OwnerEventTicketPricesSearchResult>) { (Object as any).assign(this, init); }
}
export class OwnerEventTicketPriceSearchRequest
{
public ownerId?: number;
public ksiOwnerid?: string;
public constructor(init?: Partial<OwnerEventTicketPriceSearchRequest>) { (Object as any).assign(this, init); }
}
TypeScript OwnerEventTicketPriceSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ownerEventTicketPrice/Search HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerId: 0,
ksiOwnerid: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketPrices: [ { id: 0, price: 0, ticketTypeId: 0, ticketOwnerTypeId: 0, eventId: 0, hidden: False, isActive: False, maxTickets: 0, seriesTicketName: String, seriesPrice: 0, seriesTicketIsActive: False, seriesTicketColor: String, ownerTicketName: String, ownerPrice: 0, ownerTicketIsActive: False, ownerTicketColor: String, seriesName: String, ownerName: String, eventName: String, eventDescription: String, timeOfEvent: 0001-01-01, eventOwnerId: 0 } ], statusCode: 0, message: String }