Update an activity record
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 |
Action | Yes | The action to perform | action=update | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Data identifying activity to update | "activityID": 6958 |
Update data | Yes | Data to update on activity | "activityDetails": "Meeting at Boundry Mill" |
Example request:
http://<SERVER>/jsonapi/activities.json?company=1&user=user&password=user&version=3.9&action=update&input={
"data": [
{
"activityID": 6958,
"activityDetails": "Meeting at Boundry Mill"
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"activityID": 6740,
"activityuuid": "6372D5630F00DD43AB3C7DFDE1A114D4",
"activityTimeStampModified": 1458754056,
"activityRecordVersionNumber": 6
}
]
}