POST api/channelmanager/aiosellreceivedata
Request Information
URI Parameters
None.
Body Parameters
Booking| Name | Description | Type | Additional information |
|---|---|---|---|
| action | string |
None. |
|
| BookingId | string |
None. |
|
| HotelCode | string |
None. |
|
| Channel | string |
None. |
|
| BookedOn | date |
None. |
|
| Checkin | date |
None. |
|
| Checkout | date |
None. |
|
| Segment | string |
None. |
|
| specialRequests | string |
None. |
|
| Pah | boolean |
None. |
|
| Amount | Amount |
None. |
|
| Guest | Guest |
None. |
|
| Rooms | Collection of Room |
None. |
Request Formats
application/json, text/json
Sample:
{
"action": "sample string 1",
"BookingId": "sample string 2",
"HotelCode": "sample string 3",
"Channel": "sample string 4",
"BookedOn": "2025-12-06T09:51:41.3102067+05:30",
"Checkin": "2025-12-06T09:51:41.3102067+05:30",
"Checkout": "2025-12-06T09:51:41.3102067+05:30",
"Segment": "sample string 8",
"specialRequests": "sample string 9",
"Pah": true,
"Amount": {
"AmountAfterTax": 1.0,
"AmountBeforeTax": 2.0,
"Tax": 3.0,
"currency": "sample string 4"
},
"Guest": {
"firstName": "sample string 1",
"lastName": "sample string 2",
"email": "sample string 3",
"phone": "sample string 4",
"Address": {
"line1": "sample string 1",
"city": "sample string 2",
"state": "sample string 3",
"country": "sample string 4",
"zipCode": "sample string 5"
}
},
"Rooms": [
{
"RoomCode": "sample string 1",
"RateplanCode": "sample string 2",
"GuestName": "sample string 3",
"Occupancy": {
"Adults": 1,
"Children": 2
},
"Prices": [
{
"Date": "2025-12-06T09:51:41.3102067+05:30",
"SellRate": 2.0
},
{
"Date": "2025-12-06T09:51:41.3102067+05:30",
"SellRate": 2.0
}
]
},
{
"RoomCode": "sample string 1",
"RateplanCode": "sample string 2",
"GuestName": "sample string 3",
"Occupancy": {
"Adults": 1,
"Children": 2
},
"Prices": [
{
"Date": "2025-12-06T09:51:41.3102067+05:30",
"SellRate": 2.0
},
{
"Date": "2025-12-06T09:51:41.3102067+05:30",
"SellRate": 2.0
}
]
}
]
}
application/xml, text/xml
Sample:
<ChannelManagerController.Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiWeb">
<Amount>
<AmountAfterTax>1</AmountAfterTax>
<AmountBeforeTax>2</AmountBeforeTax>
<Tax>3</Tax>
<currency>sample string 4</currency>
</Amount>
<BookedOn>2025-12-06T09:51:41.3102067+05:30</BookedOn>
<BookingId>sample string 2</BookingId>
<Channel>sample string 4</Channel>
<Checkin>2025-12-06T09:51:41.3102067+05:30</Checkin>
<Checkout>2025-12-06T09:51:41.3102067+05:30</Checkout>
<Guest>
<Address>
<city>sample string 2</city>
<country>sample string 4</country>
<line1>sample string 1</line1>
<state>sample string 3</state>
<zipCode>sample string 5</zipCode>
</Address>
<email>sample string 3</email>
<firstName>sample string 1</firstName>
<lastName>sample string 2</lastName>
<phone>sample string 4</phone>
</Guest>
<HotelCode>sample string 3</HotelCode>
<Pah>true</Pah>
<Rooms>
<ChannelManagerController.Room>
<GuestName>sample string 3</GuestName>
<Occupancy>
<Adults>1</Adults>
<Children>2</Children>
</Occupancy>
<Prices>
<ChannelManagerController.Price>
<Date>2025-12-06T09:51:41.3102067+05:30</Date>
<SellRate>2</SellRate>
</ChannelManagerController.Price>
<ChannelManagerController.Price>
<Date>2025-12-06T09:51:41.3102067+05:30</Date>
<SellRate>2</SellRate>
</ChannelManagerController.Price>
</Prices>
<RateplanCode>sample string 2</RateplanCode>
<RoomCode>sample string 1</RoomCode>
</ChannelManagerController.Room>
<ChannelManagerController.Room>
<GuestName>sample string 3</GuestName>
<Occupancy>
<Adults>1</Adults>
<Children>2</Children>
</Occupancy>
<Prices>
<ChannelManagerController.Price>
<Date>2025-12-06T09:51:41.3102067+05:30</Date>
<SellRate>2</SellRate>
</ChannelManagerController.Price>
<ChannelManagerController.Price>
<Date>2025-12-06T09:51:41.3102067+05:30</Date>
<SellRate>2</SellRate>
</ChannelManagerController.Price>
</Prices>
<RateplanCode>sample string 2</RateplanCode>
<RoomCode>sample string 1</RoomCode>
</ChannelManagerController.Room>
</Rooms>
<Segment>sample string 8</Segment>
<action>sample string 1</action>
<specialRequests>sample string 9</specialRequests>
</ChannelManagerController.Booking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.