Allowed operations

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.

Get allowed operations

post/services/core/allowed-operations/list

Returns allowed operations for specified objects.

SecurityOAuth2
Request
Request Body schema: application/json
required
object
required
string

Object name to query, in the form <application-name>/<object-name>.

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.

includePrivate
boolean

By default, in a multi-entity company queries from the top-level entity do not access data in private entities. Set includePrivate to true if you want to query data in private entities.

moduleKey
string
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "object": "accounts-payable/vendor",
  • "keys": [
    • "1",
    • "6",
    • "65"
    ],
  • "operations": [
    • "canView",
    • "canEdit",
    • "canDelete"
    ],
  • "options": {
    • "includePrivate": true
    }
}
Response samples
application/json
{
  • "ia::result": [
    • {
      • "key": "1",
      • "operations": [
        ]
      },
    • {
      • "key": "6",
      • "operations": [
        ]
      },
    • {
      • "key": "65",
      • "operations": [
        ]
      }
    ],
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}