Approve/Reject entire request
POST/approveRejectRequest
This API is used to approve/reject entire request.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
requestid
or requestkey
(if both are passed requestkey will be considered),
reqaction
:1/2, 1 - approve, 2 - reject
Optional params:
approver
(if not passed, the token user is used)
comments
Request
- application/json
Body
approver string
comments string
reqaction string
requestid string
requestkey string
Responses
- 200
Approve/Reject entire request
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
X-Content-Type-Options
string
X-Frame-Options
string
- application/json
- Schema
- Example (from schema)
- Approve/Reject entire request
Schema
errorCode string
message string
{
"errorCode": "0",
"message": "success"
}
{
"errorCode": "0",
"message": "success"
}
Loading...