Returns one or more activity history records.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | acthistory.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Model Structure | Yes | Name of model required | modelstructure=activityhistorylist | Using data models |
Company | Yes | The company number | company=1 | |
Identifier | No | Activty ID or UUID | activtyid=3818 |
Example request:
http://<SERVER>/jsonapi/acthistory.json?&user=user&password=user&version=3.9&activityid=8951&modelstructure=activityhistorylist
Example response:
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 3,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"activityhistoryUuid": "EB8EB45C72C39F468BB4EE69ABB323F0",
"activityhistoryTimeStampModified": 1578507631,
"activityhistoryRecordVersionNumber": 0,
"activityhistoryNotesID": 8951,
"activityhistoryNotesHistoryID": 12412,
"activityhistoryDateCreated": "2020-01-08",
"activityhistoryTimeCreated": "18:20:31",
"activityhistoryHistoryDetail": "Mike, here is an example of the problem",
"activityhistoryComment": "",
"activityhistoryCreatedByUserID": 54,
"activityhistoryCreatedByFullNAme": "User - Andy"
},
{
"activityhistoryUuid": "F4B20E2633FEB744982200F220B85BDE",
"activityhistoryTimeStampModified": 1578509276,
"activityhistoryRecordVersionNumber": 0,
"activityhistoryNotesID": 8951,
"activityhistoryNotesHistoryID": 12413,
"activityhistoryDateCreated": "2020-01-08",
"activityhistoryTimeCreated": "18:47:56",
"activityhistoryHistoryDetail": "Transferred to Mike Notpalmer for actioning",
"activityhistoryComment": "",
"activityhistoryCreatedByUserID": 5,
"activityhistoryCreatedByFullNAme": "Mike Pender"
}
]
}
Note: Feature from API 2.2