POST api/Inventory/UpdateInventory
Documentation for 'UpdateInventory'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| req | Documentation for 'req'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Header": {
"Username": "sample string 1",
"Password": "sample string 2"
},
"HotelId": "sample string 1",
"RoomTypeId": "sample string 2",
"InfoDays": "sample string 3"
}
application/xml, text/xml
Sample:
<InventroyReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models.Inventory">
<Header>
<Password>sample string 2</Password>
<Username>sample string 1</Username>
</Header>
<HotelId>sample string 1</HotelId>
<InfoDays>sample string 3</InfoDays>
<RoomTypeId>sample string 2</RoomTypeId>
</InventroyReq>
application/x-www-form-urlencoded
Sample: