Create a client contact record
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | clientcontacts.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Action | Yes | The action to perform | action=create | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
clientcontactClientCode | Yes | Client code | "clientcontactClientCode":"1/2365" |
clientcontactFirstName | Yes | First name | "clientcontactFirstName":"James" |
Example request:
http://<SERVER>/jsonapi/clientcontacts.json?user=user&password=user&version=3.9&action=create&input={
"data": [
{
"clientcontactClientCode": "1/2365",
"clientcontactFirstName": "James"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"clientcontactuuid": "4DBB03C727768C4791377A628866A114",
"clientcontactInternalRef": 8628,
"clientcontactTimeStampModified": 1532615972,
"clientcontactRecordVersionNumber": 0
}
]
}