POST API/Checkout/GetAgentDetailsAll
Request Information
URI Parameters
None.
Body Parameters
AgentDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
None. |
|
| UserId | integer |
None. |
|
| Name | string |
None. |
|
| Mode | string |
None. |
|
| TACValue | decimal number |
None. |
|
| TaxInclusive | boolean |
None. |
|
| GSTNumber | string |
None. |
|
| Type | string |
None. |
|
| GuestArray | Collection of GuestArray |
None. |
|
| Id | integer |
None. |
|
| TACInclusive | boolean |
None. |
|
| CheckinId | integer |
None. |
|
| BTC | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"HotelId": 1,
"UserId": 2,
"Name": "sample string 3",
"Mode": "sample string 4",
"TACValue": 5.0,
"TaxInclusive": true,
"GSTNumber": "sample string 7",
"Type": "sample string 8",
"GuestArray": [
{
"CheckInId": "sample string 1"
},
{
"CheckInId": "sample string 1"
}
],
"Id": 9,
"TACInclusive": true,
"CheckinId": 11,
"BTC": true
}
application/xml, text/xml
Sample:
<AgentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<BTC>true</BTC>
<CheckinId>11</CheckinId>
<GSTNumber>sample string 7</GSTNumber>
<GuestArray>
<GuestArray>
<CheckInId>sample string 1</CheckInId>
</GuestArray>
<GuestArray>
<CheckInId>sample string 1</CheckInId>
</GuestArray>
</GuestArray>
<HotelId>1</HotelId>
<Id>9</Id>
<Mode>sample string 4</Mode>
<Name>sample string 3</Name>
<TACInclusive>true</TACInclusive>
<TACValue>5</TACValue>
<TaxInclusive>true</TaxInclusive>
<Type>sample string 8</Type>
<UserId>2</UserId>
</AgentDetails>
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.