TicketUserServices

<back to all web services

ReissueTicketRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:ReadData
The following routes are available for this service:
POST/Ticket/Reissue
ReissueTicketRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
EventOwnerIdbodyintNo
NewPhoneNumberbodystringNo
NewEmailbodystringNo
NewHolderNamebodystringNo
ReasonbodystringNo
ReissueTicketResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
TicketTokenIdformstringNo
PreviousTicketTokenIdformstringNo
PhoneNumberformstringNo
HolderEmailformstringNo
HolderNameformstringNo
ChangedformList<string>No
ResponseStatusformResponseStatusNo

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

{
	ticketTokenId: String,
	eventOwnerId: 0,
	newPhoneNumber: String,
	newEmail: String,
	newHolderName: String,
	reason: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	ticketTokenId: String,
	previousTicketTokenId: String,
	phoneNumber: String,
	holderEmail: String,
	holderName: String,
	changed: 
	[
		String
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}