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": "4c4047b1-1d96-41d7-bbd6-aac76ed3a72f", "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": "2024-12-05T02:27:58Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "fceda659-452e-4761-8e5b-8ede3b3749ea", "EditDate": "2024-12-05T02:27:58Z", "CreateDate": "2024-12-05T02:27:58Z", "StartTime": "2024-12-05T02:27:58Z", "EndTime": "2024-12-05T02:27:58Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "3cc2551f-c081-4636-97ef-559775d7d45d", "b554087e-adb7-46ef-999b-c98a0f1a3c44" ], "Companies": [ "32fc98c2-9dba-47bd-94da-78569e1b2f27", "9e987ad1-4cd8-4b55-97b1-f58e0cb1508c" ], "Groups": [ "54b3c648-37c5-41eb-b2b1-03bc535532ac", "d0f1d881-ebd8-489b-8d77-17eb7b37625c" ], "Opportunities": [ "a1efe28b-3fed-4a76-8781-27f39deb7915", "4a83e50b-ee68-49f8-b421-a6d99a714d8b" ] } }
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:
"f5d4f43c-6617-40f2-acc2-f2af2fc86dcd"