Add comment

Add a comment to an activity

Create a history item

Parameter

Description

Examples

More info

API

The API area

activities.json

Action

Defines the API call

action=activityfollowup

General

Parameters described in overview

user=user&password=user

v3.3 Overview

Activity ID

Identifies the record you wish to create a comment/history record for

activityID=4833

Description

Specifies the text of the comment/history item

description=hello

Example request:

http://<SERVER>/jsonapi/activities.json?&user=user&password=user&version=3.3&activityID=4833&action=comment&description=hello

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Comment created.",
  "warningmessage": "",
  "success": true
}

List history items

Example requests:

ParameterDescription/example
ActionAction=history
ActivityIDIdentifies the record you wish to create a comment/history record for
http://<SERVER>/jsonapi/activities.json?&user=user&password=user&version=3.3&action=history&activityID=4833

or

http://<SERVER>/jsonapi/activityhistory.json?&user=user&password=user&version=3.3&activityID=4833

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 44,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "activityhistoryUuid": "1EB57F5625EE344B84DAEEF92F93AD10",
      "activityhistoryTimeStampModified": 1494410784,
      "activityhistoryRecordVersionNumber": 0,
      "activityhistoryComment": "",
      "activityhistoryCreatedByUserID": 54,
      "activityhistoryDateCreated": "2017-05-10",
      "activityhistoryHistoryDetail": "hello3",
      "activityhistoryNotesHistoryCategory": 0,
      "activityhistoryTimeCreated": "11:06:24",
      "activityhistoryCreatedByFullNAme": "User",
      "activityhistoryCreatedDisplayDescription": "Created by User on 10/05/2017 at 11:06am"
    },
    {
      "activityhistoryUuid": "EDF3AB010E6A92468123C5A686B1B951",
      "activityhistoryTimeStampModified": 1475771092,
      "activityhistoryRecordVersionNumber": 0,
      "activityhistoryComment": "",
      "activityhistoryCreatedByUserID": 3,
      "activityhistoryDateCreated": "2016-10-06",
      "activityhistoryHistoryDetail": "Document 32424 deleted.",
      "activityhistoryNotesHistoryCategory": 14,
      "activityhistoryTimeCreated": "17:24:52",
      "activityhistoryCreatedByFullNAme": "SYN_Jon",
      "activityhistoryCreatedDisplayDescription": "Created by SYN_Jon on 06/10/2016 at 5:24pm"
    }
  ]
}