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 |
Action | Yes | The action to perform | action=create | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
SupplierCode | Yes | Supplier code | "supplierCode":"1/TS" |
Example request:
http://<SERVER>/jsonapi/suppliers.json?user=user&password=user&version=3.9&action=create&input={
"data": [
{
"supplierCode": "1/TS"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"supplierCode": "1/TS",
"supplieruuid": "C4BACAACC684234285EEF12C4448B632",
"supplierTimeStampModified": 1565168172,
"supplierRecordVersionNumber": 0
}
]
}