| Requires any of the roles: | Admin, TeamAdmin | Requires the permission: | ReadData |
| POST | /EventSeatingMoveTicketToAnotherEventInSeries |
|---|
export class MoveTicketToAnotherEventFailure
{
public fromSeatId?: number;
public toSeatId?: number;
public reason?: string;
public constructor(init?: Partial<MoveTicketToAnotherEventFailure>) { (Object as any).assign(this, init); }
}
export class EventSeatingMoveTicketToAnotherEventResult
{
public statusCode?: number;
public message?: string;
public movedSeatIds?: number[];
public failures?: MoveTicketToAnotherEventFailure[];
public constructor(init?: Partial<EventSeatingMoveTicketToAnotherEventResult>) { (Object as any).assign(this, init); }
}
export class MoveTicketToAnotherEventPair
{
public fromSeatId?: number;
public toSeatId?: number;
public toSeriesTicketTypeId?: number;
public toOwnerTicketTypeId?: number;
public constructor(init?: Partial<MoveTicketToAnotherEventPair>) { (Object as any).assign(this, init); }
}
export class RequestSignature
{
public systemId?: string;
public systemSecret?: string;
public signature?: string;
public constructor(init?: Partial<RequestSignature>) { (Object as any).assign(this, init); }
}
export class EventSeatingMoveTicketToAnotherEventRequest
{
public fromEventId?: number;
public toEventId?: number;
public moves?: MoveTicketToAnotherEventPair[];
public reason?: string;
public requestUnixUTCTimeStamp?: number;
public signature?: RequestSignature;
public constructor(init?: Partial<EventSeatingMoveTicketToAnotherEventRequest>) { (Object as any).assign(this, init); }
}
TypeScript EventSeatingMoveTicketToAnotherEventRequest 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 /EventSeatingMoveTicketToAnotherEventInSeries HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
fromEventId: 0,
toEventId: 0,
moves:
[
{
fromSeatId: 0,
toSeatId: 0,
toSeriesTicketTypeId: 0,
toOwnerTicketTypeId: 0
}
],
reason: String,
requestUnixUTCTimeStamp: 0,
signature:
{
systemId: String,
systemSecret: String,
signature: String
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String,
movedSeatIds:
[
0
],
failures:
[
{
fromSeatId: 0,
toSeatId: 0,
reason: String
}
]
}