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=update | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Data to identify record | "supplieruuid":"1C740E283C8D2A41B4A1CA7E4964171B" |
Update Data | Yes | Data to update | "supplierCustomField321":"test" |
Example request:
http://<SERVER>/jsonapi/suppliers.json?user=user&password=user&version=3.9&action=update&input={
"data": [
{
"suppliercontactuuid": "A4B734073799E046AAE41719B5B207B6",
"suppliercontactEmail": "[email protected]"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"suppliercontactUuid": "A4B734073799E046AAE41719B5B207B6",
"suppliercontactInternalRef": 305,
"suppliercontactTimestampModified": 1565708165,
"suppliercontactRecordVersionNumber": 1
}
]
}