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": "3de0c2d7-4d1e-41e7-9ac9-9bfa0745a73d",
  "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-07-19T06:10:06Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "c6047cad-444a-419a-9e20-44595ac0fa9e",
  "EditDate": "2025-07-19T06:10:06Z",
  "CreateDate": "2025-07-19T06:10:06Z",
  "StartTime": "2025-07-19T06:10:06Z",
  "EndTime": "2025-07-19T06:10:06Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "f69ed5b6-6d63-4d0b-b48d-b7e4502bbbb2",
      "c38b356c-486e-4875-8514-612f50937599"
    ],
    "Companies": [
      "66a00561-5fc5-451c-8d82-337bd0d0f61a",
      "0bbfeb73-ea82-4b07-882e-6a3eb2afec19"
    ],
    "Groups": [
      "154d0fd0-d8e2-409a-ba27-a7f0cda7cef5",
      "e4a05ee6-34ed-4498-b7ec-f1896a4ee272"
    ],
    "Opportunities": [
      "5dacb285-ab7c-46f2-b516-8d53ce6825b5",
      "150665fd-d872-4b1b-8fad-bc1a3b2efdb6"
    ]
  }
}

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:
"22e7bb8a-8147-4004-98ea-582a703806f6"