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": "851733f3-3e20-4b1b-916c-6b4349e86ac5",
  "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-19T02:02:42Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "bc9a2396-3245-4e17-8433-6aaa99888e2c",
  "EditDate": "2025-04-19T02:02:42Z",
  "CreateDate": "2025-04-19T02:02:42Z",
  "StartTime": "2025-04-19T02:02:42Z",
  "EndTime": "2025-04-19T02:02:42Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "f2f524e5-9fd9-4ff2-ae27-8ab07067441d",
      "e91c6e94-369d-4b46-ae4b-4489f1628577"
    ],
    "Companies": [
      "db3b7bd9-6c38-4d2a-87ae-36443beade4f",
      "778d7ed7-a9ae-43fa-a01c-328630a55a6b"
    ],
    "Groups": [
      "68dd2bff-0061-46e4-a871-3251fe307ee4",
      "1bdfdc4c-404f-4fa6-ab20-6dda036679ca"
    ],
    "Opportunities": [
      "ea9d1e71-54e2-4c96-9ce6-ac040f01a689",
      "da72e15a-fe11-4d25-9595-613f1f6a4463"
    ]
  }
}

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:
"fb432d93-03a0-4bc6-a38e-b4a8d034fb86"