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": "2ffbe485-835b-430a-aaa9-8d41a9a178f3", "SeriesId": "9e45781e-4581-4aad-a46d-9fcb2a7566a8", "AccessorID": "2e66675e-7a16-400d-9ee0-a9d8108b3aba", "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": "93cb741a-ea4c-4aed-92bc-58a091d5cb33", "ScheduledByID": "b33fcd5c-5a99-460f-9394-4b928af8b60c", "DeletedDates": [ "2025-04-11T07:12:32Z", "2025-04-11T07:12:32Z" ], "ClearedDates": [ "2025-04-11T07:12:32Z", "2025-04-11T07:12:32Z" ], "RecurSpec": { "Month": 1, "Frequency": 2, "Day": { "DayAsInt": 1 }, "OptOutValue": true, "Operator": "sample string 4", "AuthManager": "sample string 5", "Field": "sample string 6", "EndDate": "2025-04-11T07:12:32Z", "eValue": 8, "CallListName": "sample string 9", "IsEndless": true }, "EditDate": "2025-04-11T07:12:32Z", "CreateDate": "2025-04-11T07:12:32Z", "OccurTime": "2025-04-11T07:12:32Z", "OccurEndTime": "2025-04-11T07:12:32Z", "StartTime": "2025-04-11T07:12:32Z", "EndTime": "2025-04-11T07:12:32Z", "Details": "sample string 28", "LinkedEntities": { "Contacts": [ "33aa70ad-ff1b-40fc-a426-4118e01df5e7", "6a118821-e120-4a94-be7f-76041fd223aa" ], "Companies": [ "b7a6b024-6552-4959-9b6f-40c6b5d705ba", "896d0a82-40d3-47fa-ab49-a57acb288d62" ], "Groups": [ "77824f66-94fd-4c2a-b0cb-e80975976aca", "267649a1-2b97-4fc2-8235-54a64dd26610" ], "Opportunities": [ "c70ee6fa-5132-4be2-9883-53b21bc4bf0e", "b3f7d4d8-2fb6-4cc2-bf27-505d6ab40e22" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"9b77ee6f-becd-4e40-a0f5-59dbf80af789"