Approval Workflow
Get approval workflows
Changed onList approval workflows, optionally filtered by approval policy, absence category or ID.
get/api/v2/approval_workflows
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_workflows
- Authnone declared
Query parameters
Filter parameter for querying approval workflows.
{
"0": {
"approval_policy_id": {
"eq": "7"
}
},
"1": {
"event_id": {
"eq": "12"
}
},
"$op": "and"
}sortstring[]
Sort parameter for approval workflows.
Response
Collection of approval workflows
Example response
{
"data": [
{
"id": "169435",
"type": "approval_workflows",
"attributes": {
"approval_requirement_id": 3,
"target_type_id": 2,
"dynamic_approver_ids": [
"2"
],
"dynamic_subscriber_ids": []
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "109"
}
},
"event": {
"data": null
},
"approval_policy": {
"data": {
"type": "approval_policies",
"id": "7"
}
},
"approvers": {
"data": [
{
"type": "people",
"id": "8"
}
]
},
"subscribers": {
"data": []
}
}
}
],
"meta": {
"current_page": 1,
"total_pages": 1,
"total_count": 1,
"page_size": 30,
"max_page_size": 200
},
"included": [
{
"id": "7",
"type": "approval_policies",
"attributes": {
"name": "Budget approvals"
}
}
]
}Changes
- 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
- info
endpoint added
This list may be incomplete.
- info