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": "ff66b07a-4694-4155-891f-fc02c4282552", "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-10-18T04:47:27Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "49748d89-6bd2-45a7-9987-2916fabdeb64", "EditDate": "2025-10-18T04:47:27Z", "CreateDate": "2025-10-18T04:47:27Z", "StartTime": "2025-10-18T04:47:27Z", "EndTime": "2025-10-18T04:47:27Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "f7b6eb91-d675-4eac-a824-92e6e25cc221", "0b1116a4-6881-4b8c-bf8e-b3c9c8e7096d" ], "Companies": [ "4c3e45ef-17dd-420c-a0be-9a9193bab4ed", "d75b1fc6-25fb-4c9f-a1ea-3d99433bc3a5" ], "Groups": [ "48ae5dc3-abc3-49cc-8836-3faa61111546", "0cf27fda-d359-4fe0-8a71-e814e957b8ae" ], "Opportunities": [ "cce79418-e40c-4107-a2de-8025e91b47b9", "b2db23f7-ffdc-4882-a0d8-85c2c6351325" ] } }
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:
"08b60ef5-f3c2-4fce-ad71-72c6431d2962"