Assigns an inspector to the specified inspection.
Scope | inspections Deprecated scope name: assign_inspections |
App Type | Agency |
Authorization Type | Access token |
URI | /v4/inspections/{ids}/assign?lang={lang}&inspectorId={inspectorId} |
HTTP Method | PUT |
Automation Version(s) | 7.3.2 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
ids | string | Yes | � | One or multiple identifiers separated by a comma like id1,id2,id3. | 7.3.2 |
inspectorId | string | Yes | � | The ID number of the inspector. | 7.3.2 |
lang | String | No | � | Indicates the language applied. | 7.3.2 |
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 PUT https://apis.accela.com/v4/inspections/6161316/assign?inspectorId=MINSPECTOR
Field | Type | Description | Automation Version |
---|---|---|---|
result[] | result{} | � | 7.3.2 |
result.code | string | A code identifying an associated item | 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.isSuccess | boolean | Indicates whether or not the operation on the item is successful. | 7.3.2 |
result.message | string | A text message related to the operation. | 7.3.2 |
status | integer | The record status. | 7.3.3 |