TicketUserServices

<back to all web services

TicketTransferOutgoingRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/ticketTransfer/outgoing
TicketTransferOutgoingRequest Parameters:
NameParameterData TypeRequiredDescription
PhoneVerificationNumberbodystringNo
TicketTransferOutgoingResult Parameters:
NameParameterData TypeRequiredDescription
TransfersformList<TicketTransferOutgoingItem>No
TicketTransferBaseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
ErrorCodeformstringNo
TicketTransferOutgoingItem Parameters:
NameParameterData TypeRequiredDescription
TransferTokenformstringNo
EventIdformintNo
EventNameformstringNo
TimeOfEventformDateTime?No
TicketIdformintNo
ToPhoneDisplayformstringNo
ToEmailformstringNo
ToNameformstringNo
StatusformstringNo
FailureReasonformstringNo
ResultingTicketIdformint?No
TicketsformList<TicketTransferTicketSummary>No
CreatedAtformDateTimeNo
ExpiresAtformDateTimeNo
AcceptedAtformDateTime?No
RetractedAtformDateTime?No
NudgeCountformintNo
LastNudgeAtformDateTime?No
CanNudgeformboolNo
TicketTransferTicketSummary Parameters:
NameParameterData TypeRequiredDescription
TicketNameformstringNo
TicketDisplayStringformstringNo
CountformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ticketTransfer/outgoing HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"phoneVerificationNumber":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"transfers":[{"transferToken":"String","eventId":0,"eventName":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","ticketId":0,"toPhoneDisplay":"String","toEmail":"String","toName":"String","status":"String","failureReason":"String","resultingTicketId":0,"tickets":[{"ticketName":"String","ticketDisplayString":"String","count":0}],"createdAt":"0001-01-01T00:00:00.0000000","expiresAt":"0001-01-01T00:00:00.0000000","acceptedAt":"0001-01-01T00:00:00.0000000","retractedAt":"0001-01-01T00:00:00.0000000","nudgeCount":0,"lastNudgeAt":"0001-01-01T00:00:00.0000000","canNudge":false}],"statusCode":0,"message":"String","errorCode":"String"}