Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
POST | /EventSeats/SeatHolderAndTicketInfo |
---|
export class SeatHolderAndTicketInfo
{
public seatId?: number;
public detailsID?: number;
public ticketTokenId?: string;
public ticketHolderId?: number;
public holderName?: string;
public holderFullPhoneNumber?: string;
public seatStatus?: string;
public eventId?: number;
public holderId?: string;
public ticketStatus?: string;
public constructor(init?: Partial<SeatHolderAndTicketInfo>) { (Object as any).assign(this, init); }
}
export class EventSeatHolderAndTicketInfoResult
{
public info?: SeatHolderAndTicketInfo;
public items?: SeatHolderAndTicketInfo[];
public validInfoCount?: number;
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<EventSeatHolderAndTicketInfoResult>) { (Object as any).assign(this, init); }
}
export class EventSeatHolderAndTicketInfoRequest
{
public seatId?: number;
public constructor(init?: Partial<EventSeatHolderAndTicketInfoRequest>) { (Object as any).assign(this, init); }
}
TypeScript EventSeatHolderAndTicketInfoRequest 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 /EventSeats/SeatHolderAndTicketInfo HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
seatId: 0
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { info: { seatId: 0, detailsID: 0, ticketTokenId: String, ticketHolderId: 0, holderName: String, holderFullPhoneNumber: String, seatStatus: String, eventId: 0, holderId: String, ticketStatus: String }, items: [ { seatId: 0, detailsID: 0, ticketTokenId: String, ticketHolderId: 0, holderName: String, holderFullPhoneNumber: String, seatStatus: String, eventId: 0, holderId: String, ticketStatus: String } ], validInfoCount: 0, statusCode: 0, message: String }