The GUID in these calls should be obtained from Login API
based URL address depends on domain address on which the backend is deployed
Method | URL |
---|---|
POST | {base url}/api/Document/Reject |
Type | Params | Values |
---|---|---|
HEADER | GUID | {GUID obtained from login call} |
POST | ID | id of the document that is supposed to be rejected |
POST | Reason | reason behind rejecting the document |
https://backend/api/Document/Reject
{
"ID": 69006,
"Reason": "Reason of rejecting"
}
if the rejection has been successful
{
"Message": "Document Rejected"
}
if the rejection fails
{
"errors": [
{
"message": "An error has occured on the server, please contact an administrator.",
"severity": 1,
"payLoad": null
}
]
}