Creates the approval policy assignment
Changed onCreate a new approval policy assignment.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/approval_policy_assignments
- Authnone declared
Request body
Example request
{
"data": {
"type": "approval_policy_assignments",
"relationships": {
"person": {
"data": {
"type": "people",
"id": "12"
}
},
"approval_policy": {
"data": {
"type": "approval_policies",
"id": "7"
}
}
}
}
}Response
Single approval policy assignment
Example response
{
"data": {
"id": "45",
"type": "approval_policy_assignments",
"attributes": {
"created_at": "2026-01-15T10:00:00.000+00:00"
},
"relationships": {
"person": {
"data": {
"type": "people",
"id": "12"
}
},
"approval_policy": {
"data": {
"type": "approval_policies",
"id": "7"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- warning
added the new
approval_policy_already_assignedenum value to the//response property for the response status - warning
added the new
approval_policy_assignment_busyenum value to the//response property for the response status
- warning