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
ActivityName | 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": "2c32ba95-664c-4186-a946-747b0c5b0224", "SeriesId": "c05176f4-afac-4c26-846e-d0f3e8914693", "AccessorID": "ba12b161-edcf-4950-966f-304e230d31a6", "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": "b967e6f3-b44d-4b54-b9fa-6820eecd1215", "ScheduledByID": "c5d21faa-334e-46b5-8dce-7fbd15d09a26", "DeletedDates": [ "2024-12-05T02:18:11Z", "2024-12-05T02:18:11Z" ], "ClearedDates": [ "2024-12-05T02:18:11Z", "2024-12-05T02:18:11Z" ], "RecurSpec": { "Month": 1, "Frequency": 2, "Day": { "DayAsInt": 1 }, "OptOutValue": true, "Operator": "sample string 4", "AuthManager": "sample string 5", "Field": "sample string 6", "EndDate": "2024-12-05T02:18:11Z", "eValue": 8, "CallListName": "sample string 9", "IsEndless": true }, "EditDate": "2024-12-05T02:18:11Z", "CreateDate": "2024-12-05T02:18:11Z", "OccurTime": "2024-12-05T02:18:11Z", "OccurEndTime": "2024-12-05T02:18:11Z", "StartTime": "2024-12-05T02:18:11Z", "EndTime": "2024-12-05T02:18:11Z", "Details": "sample string 28", "LinkedEntities": { "Contacts": [ "a383bbd6-cf0d-4497-818e-1738e965cc56", "6291bc6d-7afc-4232-9fe4-d147f221327d" ], "Companies": [ "dd098431-f22d-4159-a16a-b1280750be18", "64876a2e-bfc5-40f2-bfdb-f4f94570e920" ], "Groups": [ "fc403442-d178-46b3-8972-101dbd866be3", "ecf9e607-7dfe-4ed1-85c1-04ec4dcd2a00" ], "Opportunities": [ "a817ef7d-75e3-4b25-8427-50061eaf47fa", "9c1af03d-7334-48ef-a7d1-8eeca4ce962c" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.