DELETE api/activities/clear-recurring/{id}?occurrenceDate={occurrenceDate}
Delete an occurrence of a recurring Activity.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Recurring Activity Id |
globally unique identifier |
Required |
occurrenceDate |
The date of the occurrence. Parameter must be formatted in the K-API default date format. |
string |
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": "dd5f0538-ea06-4bf0-9857-6b952be75eba", "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-04-11T07:40:01Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "eeec7a7e-a2f5-46cf-99a3-d65f45ae99ef", "EditDate": "2025-04-11T07:40:01Z", "CreateDate": "2025-04-11T07:40:01Z", "StartTime": "2025-04-11T07:40:01Z", "EndTime": "2025-04-11T07:40:01Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "c809aab0-158d-4ffb-9ba6-1a9706bfaa15", "2cccea5f-582f-41e6-87ef-ea0774a24659" ], "Companies": [ "53e00707-c795-4550-aa51-8742bc863048", "a6300ce8-4d62-4270-b39b-27a854cc478f" ], "Groups": [ "f3a17e9a-2470-4f48-9148-2b8400936c11", "10b20e89-633b-4f26-b5b5-e104b44e4992" ], "Opportunities": [ "055cf1dd-d74c-4ab4-9340-7cd18424c597", "3aae0439-d35c-42a5-837f-3938e17efbdf" ] } }
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:
"7481f929-399c-4934-8117-e13f30d68a42"