DELETE api/activities/clear/{id}?accessorId={accessorId}
Clear an Activity.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Activity Id |
globally unique identifier |
Required |
accessorId |
Accessor Id |
globally unique identifier |
Required |
Body Parameters
The history record that will be created
HistoryName | Description | Type | Additional information |
---|---|---|---|
Id |
SQL Column Name: [HISTORYID] |
globally unique identifier |
None. |
Regarding |
SQL Column Name: [REGARDING] |
string |
None. |
Duration |
SQL Column Name: [DURATION] |
string |
None. |
OutlookID | string |
None. |
|
HistoryTypeID |
SQL Column Name: [HISTORYTYPEID] |
integer |
None. |
HistoryType | HistoryType |
None. |
|
Attachment | Attachment |
None. |
|
IsPrivate | boolean |
None. |
|
ManageUserId | globally unique identifier |
None. |
|
EditDate |
SQL Column Name: [EDIT_DATE] |
date |
None. |
CreateDate |
SQL Column Name: [CREATE_DATE] |
date |
None. |
StartTime |
SQL Column Name: [START_DATE_TIME] |
date |
None. |
EndTime |
SQL Column Name: [END_DATE_TIME] |
date |
None. |
Details |
SQL Column Name: [DETAILS] |
string |
None. |
LinkedEntities | LinkedEntities |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "445e391c-49ae-4d0b-af70-51a746f6ff73", "Regarding": "sample string 2", "Duration": "sample string 3", "OutlookID": "sample string 4", "HistoryTypeID": 5, "HistoryType": { "Name": "sample string 1", "HistoryTypeId": 2, "Description": "sample string 3", "ActivityTypeID": "sample string 4", "ActivityTypeName": "sample string 5", "IsActive": true, "IsCustom": true, "IsDefault": true, "IsUserRecordable": true }, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2025-06-03T05:13:12Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "d737a4ac-62d8-4510-a618-ddbd3e048b6c", "EditDate": "2025-06-03T05:13:12Z", "CreateDate": "2025-06-03T05:13:12Z", "StartTime": "2025-06-03T05:13:12Z", "EndTime": "2025-06-03T05:13:12Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "7c388065-83c5-4b6d-8caa-49a905fd94af", "08be86fd-e121-4943-bfba-ba8a606157b9" ], "Companies": [ "e18a2476-5b25-48d2-8f5d-f9a0cf5f8627", "22d9b7bd-10e2-49ac-9ca8-d55d8e89f2df" ], "Groups": [ "afce0eb4-e13e-4062-b229-15449b72d4cb", "44de6b18-1df6-4d3a-904b-0c815be790c0" ], "Opportunities": [ "3e3b82fb-7add-4574-b06c-5f3b4c607440", "e7418b3f-efd6-41c9-b3d6-8a920deecb1d" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns the Id of the history record
globally unique identifierResponse Formats
application/json, text/json
Sample:
"eb3a434f-59ae-40e4-a769-3a6aa9077ea7"