Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The GUID in these calls should be obtained from Login API


Endpoint URL

based URL address depends on domain address on which the backend is deployed

MethodURL
POST{base url}/Document/Reject

Query parameters

TypeParamsValues
HEADERGUID{GUID obtained from login call}
POSTIDid of the document that is supposed to be rejected
POSTReasonreason behind rejecting the document


Example requests

https://backend/api/Document/Reject

{
  "ID"69006,
  "Reason""Reason of rejecting"
}


Example responses:

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
        }
    ]
}


  • No labels