POST api/DerbySoftHotelData/SaveAllHotelData
Request Information
URI Parameters
None.
Body Parameters
CommonData| Name | Description | Type | Additional information |
|---|---|---|---|
| IsB2B | integer |
None. |
|
| token | string |
None. |
|
| APIName | string |
None. |
|
| Payload | Object |
None. |
|
| type | string |
None. |
|
| TokenData | TokenData |
None. |
|
| HotelRoomSearch | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"IsB2B": 1,
"token": "sample string 2",
"APIName": "sample string 3",
"Payload": {},
"type": "sample string 5",
"TokenData": {
"AgentId": 1,
"RateCategoryId": 2,
"URL": "sample string 3",
"ParentId": 4,
"Type": "sample string 5",
"SubUserId": 6,
"IsHotel": 7,
"HotelSupplier": "sample string 8",
"WhiteLableUrl": "sample string 9"
},
"HotelRoomSearch": {}
}
application/xml, text/xml
Sample:
<CommonData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DerbySoftAPI.Models.DerbySoft">
<APIName>sample string 3</APIName>
<HotelRoomSearch />
<IsB2B>1</IsB2B>
<Payload />
<TokenData>
<AgentId>1</AgentId>
<HotelSupplier>sample string 8</HotelSupplier>
<IsHotel>7</IsHotel>
<ParentId>4</ParentId>
<RateCategoryId>2</RateCategoryId>
<SubUserId>6</SubUserId>
<Type>sample string 5</Type>
<URL>sample string 3</URL>
<WhiteLableUrl>sample string 9</WhiteLableUrl>
</TokenData>
<token>sample string 2</token>
<type>sample string 5</type>
</CommonData>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |