Branch
Return branch information
Released
Updated
| URL | Supports |
|---|---|
{URI}/branch/ | |
| {URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise. | |
Attribute Details
| Attribute | Type | Notes |
|---|---|---|
Name | string,null | |
Code | string,null | |
Rel | string,null | |
Title | string,null | |
Id | string | |
Href | string,null |
Example json GET response
Example
[
{
"name": "SYDNEY",
"code": "SYD",
"id": 0,
"href": "{URI}/branch/0"
},
{
"name": "MELBOURNE",
"code": "MEL",
"id": 1,
"href": "{URI}/branch/1"
},
{
"name": "BRISBANE",
"code": "BRIS",
"id": 2,
"href": "{URI}/branch/2"
},
{
"name": "AUCKLAND",
"code": "AKLD",
"id": 3,
"href": "{URI}/branch/3"
},
{
"name": "FIJI",
"code": "FIJI",
"id": 4,
"href": "{URI}/branch/4"
},
{
"name": "UK",
"code": "UK",
"id": 5,
"href": "{URI}/branch/5"
},
{
"name": "US",
"code": "US",
"id": 6,
"href": "{URI}/branch/6"
}
]{URI} is defined as: http://exo.api.myob.com/