Set a supplier contact as active
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | suppliers.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=active_on | |
Identifier | Yes | Supplier contact to make active | suppliercontact=8589 |
Example request:
http://<SERVER>/jsonapi/suppliercontacts.json?user=user&password=user&version=3.9&action=active_on&suppliercontact=286
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Supplier contact active flag changed. ",
"warningmessage": "",
"success": true,
"synapiversion": 3.8
}