Approve or reject a task awaiting review

Records a GAINS reviewer's decision on a task in PendingReview, and is the only thing that releases the request for processing.

Approval moves the task to Queued or Received and hands the held records on for the next loader run. Rejection moves it to RejectedNotApproved; nothing was ever forwarded, so there is nothing to undo. Either way the decision is final - a task that is no longer in PendingReview is refused with 400.

Only POST /api/v1/skus-locations/delete currently produces a task that needs review. The reviewer is taken from the authenticated credentials and recorded on the task, so the request body carries only the decision and an optional note.

GainsX Version Requirement:

  • Min: 10.0-ER2610
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Unique identifier of the task under review

Body Params
string
enum
required
length ≥ 1
(?i)\A(approved|rejected)\z

The review outcome. "approved" releases the held records for processing; "rejected" refuses the request and nothing is applied

Allowed:
string
length between 0 and 1000

Optional note recorded against the decision and returned on the task, for example why approval was refused

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*