INSUPPDEL
This method enables to delete the supply x supplier association.
POST /apigateway/se/generic/gn_webservice/gn_webservice_execute.php
Query parameters:
Query parameters | Type | Required | Description |
---|---|---|---|
cdprod | Numeric | Yes | Product codeConstant value: 149 |
classname | String | Yes | Class name used in WADLConstant value: supplierproviderdelete |
classpath | String | Yes | Path to the class used in WADLConstant value: sp_import |
Example request:
Supported attributes:
Request body parameter | Type | Required | Description |
---|---|---|---|
idobject | String | Yes | Supply ID # |
idcommercial | String | Yes¹ | Customer company ID. |
nmcompany | String | Yes¹ | Supplier company name. |
idcompany | String | Yes² | Supplier code. |
info
Yes¹ - Field required if "Supplier Code" is empty. Yes² - Field required if "Company ID" and/or "Company name" are empty.
{
"idobject": "string",
"idcommercial": "string",
"nmcompany": "string",
"idcompany": "string"
}
Example response:
200 OK
{
"success": true,
"total": 1,
"results": [
{
"Result": true,
"Code": 1
}
]
}