| POST | /selfService/transferTicket/targetTicketTypes | Ticket types on the target event a buyer may exchange into, with per-option price difference and blocking reason |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TicketTokenId | body | string | No | |
| BuyerPhone | body | string | No | |
| ToEventId | body | int | No | |
| SectionId | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SourceTicketPrice | form | decimal | No | |
| SourceTicketTypeName | form | string | No | |
| ToEventId | form | int | No | |
| TargetIsSeated | form | bool | No | |
| Options | form | List<SelfServiceTargetTicketTypeOption> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| StatusCode | form | int | No | |
| Code | form | string | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OwnerTicketTypeId | form | int? | No | |
| SeriesTicketTypeId | form | int? | No | |
| Name | form | string | No | |
| Price | form | decimal | No | |
| Direction | form | string | No | |
| PriceDifference | form | decimal | No | |
| NameMatchesSource | form | bool | No | |
| Selectable | form | bool | No | |
| BlockedReason | form | string | No | |
| BlockedMessage | form | string | No | |
| MaxTickets | form | int? | No | |
| TicketsSold | form | int? | No | |
| TicketsLeft | form | int? | No | |
| SaleStatus | form | string | No | |
| SaleStartsUTC | form | DateTime? | No | |
| SaleEndsUTC | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /selfService/transferTicket/targetTicketTypes HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ticketTokenId: String,
buyerPhone: String,
toEventId: 0,
sectionId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
sourceTicketPrice: 0,
sourceTicketTypeName: String,
toEventId: 0,
targetIsSeated: False,
options:
[
{
ownerTicketTypeId: 0,
seriesTicketTypeId: 0,
name: String,
price: 0,
direction: String,
priceDifference: 0,
nameMatchesSource: False,
selectable: False,
blockedReason: String,
blockedMessage: String,
maxTickets: 0,
ticketsSold: 0,
ticketsLeft: 0,
saleStatus: String,
saleStartsUTC: 0001-01-01,
saleEndsUTC: 0001-01-01
}
],
ok: False,
statusCode: 0,
code: String,
message: String
}