Follow Up

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

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaactivities.json
GeneralYesParameters described in overviewuser=user&password=user&version=3.9Overview
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=activityfollowup
IdentifierYesActivity ID or UUIDactivityID=4833
ActivitytypeSpecifies the activity type of the new followup activityactivitytype=pup

Example request:

http://<SERVER>/jsonapi/activities.json?user=user&password=user&company=1&version=3.9&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 request:

http://<SERVER>/jsonapi/activities.json?company=1&version=3.8&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"
    }
  ]
}