Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | suppliercontacts.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Action | Yes | The action to perform | action=delete | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Data to identify record | "supplieruuid":"1C740E283C8D2A41B4A1CA7E4964171B" |
Example request:
http://<SERVER>/jsonapi/suppliers.json?user=user&password=user&version=3.9&action=delete&input={
"data": [
{
"suppliercontactuuid": "A4B734073799E046AAE41719B5B207B6"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"suppliercontactUuid": "A4B734073799E046AAE41719B5B207B6",
"suppliercontactInternalRef": 305
}
]
}