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=delete | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
Identifier | Yes | Data identifying activity to delete | "activityID": 6958 |
Example request:
http://<SERVER>/jsonapi/activities.json?company=1&user=user&password=user&version=3.9&action=delete&input={
"data": [
{
"activityID": 6958
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"activityID": 6958,
"activityuuid": "8F6FBBBF41EA6141AD99E2CA56171C31"
}
]
}