Update

Update an activity record

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaactivities.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
ActionYesThe action to performaction=update
InputYesJSON stringSee below
JSON InputMandatoryDescriptionExamples
IdentifierYesData identifying activity to update"activityID": 6958
Update dataYesData to update on activity"activityDetails": "Meeting at Boundry Mill"

Example request:

http://<SERVER>/jsonapi/activities.json?company=1&user=user&password=user&version=3.9&action=update&input={
  "data": [
    {
      "activityID": 6958,
      "activityDetails": "Meeting at Boundry Mill"
    }
  ]
}

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "data processed successfully.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "activityID": 6740,
      "activityuuid": "6372D5630F00DD43AB3C7DFDE1A114D4",
      "activityTimeStampModified": 1458754056,
      "activityRecordVersionNumber": 6
    }
  ]
}