TicketUserServices

<back to all web services

TicketTransferCreatePendingRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
POST/ticketTransfer/createPending
TicketTransferCreatePendingRequest Parameters:
NameParameterData TypeRequiredDescription
PhoneVerificationNumberbodystringNo
TransferFromPhoneVerificationNumberbodystringNo
TransferToPhoneVerificationNumberbodystringNo
EventTicketbodyTicketNo
EventTicketDetailsbodyList<TicketDetails>No
ToEmailbodystringNo
ToNamebodystringNo
IdempotencyKeybodystringNo
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
DiscountCodeformstringNo
TotalDiscountformdecimal?No
TotalAmountBeforeDiscountformdecimal?No
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
DiscountCodeformstringNo
TotalDiscountformdecimal?No
TotalAmountBeforeDiscountformdecimal?No
TicketPriceBeforeDiscountformdecimal?No
TicketTransferCreatePendingResult Parameters:
NameParameterData TypeRequiredDescription
TransferTokenformstringNo
StatusformstringNo
ToPhoneCanonicalformstringNo
ToPhoneDisplayformstringNo
ToPhoneRawformstringNo
ExpiresAtformDateTime?No
EventIdformint?No
EventNameformstringNo
TicketTransferBaseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodeformintNo
MessageformstringNo
ErrorCodeformstringNo

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

{"phoneVerificationNumber":"String","transferFromPhoneVerificationNumber":"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,"discountCode":"String","totalDiscount":0,"totalAmountBeforeDiscount":0},"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","discountCode":"String","totalDiscount":0,"totalAmountBeforeDiscount":0,"ticketPriceBeforeDiscount":0}],"toEmail":"String","toName":"String","idempotencyKey":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"transferToken":"String","status":"String","toPhoneCanonical":"String","toPhoneDisplay":"String","toPhoneRaw":"String","expiresAt":"0001-01-01T00:00:00.0000000","eventId":0,"eventName":"String","statusCode":0,"message":"String","errorCode":"String"}