Revenue API
//
Check allowed actions
Purpose
Tells you which actions (submit, approve, reject, recall, delete, update, reverse) the caller may perform on the selected journal entries right now, considering their status, the approval rule, soft freeze and the caller's role. Call it before showing action buttons or before running an automated workflow step.
When to use
- Decide which actions to offer a user (show or hide Submit, Approve, Delete ... buttons) in your own UI.
- Check up front, in an automated workflow, whether a step will be allowed before calling it.
Security
OneIdOAuth
- Zuora Revenue API (base URL)https://one.zuora.com/revenue/services/v1/journal-entries/privileges
{ "jeIds": [ 10045 ], "bookId": 1 }
Allowed actions
Response
{ "submitAllowed": true, "approveAllowed": false, "rejectAllowed": false, "recallAllowed": false, "deleteAllowed": true, "updateAllowed": true, "revertAllowed": false }