POST api/ITBUMTransactions/Create
Request Information
URI Parameters
None.
Body Parameters
ITBUMTransactionBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 |
|
| BookingPrice | decimal number |
None. |
|
| Hotels | Collection of ITBUMHotelItem |
None. |
|
| Transportations | Collection of ITBUMTransportationItem |
None. |
Request Formats
application/json, text/json
{
"IdentityNumber": "sample string 1",
"CustomerAddress": "sample string 2",
"EmailAddress": "sample string 3",
"CollegeStartYear": 4,
"Fullname": "sample string 5",
"TelephoneNumber": "sample string 6",
"Major": "sample string 7",
"BookingPrice": 8.0,
"Hotels": [
{
"Destination": 0,
"Name": "sample string 1",
"CheckInDate": "2025-12-13T23:25:04.7871795+00:00",
"CheckOutDate": "2025-12-13T23:25:04.7871795+00:00",
"TotalRooms": 4,
"TotalNights": 5,
"UnitPrice": 6.0,
"TotalPrices": 7.0,
"ReferenceId": "sample string 8"
},
{
"Destination": 0,
"Name": "sample string 1",
"CheckInDate": "2025-12-13T23:25:04.7871795+00:00",
"CheckOutDate": "2025-12-13T23:25:04.7871795+00:00",
"TotalRooms": 4,
"TotalNights": 5,
"UnitPrice": 6.0,
"TotalPrices": 7.0,
"ReferenceId": "sample string 8"
}
],
"Transportations": [
{
"Name": "sample string 1",
"Capacity": "sample string 2",
"TotalSeats": 3,
"UnitPrice": 4.0,
"TotalPrices": 5.0,
"ReferenceId": "sample string 6"
},
{
"Name": "sample string 1",
"Capacity": "sample string 2",
"TotalSeats": 3,
"UnitPrice": 4.0,
"TotalPrices": 5.0,
"ReferenceId": "sample string 6"
}
]
}
application/xml, text/xml
<ITBUMTransactionBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
<BookingPrice>8</BookingPrice>
<CollegeStartYear>4</CollegeStartYear>
<CustomerAddress>sample string 2</CustomerAddress>
<EmailAddress>sample string 3</EmailAddress>
<Fullname>sample string 5</Fullname>
<Hotels>
<ITBUMHotelItem>
<CheckInDate>2025-12-13T23:25:04.7871795+00:00</CheckInDate>
<CheckOutDate>2025-12-13T23:25:04.7871795+00:00</CheckOutDate>
<Destination>Not_set</Destination>
<Name>sample string 1</Name>
<ReferenceId>sample string 8</ReferenceId>
<TotalNights>5</TotalNights>
<TotalPrices>7</TotalPrices>
<TotalRooms>4</TotalRooms>
<UnitPrice>6</UnitPrice>
</ITBUMHotelItem>
<ITBUMHotelItem>
<CheckInDate>2025-12-13T23:25:04.7871795+00:00</CheckInDate>
<CheckOutDate>2025-12-13T23:25:04.7871795+00:00</CheckOutDate>
<Destination>Not_set</Destination>
<Name>sample string 1</Name>
<ReferenceId>sample string 8</ReferenceId>
<TotalNights>5</TotalNights>
<TotalPrices>7</TotalPrices>
<TotalRooms>4</TotalRooms>
<UnitPrice>6</UnitPrice>
</ITBUMHotelItem>
</Hotels>
<IdentityNumber>sample string 1</IdentityNumber>
<Major>sample string 7</Major>
<TelephoneNumber>sample string 6</TelephoneNumber>
<Transportations>
<ITBUMTransportationItem>
<Capacity>sample string 2</Capacity>
<Name>sample string 1</Name>
<ReferenceId>sample string 6</ReferenceId>
<TotalPrices>5</TotalPrices>
<TotalSeats>3</TotalSeats>
<UnitPrice>4</UnitPrice>
</ITBUMTransportationItem>
<ITBUMTransportationItem>
<Capacity>sample string 2</Capacity>
<Name>sample string 1</Name>
<ReferenceId>sample string 6</ReferenceId>
<TotalPrices>5</TotalPrices>
<TotalSeats>3</TotalSeats>
<UnitPrice>4</UnitPrice>
</ITBUMTransportationItem>
</Transportations>
</ITBUMTransactionBindingModel>
application/x-www-form-urlencoded
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 not available.