Skip to main content
Version: 2.2.3

DC_CANCELDOC_INTERFACE

This method allows canceling a document. To use it, follow the standard documented below.

POST /apigateway/se/generic/gn_webservice/gn_webservice_execute.php

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 73
classnameStringYesName of the class used in WADL
Constant value: dc_canceldoc_interface
classpathStringYesPath to the class used in WADL
Constant value: dc_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
DocumentIDStringYesDocument ID #
CancelReasonStringYesCancellation description
CategoryIDStringYesDocument category ID #
{
"DocumentID": "string",
"CancelReason": "string",
"CategoryID": "string"
}

Response example:

200 OK

{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}