POST api/Activities
Create a new Activity
Request Information
URI Parameters
None.
Body Parameters
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": "34a2f9cf-e07c-4598-87a6-91e6d6522f2b", "SeriesId": "7c78f021-e75f-4bd4-bf56-e465708db8b4", "AccessorID": "8b0edecf-0641-4877-8108-73aa89e5b207", "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": "2e06897a-1a0b-40ba-906e-922dd2a0ff3c", "ScheduledByID": "971ab330-3434-436a-b364-63b9c0a86a25", "DeletedDates": [ "2025-08-21T15:30:44Z", "2025-08-21T15:30:44Z" ], "ClearedDates": [ "2025-08-21T15:30:44Z", "2025-08-21T15:30:44Z" ], "RecurSpec": { "Month": 1, "Frequency": 2, "Day": { "DayAsInt": 1 }, "OptOutValue": true, "Operator": "sample string 4", "AuthManager": "sample string 5", "Field": "sample string 6", "EndDate": "2025-08-21T15:30:44Z", "eValue": 8, "CallListName": "sample string 9", "IsEndless": true }, "EditDate": "2025-08-21T15:30:44Z", "CreateDate": "2025-08-21T15:30:44Z", "OccurTime": "2025-08-21T15:30:44Z", "OccurEndTime": "2025-08-21T15:30:44Z", "StartTime": "2025-08-21T15:30:44Z", "EndTime": "2025-08-21T15:30:44Z", "Details": "sample string 28", "LinkedEntities": { "Contacts": [ "abf0a150-a6ba-4814-b04e-78ee7361a767", "a1d067c6-b6e3-4ae8-8774-9a5fc7b559b5" ], "Companies": [ "edd14294-bcf0-4520-bd29-4ba8a110bfd0", "1b80f742-fd41-4c29-b6f2-b0e2efaa2443" ], "Groups": [ "818c90ee-b857-4cc9-9d6c-95d06bd8db65", "bd8a2e2e-e595-4234-975e-fcb4358ebd04" ], "Opportunities": [ "f79f6d03-11a5-4e84-ad6e-666a099827af", "4ff78992-ebbb-4566-bee1-77df579b1641" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"2ff50292-a073-4452-8fff-5b4dc82eb5c9"