POST Branches/AddBranches
Request Information
URI Parameters
None.
Body Parameters
BranchesDataContext| Name | Description | Type | Additional information |
|---|---|---|---|
| branchId | integer |
None. |
|
| branchName | string |
None. |
|
| branchArchiveStatus | boolean |
None. |
|
| statusWithAll | boolean |
None. |
|
| page | integer |
None. |
|
| filterStatus | boolean |
None. |
|
| textSearch | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"branchId": 1,
"branchName": "sample string 2",
"branchArchiveStatus": true,
"statusWithAll": true,
"page": 5,
"filterStatus": true,
"textSearch": "sample string 7"
}
application/xml, text/xml
Sample:
<BranchesDataContext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartMeter_Installation.Models.Branches"> <branchArchiveStatus>true</branchArchiveStatus> <branchId>1</branchId> <branchName>sample string 2</branchName> <filterStatus>true</filterStatus> <page>5</page> <statusWithAll>true</statusWithAll> <textSearch>sample string 7</textSearch> </BranchesDataContext>
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. |