Follow-ups

Generate a new activity - linked to a previously created activity, or list follow-ups already created

Create a followup activity

Example request:

ParameterDescriptionExamples
actionDefines the the APIaction=activityfollowup
Parameters described in overview
Activity IDIdentifies the record you wish to follow upactivityID=4833
Activitytypespecifies the activity type of the new followup activityactivitytype=pup
CompanySpecify the company (data-set)company=1

http:///jsonapi/activities.json?user=user&password=user&company=1&version=3.1&action=activityfollowup&activityID=4833&activitytype=pup

Example response

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Followup created.",
  "warningmessage": "",
  "success": true,
  "data": [
    {
      "activityID": 7478,
      "activityuuid": "1DE77B353980544C8721F6B90FB28C00"
    }
  ]
}

Follow-ups - list

This will list all followups for a specific activity

ParameterDescription/example
Actionaction=followuplist
activityIDIdentifies the activity which has related followups

Example

http:///jsonapi/activities.json?company=1&version=3.1&user=user&password=user&action=followuplist&activity=4833

Example response

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 0,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "activityuuid": "FDA5D0AB2B89C74A875D6DACBCF7DECA",
      "activityTimeStampModified": 1494410269,
      "activityRecordVersionNumber": 0,
      "activityCreationDate": "2017-05-10",
      "activityCreationTime": "10:57:49",
      "activityCreationTimeZone": "UTCA",
      "activitySubject": "MyChangedSubject13",
      "activityID": 7477,
      "activityDetails1stLIne": "",
      "activityActivitytype": "Public todo2"
    },
    {
      "activityuuid": "A34E62DA38F9334C9B02C7CD0A16E133",
      "activityTimeStampModified": 1492788713,
      "activityRecordVersionNumber": 13,
      "activityCreationDate": "2016-08-09",
      "activityCreationTime": "15:07:29",
      "activityCreationTimeZone": "UTCA",
      "activitySubject": "MyChangedSubject13",
      "activityID": 6974,
      "activityDetails1stLIne": "",
      "activityActivitytype": "Public todo2"
    },
    {
      "activityuuid": "1C1C82FE74B57F4F93BFA9CEC8CDAD41",
      "activityTimeStampModified": 1475771089,
      "activityRecordVersionNumber": 928,
      "activityCreationDate": "2014-01-30",
      "activityCreationTime": "15:14:10",
      "activityCreationTimeZone": "UTCA",
      "activitySubject": "MyChangedSubject13",
      "activityID": 4833,
      "activityDetails1stLIne": "description7",
      "activityActivitytype": "Draft docs"
    }
  ]
}