| POST | /selfService/transferTicket/quote | Price difference and eligibility for a prospective buyer-initiated exchange |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TicketTokenId | body | string | No | |
| BuyerPhone | body | string | No | |
| ToEventId | body | int | No | |
| ToOwnerTicketTypeId | body | int? | No | |
| ToSeriesTicketTypeId | body | int? | No | |
| ToSeatId | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Direction | form | string | No | |
| PriceDifference | form | decimal | No | |
| SourceTicketPrice | form | decimal | No | |
| TargetTicketPrice | form | decimal | No | |
| SourceEventId | form | int | No | |
| SourceEventName | form | string | No | |
| SourceEventTimeOfEvent | form | DateTime? | No | |
| ToEventId | form | int | No | |
| ToEventName | form | string | No | |
| ToEventTimeOfEvent | form | DateTime? | No | |
| ToTicketTypeName | form | string | No | |
| TargetIsSeated | form | bool | No | |
| ToSeatId | form | int? | No | |
| AssignedSeatId | form | int? | No | |
| AssignedSeatLabel | form | string | No | |
| TicketsLeft | form | int? | No | |
| SaleStatus | form | string | No | |
| ExpectedPriceDifference | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| StatusCode | form | int | No | |
| Code | form | string | No | |
| Message | form | string | 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 /selfService/transferTicket/quote HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"ticketTokenId":"String","buyerPhone":"String","toEventId":0,"toOwnerTicketTypeId":0,"toSeriesTicketTypeId":0,"toSeatId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"direction":"String","priceDifference":0,"sourceTicketPrice":0,"targetTicketPrice":0,"sourceEventId":0,"sourceEventName":"String","sourceEventTimeOfEvent":"0001-01-01T00:00:00.0000000","toEventId":0,"toEventName":"String","toEventTimeOfEvent":"0001-01-01T00:00:00.0000000","toTicketTypeName":"String","targetIsSeated":false,"toSeatId":0,"assignedSeatId":0,"assignedSeatLabel":"String","ticketsLeft":0,"saleStatus":"String","expectedPriceDifference":0,"ok":false,"statusCode":0,"code":"String","message":"String"}