DELETE api/activities/clear-recurring/{id}?occurrenceDate={occurrenceDate}

Delete an occurrence of a recurring Activity.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

History
NameDescriptionTypeAdditional 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": "61eaca7a-6997-4f35-a83c-0740de0c3376",
  "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": "2026-02-28T23:52:35Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "e0329a86-b2bc-477e-ae85-fb87cda319fc",
  "EditDate": "2026-02-28T23:52:35Z",
  "CreateDate": "2026-02-28T23:52:35Z",
  "StartTime": "2026-02-28T23:52:35Z",
  "EndTime": "2026-02-28T23:52:35Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "c6c18d96-9bcd-419d-8ac6-ff71f390c121",
      "52d8a8a2-91fd-44e7-8977-0d3e75d1404c"
    ],
    "Companies": [
      "33ed6237-39b1-4970-9a69-9a6619170dbf",
      "3e037d8b-a426-4eff-a6ef-38288224924f"
    ],
    "Groups": [
      "ca436964-9110-4e7b-aeba-32225b523ae7",
      "a031d6a8-66ac-44ea-b96e-32c52e2bfe13"
    ],
    "Opportunities": [
      "a9a66f50-adfb-4329-a91b-44705b33ed59",
      "cc7bec09-01da-45c8-89ec-bbbd5ce3696f"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the Id of the history record

globally unique identifier

Response Formats

application/json, text/json

Sample:
"ab4a0789-7f92-41e6-9f14-dded40467c19"