Skip to main content

controlApprovalDelegations

Requires at least one of the permissions approvals:bills:approve, approvals:credit:approve, approvals:credit_notes:approve, approvals:delegation:manage, approvals:discounts:approve, approvals:large_orders:approve, approvals:order_changes:approve, approvals:payments:verify, approvals:stock_adjustments:approve, approvals:supplier_payments:approve or purchase:purchase_order:approve.

Approval covers, newest start first (up to 200): MINE lists the ones you gave or were given, ALL every cover (needs approvals:delegation:manage).

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query ControlApprovalDelegations($scope: ControlApprovalDelegationScope!) {
controlApprovalDelegations(scope: $scope) {
id
createdAt
endsAt
enteredBy
fromUserId
isActive
}
}

Variables:

{
"scope": "ALL"
}

Response:

{
"data": {
"controlApprovalDelegations": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"endsAt": "2025-01-15T00:00:00Z",
"enteredBy": "string",
"fromUserId": "string",
"isActive": true
}
]
}
}
controlApprovalDelegations(
scope: ControlApprovalDelegationScope! = MINE
): [ControlApprovalDelegation!]!

Arguments​

controlApprovalDelegations.scope ● ControlApprovalDelegationScope! non-null enum​

MINE (default) or ALL.

Type​

ControlApprovalDelegation object​

A cover: for a date range, one person may decide approval requests needing the listed permissions on behalf of another, never beyond what that person still holds.