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": "a9c13708-fd93-4345-899e-ee1f6656c36b",
  "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": "2024-12-05T02:09:49Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "67d72216-14c0-4b1c-8169-aa21fdfbcfd9",
  "EditDate": "2024-12-05T02:09:49Z",
  "CreateDate": "2024-12-05T02:09:49Z",
  "StartTime": "2024-12-05T02:09:49Z",
  "EndTime": "2024-12-05T02:09:49Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "ec7f9f47-150b-4458-926e-7b89743041e2",
      "0d284e37-b7c3-42ac-ade0-053a87985042"
    ],
    "Companies": [
      "496f8f2d-2c43-46fc-8703-2b3b72a2d40f",
      "a4e91a0b-8760-4e65-bcaa-fbcba6ea57e9"
    ],
    "Groups": [
      "814d2066-f90b-4e24-bac1-5d5b774ecde9",
      "74b56ded-2c86-478d-adda-9d46608c4a57"
    ],
    "Opportunities": [
      "642e8830-d5e0-48ee-b795-17329c7da0fb",
      "1759cd57-1627-4b64-aeec-3d8763e4a82d"
    ]
  }
}

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:
"e67bd7ce-6210-411b-8e99-32aa88faca32"