TicketUserServices

<back to all web services

SelfServiceTransferTargetTicketTypesRequest

Requires Authentication
The following routes are available for this service:
POST/selfService/transferTicket/targetTicketTypesTicket types on the target event a buyer may exchange into, with per-option price difference and blocking reason
SelfServiceTransferTargetTicketTypesRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
BuyerPhonebodystringNo
ToEventIdbodyintNo
SectionIdbodyint?No
SelfServiceTransferTargetTicketTypesResult Parameters:
NameParameterData TypeRequiredDescription
SourceTicketPriceformdecimalNo
SourceTicketTypeNameformstringNo
ToEventIdformintNo
TargetIsSeatedformboolNo
OptionsformList<SelfServiceTargetTicketTypeOption>No
SelfServiceTransferResultBase Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
StatusCodeformintNo
CodeformstringNo
MessageformstringNo
SelfServiceTargetTicketTypeOption Parameters:
NameParameterData TypeRequiredDescription
OwnerTicketTypeIdformint?No
SeriesTicketTypeIdformint?No
NameformstringNo
PriceformdecimalNo
DirectionformstringNo
PriceDifferenceformdecimalNo
NameMatchesSourceformboolNo
SelectableformboolNo
BlockedReasonformstringNo
BlockedMessageformstringNo
MaxTicketsformint?No
TicketsSoldformint?No
TicketsLeftformint?No
SaleStatusformstringNo
SaleStartsUTCformDateTime?No
SaleEndsUTCformDateTime?No

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 /selfService/transferTicket/targetTicketTypes HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	ticketTokenId: String,
	buyerPhone: String,
	toEventId: 0,
	sectionId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	sourceTicketPrice: 0,
	sourceTicketTypeName: String,
	toEventId: 0,
	targetIsSeated: False,
	options: 
	[
		{
			ownerTicketTypeId: 0,
			seriesTicketTypeId: 0,
			name: String,
			price: 0,
			direction: String,
			priceDifference: 0,
			nameMatchesSource: False,
			selectable: False,
			blockedReason: String,
			blockedMessage: String,
			maxTickets: 0,
			ticketsSold: 0,
			ticketsLeft: 0,
			saleStatus: String,
			saleStartsUTC: 0001-01-01,
			saleEndsUTC: 0001-01-01
		}
	],
	ok: False,
	statusCode: 0,
	code: String,
	message: String
}