List Locations
accounts/{id}/locations
Get Locations [GET]
A list of all locations within an account.
Authorization: Admin, Web, Mobile, Portal
Parameters
- includeAreasCount =
false(optional, boolean,includeAreasCount=true) ... Whether to include a count of areas in location. - includeFoldersCount =
false(optional, boolean,includeFoldersCount =true) ... Whether to include a count of folders in the location. - includeAssetsCount =
false(optional, boolean,includeAssetsCount =true) ... Whether to include the number of assets in the location.
Response 200
Body
{
"page": 1,
"pages": 1,
"count": 1,
"items": [{
"id": 34990,
"guid": "d5a94b78-ba2e-4c96-80b3-6942fbda1c1a",
"accountId": 19398,
"num": "DAP",
"name": "Dallas Area Plant",
"address": "",
"city": "",
"state": "",
"zip": "",
"country": "",
"rowStatus": 1,
"createdAt": "2014-10-09T19:24:50.000Z",
"createdBy": {
"id": 1000,
"firstName": "Jason",
"lastName": "Shehane"
},
"modifiedAt": "2015-03-18T20:04:30.490Z",
"areasCount": 1,
"foldersCount": 1,
"assetsCount": 1
}]
}