POST api/BranchAPI

Request Information

URI Parameters

None.

Body Parameters

Branch
NameDescriptionTypeAdditional information
Id

integer

None.

NameEnglish

string

None.

NameNepali

string

None.

CompanyId

integer

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NameEnglish": "sample string 2",
  "NameNepali": "sample string 3",
  "CompanyId": 4,
  "Phone": "sample string 5"
}

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>
  <Phone>sample string 5</Phone>
</Branch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

None.