checkRequiresApproval

post

/ccstore/v1/orders/checkRequiresApproval

Check Requires Approval. Check for an order if it requires an approval or not. Optionally takes the x-ccasset-language headers to get translated content in another language. Also it can have optional X-CCOrganization header which is a JSON field to specify current Organization context of logged in user.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : checkRequiresApproval_request
Type: object
Show Source
  • the order id for the order which is to be checked for approval requirement.
Example:
{
    "orderId":"o30411"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : checkRequiresApproval_response
Type: object
Show Source
Example Response (application/json)
{
    "requiresApproval":"True"
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top