Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
GET POST | /ticketSplit/{TicketTokenId} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketId | body | int | No | |
TicketTokenId | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StatusCode | form | int | No | |
Success | form | bool | No | |
Message | form | string | No | |
Result | form | List<Ticket> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
UserId | form | int? | No | |
UserAuthId | form | int? | No | |
EventId | form | int | No | |
TimestampBought | form | DateTime | No | |
TimestampActivated | form | DateTime | No | |
TimeStampOrdered | form | DateTime | No | |
DeviceId | form | string | No | |
PhoneVerificationId | form | int | No | |
PaymentMethodId | form | string | No | |
PaymentReference | form | string | No | |
TicketStatus | form | string | No | |
PhoneVerificationNumber | form | string | No | |
TicketTokenId | form | string | No | |
PaymentPhoneNumber | form | string | No | |
TicketTransferredFrom | form | int? | No | |
OriginalPhoneVerificationNumber | form | string | No | |
TeamPassId | form | int? | No | |
PaymentId | form | string | No | |
IsFree | form | bool? | No | |
FreeTicketFromId | form | string | No | |
FreeTicketFromTypeId | form | string | No | |
FreeTicketCardTypeId | form | string | No | |
FreeTicketCardId | form | int? | No | |
TotalPaidForTicket | form | decimal? | No | |
SeatsReservationId | form | string | No | |
TimeStampLastStatusChange | form | DateTime? | No | |
LastTicketStatus | form | string | No | |
ScanCode | form | string | No | |
ScanCodeType | form | string | No | |
ScanCodeNotActive | form | bool? | No | |
MultipleScanCodes | form | bool? | No | |
Currency | form | string | No | |
TicketHasExpired | form | bool | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ticketSplit/{TicketTokenId} HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ticketId":0,"ticketTokenId":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"statusCode":0,"success":false,"message":"String","result":[{"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}]}