| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeating/ReseatQuote |
|---|
export class ReseatSeatQuote
{
public fromSeatId?: number;
public toSeatId?: number;
public ticketTokenId?: string;
public fromPrice?: number;
public toPrice?: number;
public difference?: number;
public toSectionName?: string;
public toSeatName?: string;
public ok?: boolean;
public message?: string;
public constructor(init?: Partial<ReseatSeatQuote>) { (Object as any).assign(this, init); }
}
export class ReseatQuoteResult
{
public ok?: boolean;
public statusCode?: number;
public message?: string;
public totalFromPrice?: number;
public totalToPrice?: number;
public priceDifference?: number;
public direction?: string;
public refundableViaBorgun?: boolean;
public paymentReference?: string;
public seats?: ReseatSeatQuote[];
public constructor(init?: Partial<ReseatQuoteResult>) { (Object as any).assign(this, init); }
}
export class ReseatMovePair
{
public fromSeatId?: number;
public toSeatId?: number;
public toOwnerTicketTypeId?: number;
public constructor(init?: Partial<ReseatMovePair>) { (Object as any).assign(this, init); }
}
export class ReseatQuoteRequest
{
public eventId?: number;
public moves?: ReseatMovePair[];
public constructor(init?: Partial<ReseatQuoteRequest>) { (Object as any).assign(this, init); }
}
TypeScript ReseatQuoteRequest 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 /EventSeating/ReseatQuote HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ReseatQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<EventId>0</EventId>
<Moves>
<ReseatMovePair>
<FromSeatId>0</FromSeatId>
<ToOwnerTicketTypeId>0</ToOwnerTicketTypeId>
<ToSeatId>0</ToSeatId>
</ReseatMovePair>
</Moves>
</ReseatQuoteRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ReseatQuoteResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Direction>String</Direction>
<Message>String</Message>
<Ok>false</Ok>
<PaymentReference>String</PaymentReference>
<PriceDifference>0</PriceDifference>
<RefundableViaBorgun>false</RefundableViaBorgun>
<Seats>
<ReseatSeatQuote>
<Difference>0</Difference>
<FromPrice>0</FromPrice>
<FromSeatId>0</FromSeatId>
<Message>String</Message>
<Ok>false</Ok>
<TicketTokenId>String</TicketTokenId>
<ToPrice>0</ToPrice>
<ToSeatId>0</ToSeatId>
<ToSeatName>String</ToSeatName>
<ToSectionName>String</ToSectionName>
</ReseatSeatQuote>
</Seats>
<StatusCode>0</StatusCode>
<TotalFromPrice>0</TotalFromPrice>
<TotalToPrice>0</TotalToPrice>
</ReseatQuoteResult>