PUT api/Activities/{id}
Update an existing Activity. This is not a partial update therefore, please pass in the full activity object to your request. For partial updates, use the PATCH endpoint
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Activity ID |
globally unique identifier |
Required |
Body Parameters
Serialized Activity record in the body of the request
Activity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| SeriesId | globally unique identifier |
None. |
|
| AccessorID | globally unique identifier |
None. |
|
| IsCleared | boolean |
None. |
|
| IsAlarmCreated | boolean |
None. |
|
| IsAlarmed | boolean |
None. |
|
| LeadMinutes | integer |
None. |
|
| AlarmDue | string |
None. |
|
| ExternalID | string |
None. |
|
| Location | string |
None. |
|
| IsTimeless | boolean |
None. |
|
| IsPrivate | boolean |
None. |
|
| PriorityId | integer |
None. |
|
| ActivityPriorityName | string |
None. |
|
| ActivityTypeId | integer |
None. |
|
| ActivityTypeName | string |
None. |
|
| Subject | string |
None. |
|
| ScheduledBy | string |
None. |
|
| ScheduledFor | string |
None. |
|
| ScheduledForID | globally unique identifier |
None. |
|
| ScheduledByID | globally unique identifier |
None. |
|
| DeletedDates | Collection of date |
None. |
|
| ClearedDates | Collection of date |
None. |
|
| RecurSpec | ActivityRecurSpec |
None. |
|
| EditDate | date |
None. |
|
| CreateDate | date |
None. |
|
| OccurTime | date |
None. |
|
| OccurEndTime | 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": "f1304671-af45-4cac-af13-b0275a34eee9",
"SeriesId": "bf0fab7c-4d08-44f5-894f-8bf5976b8efd",
"AccessorID": "e00d484c-1e47-4ac5-af8a-4c0f80429cf8",
"IsCleared": true,
"IsAlarmCreated": true,
"IsAlarmed": true,
"LeadMinutes": 7,
"AlarmDue": "sample string 8",
"ExternalID": "sample string 9",
"Location": "sample string 10",
"IsTimeless": true,
"IsPrivate": true,
"PriorityId": 13,
"ActivityPriorityName": "sample string 14",
"ActivityTypeId": 15,
"ActivityTypeName": "sample string 16",
"Subject": "sample string 17",
"ScheduledBy": "sample string 18",
"ScheduledFor": "sample string 19",
"ScheduledForID": "09bb4af0-86e5-43f6-beec-156e5d8c2bc7",
"ScheduledByID": "82eae822-0734-476d-b853-3a2da68f251c",
"DeletedDates": [
"2025-12-15T13:43:16Z",
"2025-12-15T13:43:16Z"
],
"ClearedDates": [
"2025-12-15T13:43:16Z",
"2025-12-15T13:43:16Z"
],
"RecurSpec": {
"Month": 1,
"Frequency": 2,
"Day": {
"DayAsInt": 1
},
"OptOutValue": true,
"Operator": "sample string 4",
"AuthManager": "sample string 5",
"Field": "sample string 6",
"EndDate": "2025-12-15T13:43:16Z",
"eValue": 8,
"CallListName": "sample string 9",
"IsEndless": true
},
"EditDate": "2025-12-15T13:43:16Z",
"CreateDate": "2025-12-15T13:43:16Z",
"OccurTime": "2025-12-15T13:43:16Z",
"OccurEndTime": "2025-12-15T13:43:16Z",
"StartTime": "2025-12-15T13:43:16Z",
"EndTime": "2025-12-15T13:43:16Z",
"Details": "sample string 28",
"LinkedEntities": {
"Contacts": [
"44a8d3c2-53c5-4792-ad3e-341a9b5a0805",
"5bf20a05-33f8-4ad0-b357-3a68ff35165e"
],
"Companies": [
"256280aa-70b1-4d31-b66c-54440751d39d",
"ef6052eb-a583-4c3c-bbb6-4ce10802f824"
],
"Groups": [
"bf985c92-5415-404e-8559-9024a0301c7a",
"6f64eb43-42fc-48b0-9bf8-737b9c77fc93"
],
"Opportunities": [
"be9b1e04-56ea-4dc0-87ab-4cd28f1dac1c",
"499a6223-34bd-48ff-bd5b-7293a328ba96"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.