Navigation:  Integration via REST web services > Published web services > Supply >

INSUPPDEL

Previous  Top  Next

This method enables to delete the supply x supplier association.

 

To delete each of these items, the standard documented below must be followed.

WADL URL

http://<domain>/softexpert/webserviceproxy/se/generic/gn_webservice/gn_webservice_execute.php

 

Constants

ID #

Required

Description

cdprod

X

149

classname

X

supplierproviderdelete

classpath

X

sp_import

 

Request

ID #

Required

Description

idobject

X

Supply ID #.

idcommercial

X1

Supplier company ID.

nmcompany

X1

Supplier company name.

idcompany

X2

Supplier ID #.

 

X1 - Field required if the "Supplier ID #" is empty.

X2 - Field required if “Company ID” and/or “Company name” are empty.

 

JSON input example for the deletion of the supply x supplier association:

{

   "idobject": "string",

   "idcommercial": "string",

   "nmcompany": "string",

   "idcompany": "string"

}

 

JSON example generated at the output of the supply x supplier association deletion:

{

   "success": true,

   "total": 1,

   "results": [

       {

           "Result": true,

           "Code": 1

       }

   ]

}

 

Return

ID #

Description

Result

It will return true in case of success; in case of failure, it will return a message describing the error.

Code

Method execution status:

-1: An error occurred in the execution of the method.

1: Method executed successfully.