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 parameters | Type | Required | Description |
---|---|---|---|
cdprod | Numeric | Yes | Product codeConstant value: 73 |
classname | String | Yes | Name of the class used in WADLConstant value: dc_canceldoc_interface |
classpath | String | Yes | Path to the class used in WADLConstant value: dc_import |
Request example:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
DocumentID | String | Yes | Document ID # |
CancelReason | String | Yes | Cancellation description |
CategoryID | String | Yes | Document category ID # |
{
"DocumentID": "string",
"CancelReason": "string",
"CategoryID": "string"
}
Response example:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}