Auditmark

Get location

GET
/locations/{location_id}

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

location_id*Location Id

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/locations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "client_account_id": "219adf14-412b-4051-82f8-967a3418e740",  "client_account_name": "string",  "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",  "parent_name": "string",  "name": "string",  "kind": "string",  "address": "string",  "source": "string",  "external_provider": "string",  "external_synced_at": "2019-08-24T14:15:22Z",  "active": true,  "updated_at": "2019-08-24T14:15:22Z",  "templates": [    {      "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",      "name": "string",      "pinned": true    }  ],  "template_count": 0,  "assigned_family_ids": [    "e52fbb48-0eb1-457c-88a1-df870f42d6e3"  ],  "pinned_family_id": "2c1659d4-a186-4215-a989-54d65250ec62",  "report_contacts": [    {      "name": "string",      "role": "string",      "email": "string",      "phone": "string"    }  ],  "latitude": 0,  "longitude": 0,  "attributes": {},  "external_id": "string",  "external_raw": {},  "contacts": [    "string"  ],  "children": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "kind": "string"    }  ],  "overview": {    "inspections": 0,    "last_completed_at": "string",    "last_score": 0,    "actions": [      {        "status": "string",        "total": 0,        "overdue": 0      }    ]  }}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}