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": "172fcb52-8239-4209-89ff-7bf790aa94e4",
  "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-01-14T05:27:56Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "17f2286d-b25c-4060-b512-986c1e479229",
  "EditDate": "2026-01-14T05:27:56Z",
  "CreateDate": "2026-01-14T05:27:56Z",
  "StartTime": "2026-01-14T05:27:56Z",
  "EndTime": "2026-01-14T05:27:56Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "573b1d92-0629-4c81-9527-1747071182c6",
      "b7dcb4fb-4bb5-44c5-9842-ce87f53c0b99"
    ],
    "Companies": [
      "b54bb119-9e65-4578-8cde-0d0194c330d2",
      "fe0006f1-00d7-4cf9-99e6-7300ab051241"
    ],
    "Groups": [
      "035635ba-8939-4274-9f4b-0256f8acea23",
      "816885d5-cdf9-4408-911d-c5d8d087c962"
    ],
    "Opportunities": [
      "88c26af4-85f2-4f07-816d-e4a25acf9341",
      "7400337c-2fa5-4674-ac97-e032a13766c9"
    ]
  }
}

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:
"8d2b4e40-8c30-48bc-9ffa-34f94abee443"