Add an assignment to an event. Requires events.update permission.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier of the record |
Request body
Required.
application/json
equipmentIdstring (uuid)userIdstring (uuid)
{
"equipmentId": "string",
"userId": "string"
}
Responses
| Status | Description |
|---|---|
| 201 | Assignment created |
| 403 | Forbidden |
| 404 | Not found |
| 422 | Validation error |