Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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