POST api/BranchMaster/AddBranch

Request Information

URI Parameters

None.

Body Parameters

Branch
NameDescriptionTypeAdditional information
BranchId

integer

None.

CompId

integer

None.

BranchName

string

None.

BranchContactNo

string

None.

BranchAddress

string

None.

BranchCode

string

None.

OperationType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "CompId": 2,
  "BranchName": "sample string 3",
  "BranchContactNo": "sample string 4",
  "BranchAddress": "sample string 5",
  "BranchCode": "sample string 6",
  "OperationType": "sample string 7"
}

application/xml, text/xml

Sample:
<Branch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models">
  <BranchAddress>sample string 5</BranchAddress>
  <BranchCode>sample string 6</BranchCode>
  <BranchContactNo>sample string 4</BranchContactNo>
  <BranchId>1</BranchId>
  <BranchName>sample string 3</BranchName>
  <CompId>2</CompId>
  <OperationType>sample string 7</OperationType>
</Branch>

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 'Branch'.

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.