Requests

Review request

Changes field status and individual answer statuses within field<br>Required scopes: <b>review_requests</b>

put/partner_api/v1/fields/{id}/review

Request

  • Base URL
    https://api.contentsnare.com
  • Auth
    • OAuth 2
      Authorization code: /oauth/authorization
      Token URL: /oauth/token scopes: review_requests
    • or HTTP bearer

Path parameters

idstring required

Request body

rejection_commentstring

A message for your client letting them know why you rejected the field and what they need to do to fix it

status'approved' | 'done' | 'redo' | 'todo'

Field status. <br>Set status 'approved' for the following actions: approve. <br>Set status 'done' for the following actions: submit for review, remove reject, remove approval. <br>Set status 'todo' for the following actions: revise. <br>Set status 'redo' for the following actions: reject.

Example request

{
  "answers_attributes": [
    {
      "id": "ans_RQ1zp49c7Xz4km",
      "rejection_comment": "Rejection reason",
      "status": "redo"
    }
  ],
  "rejection_comment": "Rejection reason",
  "status": "redo"
}

Response

successful

idstring
rejection_commentstring
statusstring

Example response

{
  "answers": [
    {
      "id": "ans_RQ1zp49c7Xz4km",
      "rejection_comment": "Rejection reason",
      "status": "redo"
    }
  ],
  "id": "fld_1lqbwY6TaMPmAo",
  "rejection_comment": "Rejection reason",
  "status": "redo"
}

Changes

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