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": "e0ad9999-3234-4e92-a0d4-6dbe277335c8",
  "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-08-29T12:46:44Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "bf6757b7-6217-4c5d-af63-5a2649b98d87",
  "EditDate": "2026-08-29T12:46:44Z",
  "CreateDate": "2026-08-29T12:46:44Z",
  "StartTime": "2026-08-29T12:46:44Z",
  "EndTime": "2026-08-29T12:46:44Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "aea0ed55-bada-4465-adf3-c98b57e6e248",
      "963d6957-e2f6-4ef4-baed-060c34bd0354"
    ],
    "Companies": [
      "38e04502-6d3f-49d5-b729-b18a321d2803",
      "04ecd53d-b4bb-4333-925e-ed833a8d8762"
    ],
    "Groups": [
      "cd7c8636-6a68-4994-9d91-b19426212745",
      "576d7487-b27e-45b6-853a-a6adf5bf00b1"
    ],
    "Opportunities": [
      "2f0fc08c-869f-4986-a789-6ecef5a95051",
      "93e8c30f-b9ea-4d45-8596-79605a467f72"
    ]
  }
}

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:
"b7017fa1-e72a-4a73-ab3d-6140c7add640"