POST api/Branches/Save

Request Information

URI Parameters

None.

Body Parameters

Branches
NameDescriptionTypeAdditional information
CompanyId

integer

None.

Id

integer

None.

OrganizationId

integer

None.

BranchAddress

string

None.

BranchCode

string

None.

BranchContactPerson

string

None.

BranchEmailA

string

None.

BranchEmailB

string

None.

BranchLogo

string

None.

BranchMobileA

string

None.

BranchMobileB

string

None.

BranchMobileC

string

None.

BranchName

string

None.

BranchReportingTitle

string

None.

BranchTel

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "Id": 2,
  "OrganizationId": 3,
  "BranchAddress": "sample string 4",
  "BranchCode": "sample string 5",
  "BranchContactPerson": "sample string 6",
  "BranchEmailA": "sample string 7",
  "BranchEmailB": "sample string 8",
  "BranchLogo": "sample string 9",
  "BranchMobileA": "sample string 10",
  "BranchMobileB": "sample string 11",
  "BranchMobileC": "sample string 12",
  "BranchName": "sample string 13",
  "BranchReportingTitle": "sample string 14",
  "BranchTel": "sample string 15"
}

application/xml, text/xml

Sample:
<Branches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <BranchAddress>sample string 4</BranchAddress>
  <BranchCode>sample string 5</BranchCode>
  <BranchContactPerson>sample string 6</BranchContactPerson>
  <BranchEmailA>sample string 7</BranchEmailA>
  <BranchEmailB>sample string 8</BranchEmailB>
  <BranchLogo>sample string 9</BranchLogo>
  <BranchMobileA>sample string 10</BranchMobileA>
  <BranchMobileB>sample string 11</BranchMobileB>
  <BranchMobileC>sample string 12</BranchMobileC>
  <BranchName>sample string 13</BranchName>
  <BranchReportingTitle>sample string 14</BranchReportingTitle>
  <BranchTel>sample string 15</BranchTel>
  <CompanyId>1</CompanyId>
  <Id>2</Id>
  <OrganizationId>3</OrganizationId>
</Branches>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Branches'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.