POST api/ActivityManager/IndividualTaskPreview
Request Information
URI Parameters
None.
Body Parameters
StatusEventsName | Description | Type | Additional information |
---|---|---|---|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
IncludeAllOccurrences | boolean |
None. |
|
StatusEventAssignments | Collection of StatusEventAssignment |
None. |
|
EventOccurrences | Dictionary of globally unique identifier [key] and Collection of globally unique identifier [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "StartDateTime": "2025-04-03T22:52:19.4915905+00:00", "EndDateTime": "2025-04-03T22:52:19.4915905+00:00", "IncludeAllOccurrences": true, "StatusEventAssignments": [ { "EventIdentity": "13a7c74b-71a2-4e29-8178-f95a88391106", "OccurrenceIdentity": "e7ce814a-5192-4a56-b8e3-a8fc0b2c5cd7", "StatusIdentity": "72c8feaa-b5b1-4a22-97a5-732e60ae94e4" }, { "EventIdentity": "13a7c74b-71a2-4e29-8178-f95a88391106", "OccurrenceIdentity": "e7ce814a-5192-4a56-b8e3-a8fc0b2c5cd7", "StatusIdentity": "72c8feaa-b5b1-4a22-97a5-732e60ae94e4" } ], "EventOccurrences": { "8ea8103a-130c-4902-b131-35fe7001a35d": [ "c09866fa-1326-44bc-af5f-b26514b24b73", "13fcfc49-8a6a-4aca-bc22-e57c0f974e5b" ], "9c0fd27f-a95c-46e8-8f5e-080ef3396e62": [ "a0cf6277-b6f9-43b5-b8dc-95cbd3fa69a0", "a61f7ad5-ab40-4966-bd9d-84d56b24a085" ] } }
application/xml, text/xml
Sample:
<StatusEvents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <EndDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-04-03T22:52:19.4915905Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </EndDateTime> <EventOccurrences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfguidArrayOfguidox8ieOcg> <d2p1:Key>8ea8103a-130c-4902-b131-35fe7001a35d</d2p1:Key> <d2p1:Value> <d2p1:guid>c09866fa-1326-44bc-af5f-b26514b24b73</d2p1:guid> <d2p1:guid>13fcfc49-8a6a-4aca-bc22-e57c0f974e5b</d2p1:guid> </d2p1:Value> </d2p1:KeyValueOfguidArrayOfguidox8ieOcg> <d2p1:KeyValueOfguidArrayOfguidox8ieOcg> <d2p1:Key>9c0fd27f-a95c-46e8-8f5e-080ef3396e62</d2p1:Key> <d2p1:Value> <d2p1:guid>a0cf6277-b6f9-43b5-b8dc-95cbd3fa69a0</d2p1:guid> <d2p1:guid>a61f7ad5-ab40-4966-bd9d-84d56b24a085</d2p1:guid> </d2p1:Value> </d2p1:KeyValueOfguidArrayOfguidox8ieOcg> </EventOccurrences> <IncludeAllOccurrences>true</IncludeAllOccurrences> <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2025-04-03T22:52:19.4915905Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </StartDateTime> <StatusEventAssignments> <StatusEventAssignment> <EventIdentity>13a7c74b-71a2-4e29-8178-f95a88391106</EventIdentity> <OccurrenceIdentity>e7ce814a-5192-4a56-b8e3-a8fc0b2c5cd7</OccurrenceIdentity> <StatusIdentity>72c8feaa-b5b1-4a22-97a5-732e60ae94e4</StatusIdentity> </StatusEventAssignment> <StatusEventAssignment> <EventIdentity>13a7c74b-71a2-4e29-8178-f95a88391106</EventIdentity> <OccurrenceIdentity>e7ce814a-5192-4a56-b8e3-a8fc0b2c5cd7</OccurrenceIdentity> <StatusIdentity>72c8feaa-b5b1-4a22-97a5-732e60ae94e4</StatusIdentity> </StatusEventAssignment> </StatusEventAssignments> </StatusEvents>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EventStatusChangeStatisticsName | Description | Type | Additional information |
---|---|---|---|
TaskKey | string |
None. |
|
EventCount | integer |
None. |
|
EventOccurrenceCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "TaskKey": "sample string 1", "EventCount": 2, "EventOccurrenceCount": 3 }
application/xml, text/xml
Sample:
<EventStatusChangeStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <EventCount>2</EventCount> <EventOccurrenceCount>3</EventOccurrenceCount> <TaskKey>sample string 1</TaskKey> </EventStatusChangeStatistics>