Reviewer

Create one

Creates a new reviewer

post/v1/erp/payouts/reviewers

Request

  • Base URL
    https://api.cardda.com
  • URL
    https://api.cardda.com/v1/erp/payouts/reviewers
  • Auth
    HTTP bearer

Parameters

#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0 (unresolved $ref)

Request body

role'reviewer' | 'approver'
source_idstring uuid required

The id of the object being reviewed (payable or purchase order).

source_typestring required

The polymorphic type of the object being reviewed, e.g. Erp::Payouts::Payable or Erp::Payouts::PurchaseOrder.

company_idstring uuid required
user_idstring uuid required

Response

Body of the created reviewer.

idstring uuid required
company_idstring uuid required
user_idstring uuid required

The id of the user that is the reviewer.

source_idstring uuid required

The id of the object being reviewed (payable or purchase order).

source_typestring required

The polymorphic type of the object being reviewed, e.g. Erp::Payouts::Payable or Erp::Payouts::PurchaseOrder.

levelinteger

The approval level of this reviewer in the review chain.

enabledboolean

Whether this reviewer is currently active in the review chain.

approvedboolean

Whether this reviewer has approved. Derived server-side; not modifiable through the endpoints.

current_status'comment' | 'file' | 'approval' | 'change_request'

The current status of the review. This is not modifiable using the endpoints.

userUser (unresolved $ref)
rolestring
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.