Generate a new activity - linked to a previously created activity, or list follow-ups already created
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | activities.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=activityfollowup | |
Identifier | Yes | Activity ID or UUID | activityID=4833 | |
Activitytype | Specifies the activity type of the new followup activity | activitytype=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
Parameter | Description/example |
---|---|
Action | Action=followuplist |
ActivityID | Identifies 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"
}
]
}