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": "06d7bd71-00a6-481d-b5f6-d1361ba736db", "SeriesId": "0f1c8c89-5f92-4da0-859e-3e2b33c6e18a", "AccessorID": "0fa59520-1334-494a-a1bc-4f35db2927c3", "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": "874d8aa7-e186-4c67-93b1-ab3d66047250", "ScheduledByID": "eac86a9c-4d58-4f84-9d42-88fb53ba9820", "DeletedDates": [ "2024-05-19T02:02:36Z", "2024-05-19T02:02:36Z" ], "ClearedDates": [ "2024-05-19T02:02:36Z", "2024-05-19T02:02:36Z" ], "RecurSpec": { "Month": 1, "Frequency": 2, "Day": { "DayAsInt": 1 }, "OptOutValue": true, "Operator": "sample string 4", "AuthManager": "sample string 5", "Field": "sample string 6", "EndDate": "2024-05-19T02:02:36Z", "eValue": 8, "CallListName": "sample string 9", "IsEndless": true }, "EditDate": "2024-05-19T02:02:36Z", "CreateDate": "2024-05-19T02:02:36Z", "OccurTime": "2024-05-19T02:02:36Z", "OccurEndTime": "2024-05-19T02:02:36Z", "StartTime": "2024-05-19T02:02:36Z", "EndTime": "2024-05-19T02:02:36Z", "Details": "sample string 28", "LinkedEntities": { "Contacts": [ "c267115c-a2df-4479-9984-d10ab5287bac", "77f6cc9c-4093-4767-bb0e-c0fc8556b0bf" ], "Companies": [ "aec05194-4c55-4c62-9dbe-ed2ec2d00818", "53d7b7c9-46e5-4bb4-b9a1-650b8695d020" ], "Groups": [ "f0b8d144-b84f-4423-bd6a-ced75a7dc8ec", "b152f343-111e-4a2a-9b2d-5cda28def2c6" ], "Opportunities": [ "162be034-b64a-4c08-904b-51d50631d327", "f2d86fbf-51ec-4805-9276-61b1436428fe" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.