GET api/Branch/GetAllBranches
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Branch| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchCode | integer |
None. |
|
| BranchName | string |
String length: inclusive between 0 and 100 |
|
| Address | string |
String length: inclusive between 0 and 1500 |
Response Formats
application/json, text/json
Sample:
[
{
"BranchCode": 1,
"BranchName": "sample string 2",
"Address": "sample string 3"
},
{
"BranchCode": 1,
"BranchName": "sample string 2",
"Address": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPAPIV1.Models">
<Branch>
<Address>sample string 3</Address>
<BranchCode>1</BranchCode>
<BranchName>sample string 2</BranchName>
</Branch>
<Branch>
<Address>sample string 3</Address>
<BranchCode>1</BranchCode>
<BranchName>sample string 2</BranchName>
</Branch>
</ArrayOfBranch>