TicketUserServices

<back to all web services

UpdateTicketHolderRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:ReadData
The following routes are available for this service:
POST/Ticket/UpdateHolder
UpdateTicketHolderRequest Parameters:
NameParameterData TypeRequiredDescription
TicketTokenIdbodystringNo
EventOwnerIdbodyintNo
HolderNamebodystringNo
HolderEmailbodystringNo
PhoneNumberbodystringNo
ReasonbodystringNo
HolderIdbodystringNo
AnswersbodyList<ExtraInfoAnswer>No
TicketDetailsHolderIdbodyint?No
ExtraInfoAnswer Parameters:
NameParameterData TypeRequiredDescription
ExtraInfoFieldIdformintNo
ValueformstringNo
UpdateTicketHolderResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
TicketTokenIdformstringNo
HolderNameformstringNo
HolderEmailformstringNo
PhoneNumberformstringNo
HolderIdformstringNo
AnswersformList<TicketHolderAnswerState>No
ChangedformList<string>No
ResponseStatusformResponseStatusNo
TicketHolderAnswerState Parameters:
NameParameterData TypeRequiredDescription
ExtraInfoFieldIdformintNo
FieldKeyformstringNo
ValueformstringNo

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

{
	ticketTokenId: String,
	eventOwnerId: 0,
	holderName: String,
	holderEmail: String,
	phoneNumber: String,
	reason: String,
	holderId: String,
	answers: 
	[
		{
			extraInfoFieldId: 0,
			value: String
		}
	],
	ticketDetailsHolderId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	statusCode: 0,
	message: String,
	ticketTokenId: String,
	holderName: String,
	holderEmail: String,
	phoneNumber: String,
	holderId: String,
	answers: 
	[
		{
			extraInfoFieldId: 0,
			fieldKey: String,
			value: String
		}
	],
	changed: 
	[
		String
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}