Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
POST | /EventSeats/SeatHolderInfo |
---|
export class TicketDetailsHolders
{
public id?: number;
public ticketDetailsId?: number;
public holderId?: string;
public holderName?: string;
public holderFullPhoneNumber?: string;
public seatId?: number;
public constructor(init?: Partial<TicketDetailsHolders>) { (Object as any).assign(this, init); }
}
export class EventSeatHolderInfoResult
{
public holderInfo?: TicketDetailsHolders;
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<EventSeatHolderInfoResult>) { (Object as any).assign(this, init); }
}
export class EventSeatHolderInfoRequest
{
public seatId?: number;
public constructor(init?: Partial<EventSeatHolderInfoRequest>) { (Object as any).assign(this, init); }
}
TypeScript EventSeatHolderInfoRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /EventSeats/SeatHolderInfo HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EventSeatHolderInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<SeatId>0</SeatId>
</EventSeatHolderInfoRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EventSeatHolderInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <HolderInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types"> <d2p1:HolderFullPhoneNumber>String</d2p1:HolderFullPhoneNumber> <d2p1:HolderId>String</d2p1:HolderId> <d2p1:HolderName>String</d2p1:HolderName> <d2p1:ID>0</d2p1:ID> <d2p1:SeatId>0</d2p1:SeatId> <d2p1:TicketDetailsId>0</d2p1:TicketDetailsId> </HolderInfo> <Message>String</Message> <StatusCode>0</StatusCode> </EventSeatHolderInfoResult>