GET api/branch
Returns all Branches
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BranchName | 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" }, { "BranchId": 1, "BranchCode": "sample string 2", "Description": "sample string 3", "Inactive": true, "GLCode": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfBranch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <Branch> <BranchCode>sample string 2</BranchCode> <BranchId>1</BranchId> <Description>sample string 3</Description> <GLCode>sample string 5</GLCode> <Inactive>true</Inactive> </Branch> <Branch> <BranchCode>sample string 2</BranchCode> <BranchId>1</BranchId> <Description>sample string 3</Description> <GLCode>sample string 5</GLCode> <Inactive>true</Inactive> </Branch> </ArrayOfBranch>