TicketUserServices

<back to all web services

TransferTicketRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/TransferTicket
TransferTicketRequest Parameters:
NameParameterData TypeRequiredDescription
TransferFromPhoneVerificationNumberbodystringNo
TransferFromDeviceIdbodystringNo
TransferToPhoneVerificationNumberbodystringNo
EventTicketbodyTicketNo
EventTicketDetailsbodyList<TicketDetails>No
Ticket Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
UserIdformint?No
UserAuthIdformint?No
EventIdformintNo
TimestampBoughtformDateTimeNo
TimestampActivatedformDateTimeNo
TimeStampOrderedformDateTimeNo
DeviceIdformstringNo
PhoneVerificationIdformintNo
PaymentMethodIdformstringNo
PaymentReferenceformstringNo
TicketStatusformstringNo
PhoneVerificationNumberformstringNo
TicketTokenIdformstringNo
PaymentPhoneNumberformstringNo
TicketTransferredFromformint?No
OriginalPhoneVerificationNumberformstringNo
TeamPassIdformint?No
PaymentIdformstringNo
IsFreeformbool?No
FreeTicketFromIdformstringNo
FreeTicketFromTypeIdformstringNo
FreeTicketCardTypeIdformstringNo
FreeTicketCardIdformint?No
TotalPaidForTicketformdecimal?No
SeatsReservationIdformstringNo
TimeStampLastStatusChangeformDateTime?No
LastTicketStatusformstringNo
ScanCodeformstringNo
ScanCodeTypeformstringNo
ScanCodeNotActiveformbool?No
MultipleScanCodesformbool?No
CurrencyformstringNo
TicketHasExpiredformboolNo
TicketDetails Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
TicketIdformintNo
EventSeriesTicketTypeformint?No
EventSeriesOwnerTicketTypeformint?No
TicketPriceformdecimalNo
TotalPriceformdecimalNo
CountformintNo
TicketColorformstringNo
ShowUsedTicketsformbool?No
TicketNameformstringNo
TicketDisplayStringformstringNo
TicketDetailsTransferredFromformint?No
TeamPassIdformint?No
IsSpecialTicketformbool?No
SpecialTicketIdformstringNo
JustChangedBySQLformbool?No
SQLJustChangedTimeStampformDateTime?No
CurrencyformstringNo
TransferTicketResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo

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

HTTP + CSV

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

POST /TransferTicket HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"transferFromPhoneVerificationNumber":"String","transferFromDeviceId":"String","transferToPhoneVerificationNumber":"String","eventTicket":{"id":0,"userId":0,"userAuthId":0,"eventId":0,"timestampBought":"0001-01-01T00:00:00.0000000","timestampActivated":"0001-01-01T00:00:00.0000000","timeStampOrdered":"0001-01-01T00:00:00.0000000","deviceId":"String","phoneVerificationId":0,"paymentMethodId":"String","paymentReference":"String","ticketStatus":"String","phoneVerificationNumber":"String","ticketTokenId":"String","paymentPhoneNumber":"String","ticketTransferredFrom":0,"originalPhoneVerificationNumber":"String","teamPassId":0,"paymentId":"String","isFree":false,"freeTicketFromId":"String","freeTicketFromTypeId":"String","freeTicketCardTypeId":"String","freeTicketCardId":0,"totalPaidForTicket":0,"seatsReservationId":"String","timeStampLastStatusChange":"0001-01-01T00:00:00.0000000","lastTicketStatus":"String","scanCode":"String","scanCodeType":"String","scanCodeNotActive":false,"multipleScanCodes":false,"currency":"String","ticketHasExpired":false},"eventTicketDetails":[{"id":0,"ticketId":0,"eventSeriesTicketType":0,"eventSeriesOwnerTicketType":0,"ticketPrice":0,"totalPrice":0,"count":0,"ticketColor":"String","showUsedTickets":false,"ticketName":"String","ticketDisplayString":"String","ticketDetailsTransferredFrom":0,"teamPassId":0,"isSpecialTicket":false,"specialTicketId":"String","justChangedBySQL":false,"sqlJustChangedTimeStamp":"0001-01-01T00:00:00.0000000","currency":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"statusCode":0,"message":"String"}