PUT api/WareHouseAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Warehouse
NameDescriptionTypeAdditional information
Id

integer

None.

WareHouseTypeId

integer

None.

SortOrder

integer

None.

Name

string

None.

CompanyId

integer

None.

BranchId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "WareHouseTypeId": 2,
  "SortOrder": 3,
  "Name": "sample string 4",
  "CompanyId": 5,
  "BranchId": 6
}

application/xml, text/xml

Sample:
<Warehouse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models.Inventory">
  <BranchId>6</BranchId>
  <CompanyId>5</CompanyId>
  <Id>1</Id>
  <Name>sample string 4</Name>
  <SortOrder>3</SortOrder>
  <WareHouseTypeId>2</WareHouseTypeId>
</Warehouse>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.