TicketUserServices

<back to all web services

SharedTicketLinkGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET/SharedTicketLink/{Token}
SharedTicketLinkGetRequest Parameters:
NameParameterData TypeRequiredDescription
TokenpathstringNo
SharedTicketLinkPublicResult Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
TokenformstringNo
EventIdformintNo
TicketOwnerTypeIdformintNo
CountformintNo
SectionIdformint?No
SeatsformList<SharedTicketLinkSeatInfo>No
StatusformstringNo
ValidToformDateTimeNo
StatusMessageformLocalizedMessageNo
StatusCodeformintNo
MessageformstringNo
SharedTicketLinkSeatInfo Parameters:
NameParameterData TypeRequiredDescription
SeatIdformintNo
SectionNameformstringNo
RowNameformstringNo
SeatNameformstringNo
LocalizedMessage Parameters:
NameParameterData TypeRequiredDescription
IsformstringNo
EnformstringNo

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.

GET /SharedTicketLink/{Token} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ok: False,
	token: String,
	eventId: 0,
	ticketOwnerTypeId: 0,
	count: 0,
	sectionId: 0,
	seats: 
	[
		{
			seatId: 0,
			sectionName: String,
			rowName: String,
			seatName: String
		}
	],
	status: String,
	validTo: 0001-01-01,
	statusMessage: 
	{
		is: String,
		en: String
	},
	statusCode: 0,
	message: String
}