Skip to main content
Version: Next

Delete supply

This method allows deleting a supply by means of a REST web service.

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

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 149
classnameStringYesName of the class used in WADL
Constant value: supply_delete_interface
classpathStringYesPath to the class used in WADL
Constant value: sp_import

Request example:

Supported attributes:

Request body parameterTypeRequiredDescription
idobjectStringYesSupply ID #
{
"idobject": "string"
}

Response example:

200 OK

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