Gets a list of inspectors in the agency database.
Scope | inspections Deprecated scope name: get_inspectors |
App Type | Agency |
Authorization Type | Access token |
URI | /v4/inspectors?lang={lang}&department={department} |
HTTP Method | GET |
Automation Version(s) | 7.3.2 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
department | string | No | Get All Departments | The name of the department where the inspector works. | 7.3.2 |
lang | String | No | � | Indicates the language applied. | 7.3.2 |
GET https://apis.accela.com/v4/inspectors?department=ISLANDTON/BUILDING/NA/NA/NA/NA/NA
The following sample request uses the ISLANDTON agency in the TEST environment on the Accela Developer Sandbox. Click the "Send to Hurl.It" link below to submit the sample request. Replace YOUR-ACCESS-TOKEN before submitting the request.
curl -H 'Content-type: application/json' -H 'Accept: application/json' -H 'Authorization: YOUR-ACCESS-TOKEN' -X GET https://apis.accela.com/v4/inspectors?department=ISLANDTON/BUILDING/NA/NA/NA/NA/NA
Field | Type | Description | Automation Version |
---|---|---|---|
result | result{} | � | 7.3.2 |
result.department | result.department{} | The name of the department where the inspector works. | 7.3.2 |
result.department.text | string | The localized display text. | 7.3.2 |
result.department.value | string | The value for the specified parameter. | 7.3.2 |
result.firstName | string | The contact's first name. This field is only active when the Contact Type selected is Individual. | 7.3.2 |
result.id | string | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.2 |
result.lastName | string | The last name (surname). | 7.3.2 |
result.middleName | string | The middle name. | 7.3.2 |
status | integer | The record status. | 7.3.3 |
{ "status": 200, "result": [ { "firstName": "Mobile", "lastName": "Inspector", "id": "MINSPECTOR", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Building", "lastName": "Admin", "id": "BUILDADMIN", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Building", "lastName": "Inspector", "id": "BINSPECTOR", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Building", "lastName": "Daily", "id": "BUILDDAILY", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Brad", "lastName": "Islandton", "id": "BRADP", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Mobile", "lastName": "Developer", "id": "MDEVELOPER", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "id": "RCAREL", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Wesley", "middleName": "A", "lastName": "Ruiz", "id": "WRUIZ", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "R", "lastName": "Mok", "id": "RMOK", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Chuck", "lastName": "Spink", "id": "CSPINK", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } }, { "firstName": "Jeff", "lastName": "Roberts", "id": "JEFFR", "department": { "value": "ISLANDTON/BUILDING/NA/NA/NA/NA/NA", "text": "Building" } } ] }