GET /organizations/branches/
Description
Lists branches within organization-id.
Endpoints
GET /organizations/branches/{organization-id}/
Returns id, name and branches for an organization. The returned branches value is either an empty array, or an array of arrays of branches beneath, which can be nested with additional branches.
[
{
"id": "1",
"name": "New Jersey",
"branches": [
{
"id": "11",
"name": "Blackwood",
"branches": [
{
"id": "14",
"name": "Old Office",
"branches": []
},
{
"id": "15",
"name": "New Office",
"branches": []
}
]
},
{
"id": "12",
"name": "Cherry Hill",
"branches": []
},
{
"id": "13",
"name": "Mantua",
"branches": []
}
]
},
{
"id": "2",
"name": "Virginia",
"branches": []
}
]
Description
Lists branches within organization-id.
Endpoints
GET /organizations/branches/{organization-id}/
Returns id, name and branches for an organization. The returned branches value is either an empty array, or an array of arrays of branches beneath, which can be nested with additional branches.
[ { "id": "1", "name": "New Jersey", "branches": [ { "id": "11", "name": "Blackwood", "branches": [ { "id": "14", "name": "Old Office", "branches": [] }, { "id": "15", "name": "New Office", "branches": [] } ] }, { "id": "12", "name": "Cherry Hill", "branches": [] }, { "id": "13", "name": "Mantua", "branches": [] } ] }, { "id": "2", "name": "Virginia", "branches": [] }]