TicketUserServices

<back to all web services

GetTicketRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequires the permission:ReadData
The following routes are available for this service:
GET POST/ticketOrder/get
GetTicketRequest Parameters:
NameParameterData TypeRequiredDescription
PhoneVerificationNumberbodystringNo
DeviceIdbodystringNo
TicketTokenIdbodystringNo
RequestUnixUTCTimeStampbodylongNo
SignaturebodyRequestSignatureNo
RequestSignature Parameters:
NameParameterData TypeRequiredDescription
SystemIdformstringNo
SystemSecretformstringNo
SignatureformstringNo
TicketOrderResult Parameters:
NameParameterData TypeRequiredDescription
TicketAndDetailsformEventTicketWithDetailsNo
StatusCodeformintNo
MessageformstringNo
EventTicketWithDetails Parameters:
NameParameterData TypeRequiredDescription
EventTicketformTicketNo
EventTicketDetailsformList<TicketDetailsInfo>No
EventInfoformEventDetailsNo
EventIsTodayformboolNo
EventisLiveformboolNo
MinutesToEventformlongNo
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
TicketDetailsInfo Parameters:
NameParameterData TypeRequiredDescription
HolderInfoRequiredformboolNo
BlockTransferformbool?No
TicketTypeImageUrlformstringNo
TicketHoldersformList<TicketHolderInfo>No
GateAccessCodesformList<ExternalGateAccessCodeInfo>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
TicketHolderInfo Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
FullPhoneNumberformstringNo
HolderIdformstringNo
SeatIdformint?No
SeatDisplayStringformstringNo
ExternalGateAccessCodeInfo Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
CodeTypeformstringNo
CodeUrlformstringNo
ValidFromformDateTimeNo
ValidToformDateTimeNo
EventDetails Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
NameformstringNo
DescriptionformstringNo
ExternalReferenceformstringNo
TimeOfEventformDateTimeNo
EventLocationIdformint?No
EventSeriesIdformint?No
EventOwnerIdformint?No
EventActiveformboolNo
EventOwnerNameformstringNo
ExternalOwnerIdformstringNo
TeamAwayIdformstringNo
TeamAwayNameformstringNo
EventSeriesNameformstringNo
EventLocationNameformstringNo
LatitudeformdecimalNo
LongitudeformdecimalNo
DefaultValuesformstringNo
ExternalReferenceTypeformstringNo
EventSeriesActiveformbool?No
AllowedKsiCardformstringNo
SeriesIdformstringNo
SeriesShowByDefaultformbool?No
PostponedNoDateformbool?No
AwayTeamExternalIdformstringNo
SportGenderIdformstringNo
ExternalIdTypeformstringNo
SeriesEventSaleSuspendedformbool?No
SeriesSaleSuspensionEventStartDateformDateTime?No
SeriesSaleSuspensionEventEndDateformDateTime?No
SaleIsActiveformbool?No
HideEventformbool?No
ImageUrl2formstringNo
DirectAccessCodeformstringNo
ImageUrlformstringNo
DetailedDescriptionformstringNo
OwnerImageUrlformstringNo
OwnerImageUrl2formstringNo
OwnerCardsNotAllowedformbool?No
SeatingImageUrlformstringNo
EndOfEventformDateTime?No
EndOfEventUTCformDateTime?No
TimeZoneformstringNo
TimeOfEventUTCformDateTime?No

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 /ticketOrder/get HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"phoneVerificationNumber":"String","deviceId":"String","ticketTokenId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ticketAndDetails":{"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":[{}],"eventInfo":{"id":0,"name":"String","description":"String","externalReference":"String","timeOfEvent":"0001-01-01T00:00:00.0000000","eventLocationId":0,"eventSeriesId":0,"eventOwnerId":0,"eventActive":false,"eventOwnerName":"String","externalOwnerId":"String","teamAwayId":"String","teamAwayName":"String","eventSeriesName":"String","eventLocationName":"String","latitude":0,"longitude":0,"defaultValues":"String","externalReferenceType":"String","eventSeriesActive":false,"allowedKsiCard":"String","seriesId":"String","seriesShowByDefault":false,"postponedNoDate":false,"awayTeamExternalId":"String","sportGenderId":"String","externalIdType":"String","seriesEventSaleSuspended":false,"seriesSaleSuspensionEventStartDate":"0001-01-01T00:00:00.0000000","seriesSaleSuspensionEventEndDate":"0001-01-01T00:00:00.0000000","saleIsActive":false,"hideEvent":false,"imageUrl2":"String","directAccessCode":"String","imageUrl":"String","detailedDescription":"String","ownerImageUrl":"String","ownerImageUrl2":"String","ownerCardsNotAllowed":false,"seatingImageUrl":"String","endOfEvent":"0001-01-01T00:00:00.0000000","endOfEventUTC":"0001-01-01T00:00:00.0000000","timeZone":"String","timeOfEventUTC":"0001-01-01T00:00:00.0000000"},"eventIsToday":false,"eventisLive":false,"minutesToEvent":0},"statusCode":0,"message":"String"}