POST api/BranchMaster/AddBranch
Request Information
URI Parameters
None.
Body Parameters
Branch| Name | Description | Type | Additional 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:
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. |