POST api/Calendar/Preview

Request Information

URI Parameters

None.

Body Parameters

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "923182fe-877a-41c1-b0df-da774f23c0d1",
  "5cd36467-fe64-43ff-8754-fdbc73538c3a"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>923182fe-877a-41c1-b0df-da774f23c0d1</guid>
  <guid>5cd36467-fe64-43ff-8754-fdbc73538c3a</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResourceWithEvents
NameDescriptionTypeAdditional information
Identity

globally unique identifier

None.

ResourceEvents

Collection of ResourceEvent

None.

Response Formats

application/json, text/json

Sample:
{
  "Identity": "745fd565-3fbe-4f06-b272-c80f3cd2501f",
  "ResourceEvents": [
    {
      "EventIdentity": "fc98c780-4318-405f-8b8b-85978307e25b",
      "StartDateTime": "2024-11-21T08:53:30.3315925+00:00",
      "EndDateTime": "2024-11-21T08:53:30.3315925+00:00",
      "UserManuallyAddedEvent": true,
      "StatusIdentity": "0906ecde-563d-402c-a5d9-1445037e2833",
      "Status": "sample string 6",
      "StatusBackgroundColor": "sample string 7",
      "StatusTextColor": "sample string 8",
      "Identity": "99b3c345-7f77-4d29-844f-953df8898463",
      "Location": "sample string 10",
      "Description": "sample string 11",
      "HostKey": "sample string 12",
      "Name": "sample string 13",
      "EventType": "sample string 14",
      "Owner": "sample string 15",
      "IsPublished": true,
      "LastModified": "2024-11-21T08:53:30.3315925+00:00",
      "ParentKey": "sample string 18",
      "ExtraProperties": [
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "Value": "sample string 3",
          "Rank": 4
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "Value": "sample string 3",
          "Rank": 4
        }
      ],
      "StatusName": "sample string 19",
      "Source": "sample string 20",
      "WeekRanges": "sample string 21",
      "WeekLabels": "sample string 22"
    },
    {
      "EventIdentity": "fc98c780-4318-405f-8b8b-85978307e25b",
      "StartDateTime": "2024-11-21T08:53:30.3315925+00:00",
      "EndDateTime": "2024-11-21T08:53:30.3315925+00:00",
      "UserManuallyAddedEvent": true,
      "StatusIdentity": "0906ecde-563d-402c-a5d9-1445037e2833",
      "Status": "sample string 6",
      "StatusBackgroundColor": "sample string 7",
      "StatusTextColor": "sample string 8",
      "Identity": "99b3c345-7f77-4d29-844f-953df8898463",
      "Location": "sample string 10",
      "Description": "sample string 11",
      "HostKey": "sample string 12",
      "Name": "sample string 13",
      "EventType": "sample string 14",
      "Owner": "sample string 15",
      "IsPublished": true,
      "LastModified": "2024-11-21T08:53:30.3315925+00:00",
      "ParentKey": "sample string 18",
      "ExtraProperties": [
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "Value": "sample string 3",
          "Rank": 4
        },
        {
          "Name": "sample string 1",
          "DisplayName": "sample string 2",
          "Value": "sample string 3",
          "Rank": 4
        }
      ],
      "StatusName": "sample string 19",
      "Source": "sample string 20",
      "WeekRanges": "sample string 21",
      "WeekLabels": "sample string 22"
    }
  ]
}

application/xml, text/xml

Sample:
<ResourceWithEvents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ToDoModels">
  <Identity>745fd565-3fbe-4f06-b272-c80f3cd2501f</Identity>
  <ResourceEvents xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
    <d2p1:ResourceEvent>
      <d2p1:WeekLabels>sample string 22</d2p1:WeekLabels>
      <d2p1:WeekRanges>sample string 21</d2p1:WeekRanges>
      <d2p1:Description>sample string 11</d2p1:Description>
      <d2p1:EventType>sample string 14</d2p1:EventType>
      <d2p1:ExtraProperties xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel">
        <d4p1:ExtraProperty>
          <d4p1:DisplayName>sample string 2</d4p1:DisplayName>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Rank>4</d4p1:Rank>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ExtraProperty>
        <d4p1:ExtraProperty>
          <d4p1:DisplayName>sample string 2</d4p1:DisplayName>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Rank>4</d4p1:Rank>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ExtraProperty>
      </d2p1:ExtraProperties>
      <d2p1:HostKey>sample string 12</d2p1:HostKey>
      <d2p1:Identity>99b3c345-7f77-4d29-844f-953df8898463</d2p1:Identity>
      <d2p1:IsPublished>true</d2p1:IsPublished>
      <d2p1:LastModified xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:LastModified>
      <d2p1:Location>sample string 10</d2p1:Location>
      <d2p1:Name>sample string 13</d2p1:Name>
      <d2p1:Owner>sample string 15</d2p1:Owner>
      <d2p1:ParentKey>sample string 18</d2p1:ParentKey>
      <d2p1:Source>sample string 20</d2p1:Source>
      <d2p1:StatusName>sample string 19</d2p1:StatusName>
      <d2p1:EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:EndDateTime>
      <d2p1:EventIdentity>fc98c780-4318-405f-8b8b-85978307e25b</d2p1:EventIdentity>
      <d2p1:StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:StartDateTime>
      <d2p1:Status>sample string 6</d2p1:Status>
      <d2p1:StatusBackgroundColor>sample string 7</d2p1:StatusBackgroundColor>
      <d2p1:StatusIdentity>0906ecde-563d-402c-a5d9-1445037e2833</d2p1:StatusIdentity>
      <d2p1:StatusTextColor>sample string 8</d2p1:StatusTextColor>
      <d2p1:UserManuallyAddedEvent>true</d2p1:UserManuallyAddedEvent>
    </d2p1:ResourceEvent>
    <d2p1:ResourceEvent>
      <d2p1:WeekLabels>sample string 22</d2p1:WeekLabels>
      <d2p1:WeekRanges>sample string 21</d2p1:WeekRanges>
      <d2p1:Description>sample string 11</d2p1:Description>
      <d2p1:EventType>sample string 14</d2p1:EventType>
      <d2p1:ExtraProperties xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel">
        <d4p1:ExtraProperty>
          <d4p1:DisplayName>sample string 2</d4p1:DisplayName>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Rank>4</d4p1:Rank>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ExtraProperty>
        <d4p1:ExtraProperty>
          <d4p1:DisplayName>sample string 2</d4p1:DisplayName>
          <d4p1:Name>sample string 1</d4p1:Name>
          <d4p1:Rank>4</d4p1:Rank>
          <d4p1:Value>sample string 3</d4p1:Value>
        </d4p1:ExtraProperty>
      </d2p1:ExtraProperties>
      <d2p1:HostKey>sample string 12</d2p1:HostKey>
      <d2p1:Identity>99b3c345-7f77-4d29-844f-953df8898463</d2p1:Identity>
      <d2p1:IsPublished>true</d2p1:IsPublished>
      <d2p1:LastModified xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:LastModified>
      <d2p1:Location>sample string 10</d2p1:Location>
      <d2p1:Name>sample string 13</d2p1:Name>
      <d2p1:Owner>sample string 15</d2p1:Owner>
      <d2p1:ParentKey>sample string 18</d2p1:ParentKey>
      <d2p1:Source>sample string 20</d2p1:Source>
      <d2p1:StatusName>sample string 19</d2p1:StatusName>
      <d2p1:EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:EndDateTime>
      <d2p1:EventIdentity>fc98c780-4318-405f-8b8b-85978307e25b</d2p1:EventIdentity>
      <d2p1:StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>2024-11-21T08:53:30.3315925Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:StartDateTime>
      <d2p1:Status>sample string 6</d2p1:Status>
      <d2p1:StatusBackgroundColor>sample string 7</d2p1:StatusBackgroundColor>
      <d2p1:StatusIdentity>0906ecde-563d-402c-a5d9-1445037e2833</d2p1:StatusIdentity>
      <d2p1:StatusTextColor>sample string 8</d2p1:StatusTextColor>
      <d2p1:UserManuallyAddedEvent>true</d2p1:UserManuallyAddedEvent>
    </d2p1:ResourceEvent>
  </ResourceEvents>
</ResourceWithEvents>