POST API/RegistryController/Update
Request Information
URI Parameters
None.
Body Parameters
RegistryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
None. |
|
| ChkOutId | integer |
None. |
|
| UsrId | integer |
None. |
|
| Selected | boolean |
None. |
|
| ChkOutNo | integer |
None. |
|
| GuestName | string |
None. |
|
| PaymentMode | string |
None. |
|
| NetAmount | string |
None. |
|
| ChkOutIds | Collection of ChkOutIds |
None. |
Request Formats
application/json, text/json
Sample:
{
"HotelId": 1,
"ChkOutId": 2,
"UsrId": 3,
"Selected": true,
"ChkOutNo": 5,
"GuestName": "sample string 6",
"PaymentMode": "sample string 7",
"NetAmount": "sample string 8",
"ChkOutIds": [
{
"ChkOutId": 1
},
{
"ChkOutId": 1
}
]
}
application/xml, text/xml
Sample:
<RegistryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<ChkOutId>2</ChkOutId>
<ChkOutIds>
<ChkOutIds>
<ChkOutId>1</ChkOutId>
</ChkOutIds>
<ChkOutIds>
<ChkOutId>1</ChkOutId>
</ChkOutIds>
</ChkOutIds>
<ChkOutNo>5</ChkOutNo>
<GuestName>sample string 6</GuestName>
<HotelId>1</HotelId>
<NetAmount>sample string 8</NetAmount>
<PaymentMode>sample string 7</PaymentMode>
<Selected>true</Selected>
<UsrId>3</UsrId>
</RegistryModel>
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.