Adds or links work orders to a given condition assessment.
| Scope | assessments |
| App Type | Agency |
| Authorization Type | Access token |
| URI | /v4/assessments/{id}/workorders?lang={lang} |
| HTTP Method | POST |
| Automation Version(s) | 9.0.0 |
| Field or Parameter | Type | Required | Values | Description | Automation Version |
|---|---|---|---|---|---|
| id | string | No | Search Assessment | The unique identifier of the assessment, assigned by the Civic Platform server. | 9.0.0 |
| lang | String | No | Indicates the language applied. | 9.0.0 | |
| relatedRecordIds[] | string | No | Get All Records Search Records Get My Records | An array of work order record IDs to be linked to the assessment. | 9.0.0 |
| Field | Type | Description | Automation Version |
|---|---|---|---|
| result[] | result{} | 9.0.0 | |
| result.code | string | A code identifying an associated item | 9.0.0 |
| result.id | string | The added work order's Civic Platform id. | 9.0.0 |
| result.isSuccess | boolean | Indicates whether or not the operation on the item is successful. | 9.0.0 |
| result.message | string | A text message related to the operation. | 9.0.0 |
| status | integer | The request status. | 9.0.0 |