GET api/branch/{id}
Returns the specified Branch
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Branch| Name | Description | Type | Additional information |
|---|---|---|---|
| BranchId |
Sedona internal autonumber for the Branch record |
integer |
None. |
| BranchCode | string |
String length: inclusive between 0 and 25 |
|
| Description | string |
String length: inclusive between 0 and 50 |
|
| Inactive | boolean |
None. |
|
| GLCode | string |
String length: inclusive between 0 and 6 |
Response Formats
application/json, text/json
Sample:
{
"BranchId": 1,
"BranchCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true,
"GLCode": "sample string 5"
}
application/xml, text/xml
Sample:
<Branch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <BranchCode>sample string 2</BranchCode> <BranchId>1</BranchId> <Description>sample string 3</Description> <GLCode>sample string 5</GLCode> <Inactive>true</Inactive> </Branch>