Review

Create one

Creates a new review

post/v1/erp/payouts/reviews

Request

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

Parameters

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

Request body

idstring uuid
kind'comment' | 'file' | 'approval' | 'change_request' required
company_idstring uuid required
user_idstring uuid

The id of the user that created the review. Always set server-side to the authenticated user; any value sent by the client is ignored.

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.

bodystring required
created_atstring date-time
updated_atstring date-time

Response

Body of the created review. The user author embed is only present on the list (index) response, not here.

idstring uuid
kind'comment' | 'file' | 'approval' | 'change_request' required
company_idstring uuid required
user_idstring uuid

The id of the user that created the review. Always set server-side to the authenticated user; any value sent by the client is ignored.

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.

bodystring required
created_atstring date-time
updated_atstring date-time

Changes

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