Create

Create a client contact record

Create

Parameter

Description

Example

More info

API

The API area

clientcontacts.json

Action

The action to perform

action=create

Parameters described in overview

user=user&password=user

v3.3 Overview

input

Client code (mandatory), then name/value pairs

"data":

[<see example>]

Response

Returned data

See below

Notes

clientcontactFirstName OR clientcontactName is mandatory. If you supply one, you do not need to supply the other.

Example request:

http://<SERVER>/jsonapi/clientcontacts.json?user=user&password=user&version=3.3&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
    }
  ]
}