POST api/BranchAPI
Request Information
URI Parameters
None.
Body Parameters
Branch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| NameEnglish | string |
None. |
|
| NameNepali | string |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"NameEnglish": "sample string 2",
"NameNepali": "sample string 3",
"CompanyId": 4
}
application/xml, text/xml
Sample:
<Branch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DCubeHotelDomain.Models"> <CompanyId>4</CompanyId> <Id>1</Id> <NameEnglish>sample string 2</NameEnglish> <NameNepali>sample string 3</NameNepali> </Branch>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |