Create

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaactivities.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.7v3.7 Overview
ActionYesThe action to performaction=create
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
activityActivitytypeCodeYesActivity type code"activityActivitytypeCode": "Notes"
activityClientCodeYesClient code"activityClientCode": "1/AWAL"
activityCompanyNumberYesCompany number"activityCompanyNumber": 1
activitySubjectNoSubject"activitySubject": "My Meeting notes"
activityDetailsNoDetails"activityDetails": "Meeting at Boundry Mill"

Example request:

http://<SERVER>/jsonapi/activities.json?company=1&user=user&password=user&version=3.7&action=create&input={
  "data": [
    {
      "activityClientCode": "1/AWAL",
      "activityActivitytypeCode": "Notes",
      "activityCompanyNumber": 1
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "activityuuid": "F718837693D3694F00D2A0F50FC67F1A",
      "activityID": 6743,
      "activityOwnerID": 54,
      "activityOwnerName": "User",
      "activityTimeStampModified": 1458753687,
      "activityRecordVersionNumber": 1
    }
  ]
}