POST api/ActivityManager/IndividualTaskPreview

Request Information

URI Parameters

None.

Body Parameters

StatusEvents
NameDescriptionTypeAdditional 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": "2024-11-21T08:56:58.3735639+00:00",
  "EndDateTime": "2024-11-21T08:56:58.3735639+00:00",
  "IncludeAllOccurrences": true,
  "StatusEventAssignments": [
    {
      "EventIdentity": "8e68bf65-b813-403d-892b-cc4f0c6b672d",
      "OccurrenceIdentity": "8cc3bb87-503f-4781-9c18-deb50f36d3cb",
      "StatusIdentity": "cfb655bc-f103-4fac-8f8a-e1a42421daca"
    },
    {
      "EventIdentity": "8e68bf65-b813-403d-892b-cc4f0c6b672d",
      "OccurrenceIdentity": "8cc3bb87-503f-4781-9c18-deb50f36d3cb",
      "StatusIdentity": "cfb655bc-f103-4fac-8f8a-e1a42421daca"
    }
  ],
  "EventOccurrences": {
    "68d89d92-5121-493f-8a4c-c3e63e989899": [
      "b68ec280-662d-46c3-982c-4dd70c71d581",
      "5e180639-457d-4038-9130-61f7ffb053c4"
    ],
    "d9f5e259-5cf7-4dda-b05a-74a7302a0a9f": [
      "105a694b-390b-49aa-be6a-333ab7735855",
      "ce43ae93-d7a4-4cbb-827a-118f9e8aa491"
    ]
  }
}

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>2024-11-21T08:56:58.3735639Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </EndDateTime>
  <EventOccurrences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfguidArrayOfguidox8ieOcg>
      <d2p1:Key>68d89d92-5121-493f-8a4c-c3e63e989899</d2p1:Key>
      <d2p1:Value>
        <d2p1:guid>b68ec280-662d-46c3-982c-4dd70c71d581</d2p1:guid>
        <d2p1:guid>5e180639-457d-4038-9130-61f7ffb053c4</d2p1:guid>
      </d2p1:Value>
    </d2p1:KeyValueOfguidArrayOfguidox8ieOcg>
    <d2p1:KeyValueOfguidArrayOfguidox8ieOcg>
      <d2p1:Key>d9f5e259-5cf7-4dda-b05a-74a7302a0a9f</d2p1:Key>
      <d2p1:Value>
        <d2p1:guid>105a694b-390b-49aa-be6a-333ab7735855</d2p1:guid>
        <d2p1:guid>ce43ae93-d7a4-4cbb-827a-118f9e8aa491</d2p1:guid>
      </d2p1:Value>
    </d2p1:KeyValueOfguidArrayOfguidox8ieOcg>
  </EventOccurrences>
  <IncludeAllOccurrences>true</IncludeAllOccurrences>
  <StartDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:56:58.3735639Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </StartDateTime>
  <StatusEventAssignments>
    <StatusEventAssignment>
      <EventIdentity>8e68bf65-b813-403d-892b-cc4f0c6b672d</EventIdentity>
      <OccurrenceIdentity>8cc3bb87-503f-4781-9c18-deb50f36d3cb</OccurrenceIdentity>
      <StatusIdentity>cfb655bc-f103-4fac-8f8a-e1a42421daca</StatusIdentity>
    </StatusEventAssignment>
    <StatusEventAssignment>
      <EventIdentity>8e68bf65-b813-403d-892b-cc4f0c6b672d</EventIdentity>
      <OccurrenceIdentity>8cc3bb87-503f-4781-9c18-deb50f36d3cb</OccurrenceIdentity>
      <StatusIdentity>cfb655bc-f103-4fac-8f8a-e1a42421daca</StatusIdentity>
    </StatusEventAssignment>
  </StatusEventAssignments>
</StatusEvents>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EventStatusChangeStatistics
NameDescriptionTypeAdditional 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>