Skip to main content
Version: 2.2.3

INSUPPDEL

This method enables to delete the supply x supplier association.

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

Query parameters:

Query parametersTypeRequiredDescription
cdprodNumericYesProduct code
Constant value: 149
classnameStringYesClass name used in WADL
Constant value: supplierproviderdelete
classpathStringYesPath to the class used in WADL
Constant value: sp_import

Example request:

Supported attributes:

Request body parameterTypeRequiredDescription
idobjectStringYesSupply ID #
idcommercialStringYes¹Customer company ID.
nmcompanyStringYes¹Supplier company name.
idcompanyStringYes²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
}
]
}