Assign Inspections

Assigns an inspector to the specified inspection.

Resource Information

Scopeinspections

Deprecated scope name:   assign_inspections

App TypeAgency
Authorization TypeAccess token
URI /v4/inspections/{ids}/assign?lang={lang}&inspectorId={inspectorId}
HTTP MethodPUT
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
idsstringYes One or multiple identifiers separated by a comma like id1,id2,id3.7.3.2
inspectorIdstringYes The ID number of the inspector.7.3.2
langStringNo Indicates the language applied.7.3.2

Example

Sample Request Head

PUT https://apis.accela.com/v4/inspections/6161316/assign?inspectorId=MINSPECTOR

Notes

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

Response Information

FieldTypeDescriptionAutomation Version
result[]result{} 7.3.2
result.codestringA code identifying an associated item7.3.2
result.idstringThe unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
result.isSuccessbooleanIndicates whether or not the operation on the item is successful. 7.3.2
result.messagestringA text message related to the operation.7.3.2
statusintegerThe record status.7.3.3

Example

Sample Response Body

{
  "status": 200,
  "result": [
    {
      "id": 6161316
    }
  ]
}