POST api/ITBUMTransactions/Cancel
Request Information
URI Parameters
None.
Body Parameters
CancelByCustomerITBUMTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingCode | string |
Required String length: inclusive between 0 and 10 |
|
| Fullname | string |
Required String length: inclusive between 0 and 255 |
|
| CancellationReason | string |
Required String length: inclusive between 0 and 1024 |
Request Formats
application/json, text/json
Sample:
{
"BookingCode": "sample string 1",
"Fullname": "sample string 2",
"CancellationReason": "sample string 3"
}
application/xml, text/xml
Sample:
<CancelByCustomerITBUMTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <BookingCode>sample string 1</BookingCode> <CancellationReason>sample string 3</CancellationReason> <Fullname>sample string 2</Fullname> </CancelByCustomerITBUMTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ITBUMTransactionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingCode | string |
Required |
|
| Status | string |
String length: inclusive between 0 and 10 |
|
| IdentityNumber | string |
Required String length: inclusive between 0 and 20 |
|
| CustomerAddress | string |
String length: inclusive between 0 and 2048 |
|
| EmailAddress | string |
Required Data type: EmailAddress |
|
| CollegeStartYear | integer |
Range: inclusive between 0 and 2147483647 |
|
| Fullname | string |
Required String length: inclusive between 0 and 255 |
|
| TelephoneNumber | string |
Required String length: inclusive between 0 and 32 |
|
| Major | string |
String length: inclusive between 0 and 50 |
|
| CreatedDate | date |
Required |
|
| BookingPrice | decimal number |
None. |
|
| CancellationReason | string |
String length: inclusive between 0 and 1024 |
|
| Hotels | Collection of ITBUMHotelItemViewModel |
None. |
|
| Transportations | Collection of ITBUMTransportationItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.