| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
eventId: 0,
moves:
[
{
fromSeatId: 0,
toSeatId: 0,
toOwnerTicketTypeId: 0
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ok: False,
statusCode: 0,
message: String,
totalFromPrice: 0,
totalToPrice: 0,
priceDifference: 0,
direction: String,
refundableViaBorgun: False,
paymentReference: String,
seats:
[
{
fromSeatId: 0,
toSeatId: 0,
ticketTokenId: String,
fromPrice: 0,
toPrice: 0,
difference: 0,
toSectionName: String,
toSeatName: String,
ok: False,
message: String
}
]
}