Create Related Inspections

Creates a related (child) inspection for the specified parent inspection.

Resource Information

Scopeinspections

Deprecated scope name:   create_inspection_related

App TypeAgency
Authorization TypeAccess token
URI /v4/inspections/{id}/related?lang={lang}
HTTP MethodPOST
Automation Version(s)7.3.2

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
idstringYes The unique identifier for the object, assigned by the Civic Platform server and provided in a response.7.3.2
langStringNo Indicates the language applied.7.3.2
relatedInspectionIds[]LongYes Get All Inspections Search Inspections An array of inspection IDs to be linked to the parent inspection.7.3.2

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