POST api/ticket/cancel
Request Information
URI Parameters
None.
Body Parameters
CancelTicketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TicketId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ticketId": "41929ba0-43a7-4ea8-96c8-8b91e1bbaba8"
}
application/octet-stream
Sample:
{"ticketId":"41929ba0-43a7-4ea8-96c8-8b91e1bbaba8"}
application/xml, text/xml
Sample:
<CancelTicketRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Event.Request"> <TicketId>41929ba0-43a7-4ea8-96c8-8b91e1bbaba8</TicketId> </CancelTicketRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": true,
"message": "sample string 2"
}
application/octet-stream
Sample:
{"data":true,"message":"sample string 2"}
application/xml, text/xml
Sample:
<ResponseResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Global.Response"> <Data>true</Data> <Message>sample string 2</Message> </ResponseResultOfboolean>