TicketUserServices

<back to all web services

EventSeatingMoveTicketToAnotherEventRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequires the permission:ReadData
The following routes are available for this service:
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 MoveTicketToAnotherEventSeatQuote
{
    public fromSeatId?: number;
    public toSeatId?: number;
    public ticketTokenId?: string;
    public fromPrice?: number;
    public toPrice?: number;
    public difference?: number;
    public toSeatName?: string;
    public ok?: boolean;
    public message?: string;

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

export class EventSeatingMoveTicketToAnotherEventResult
{
    public statusCode?: number;
    public message?: string;
    public movedSeatIds?: number[];
    public failures?: MoveTicketToAnotherEventFailure[];
    public direction?: string;
    public priceDifference?: number;
    public reconciliationSkipped?: boolean;
    public sourceEventPaidOut?: boolean;
    public outstandingCostHandledByServer?: boolean;
    public reconciliationLogId?: number;
    public refundAmount?: number;
    public refundPaymentReference?: string;
    public seats?: MoveTicketToAnotherEventSeatQuote[];

    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 quoteOnly?: boolean;
    public expectedPriceDifference?: number;
    public skipReconciliation?: boolean;
    public idempotencyKey?: string;
    public userId?: number;
    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

HTTP + 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,
	quoteOnly: False,
	expectedPriceDifference: 0,
	skipReconciliation: False,
	idempotencyKey: String,
	userId: 0,
	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
		}
	],
	direction: String,
	priceDifference: 0,
	reconciliationSkipped: False,
	sourceEventPaidOut: False,
	outstandingCostHandledByServer: False,
	reconciliationLogId: 0,
	refundAmount: 0,
	refundPaymentReference: String,
	seats: 
	[
		{
			fromSeatId: 0,
			toSeatId: 0,
			ticketTokenId: String,
			fromPrice: 0,
			toPrice: 0,
			difference: 0,
			toSeatName: String,
			ok: False,
			message: String
		}
	]
}