Delete
| 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 | "suppliercontactuuid":"1C740E283C8D2A41B4A1CA7E4964171B" |
Example request (OAuth 2.0):
Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/suppliercontacts.json?&version=6&action=delete&input={
"data": [
{
"suppliercontactuuid": "A4B734073799E046AAE41719B5B207B6"
}
]
}
Example request (legacy username/password):
http://<SERVER>/jsonapi/suppliercontacts.json?&version=6&action=delete&input={
"data": [
{
"suppliercontactuuid": "A4B734073799E046AAE41719B5B207B6"
}
]
}&user=<username>&password=<password>
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"suppliercontactUuid": "A4B734073799E046AAE41719B5B207B6",
"suppliercontactInternalRef": 305
}
]
}