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=create | |
Input | Yes | JSON string | See below |
JSON Input | Mandatory | Description | Examples |
---|---|---|---|
activityActivitytypeCode | Yes | Activity type code | "activityActivitytypeCode": "Notes" |
activityClientCode | Yes | Client code | "activityClientCode": "1/AWAL" |
activityCompanyNumber | Yes | Company number | "activityCompanyNumber": 1 |
activitySubject | No | Subject | "activitySubject": "My Meeting notes" |
activityDetails | No | Details | "activityDetails": "Meeting at Boundry Mill" |
Example request:
http://<SERVER>/jsonapi/activities.json?company=1&user=user&password=user&version=3.8&action=create&input={
"data": [
{
"activityClientCode": "1/AWAL",
"activityActivitytypeCode": "Notes",
"activityCompanyNumber": 1
}
]
}
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"activityuuid": "F718837693D3694F00D2A0F50FC67F1A",
"activityID": 6743,
"activityOwnerID": 54,
"activityOwnerName": "User",
"activityTimeStampModified": 1458753687,
"activityRecordVersionNumber": 1
}
]
}