Returns allowed operations for specified instances of an object type. Note that individual users may have role or permission settings that restrict them from performing certain operations.
Returns allowed operations for specified objects.
object required | string Object name to query, in the form Example: "vendor" | ||||
keys required | Array of strings Array of up to 1000 object keys for which you want to get allowed operations. | ||||
operations | Array of strings List of operations that you want to query specifically. If not provided, the response will include all supported operations. | ||||
object Options for the request. | |||||
|
OK
Bad Request
{- "object": "accounts-payable/vendor",
- "keys": [
- "1",
- "6",
- "65"
], - "operations": [
- "canView",
- "canEdit",
- "canDelete"
], - "options": {
- "includePrivate": true
}
}
{- "ia::result": [
- {
- "key": "1",
- "operations": [
- "canView",
- "canEdit",
- "canDelete"
]
}, - {
- "key": "6",
- "operations": [
- "canView",
- "canEdit"
]
}, - {
- "key": "65",
- "operations": [
- "canView"
]
}
], - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}