TicketUserServices

<back to all web services

EventSeatNameDetailsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
POST/EventSeats/SeatNameDetails
GET/EventSeats/SeatNameDetails/seat/{SeatId}

export class EventSeatNameDetailsRequest
{
    public seatId?: number;

    public constructor(init?: Partial<EventSeatNameDetailsRequest>) { (Object as any).assign(this, init); }
}

export class EventSeatNameDetails
{
    public id?: number;
    public seatName?: string;
    public rowId?: number;
    public rowName?: string;
    public sectionId?: number;
    public sectionName?: string;

    public constructor(init?: Partial<EventSeatNameDetails>) { (Object as any).assign(this, init); }
}

export class EventSeatNameDetailsResult
{
    public nameDetails?: EventSeatNameDetails;
    public statusCode?: number;
    public message?: string;

    public constructor(init?: Partial<EventSeatNameDetailsResult>) { (Object as any).assign(this, init); }
}

TypeScript EventSeatNameDetailsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /EventSeats/SeatNameDetails HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<EventSeatNameDetailsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <SeatId>0</SeatId>
</EventSeatNameDetailsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventSeatNameDetailsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Message>String</Message>
  <NameDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types">
    <d2p1:ID>0</d2p1:ID>
    <d2p1:RowId>0</d2p1:RowId>
    <d2p1:RowName>String</d2p1:RowName>
    <d2p1:SeatName>String</d2p1:SeatName>
    <d2p1:SectionId>0</d2p1:SectionId>
    <d2p1:SectionName>String</d2p1:SectionName>
  </NameDetails>
  <StatusCode>0</StatusCode>
</EventSeatNameDetailsResult>