POST api/Calendar/Save
Request Information
URI Parameters
None.
Body Parameters
booleanRequest Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResourceWithEventsName | Description | Type | Additional information |
---|---|---|---|
Identity | globally unique identifier |
None. |
|
ResourceEvents | Collection of ResourceEvent |
None. |
Response Formats
application/json, text/json
Sample:
{ "Identity": "5e83f0f7-a854-406d-b401-31b7df4e134c", "ResourceEvents": [ { "EventIdentity": "ec7d993b-bfb5-49ce-b5fe-b9949be48e5c", "StartDateTime": "2025-01-29T00:29:25.9276226+00:00", "EndDateTime": "2025-01-29T00:29:25.9276226+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "565ed67b-8576-4d3b-91fa-6b8f81560ff2", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "d24e352d-86b8-4953-937a-500e3d6943b4", "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": "2025-01-29T00:29:25.9276226+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": "ec7d993b-bfb5-49ce-b5fe-b9949be48e5c", "StartDateTime": "2025-01-29T00:29:25.9276226+00:00", "EndDateTime": "2025-01-29T00:29:25.9276226+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "565ed67b-8576-4d3b-91fa-6b8f81560ff2", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "d24e352d-86b8-4953-937a-500e3d6943b4", "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": "2025-01-29T00:29:25.9276226+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>5e83f0f7-a854-406d-b401-31b7df4e134c</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>d24e352d-86b8-4953-937a-500e3d6943b4</d2p1:Identity> <d2p1:IsPublished>true</d2p1:IsPublished> <d2p1:LastModified xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-01-29T00:29:25.9276226Z</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>2025-01-29T00:29:25.9276226Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:EndDateTime> <d2p1:EventIdentity>ec7d993b-bfb5-49ce-b5fe-b9949be48e5c</d2p1:EventIdentity> <d2p1:StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-01-29T00:29:25.9276226Z</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>565ed67b-8576-4d3b-91fa-6b8f81560ff2</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>d24e352d-86b8-4953-937a-500e3d6943b4</d2p1:Identity> <d2p1:IsPublished>true</d2p1:IsPublished> <d2p1:LastModified xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-01-29T00:29:25.9276226Z</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>2025-01-29T00:29:25.9276226Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </d2p1:EndDateTime> <d2p1:EventIdentity>ec7d993b-bfb5-49ce-b5fe-b9949be48e5c</d2p1:EventIdentity> <d2p1:StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System"> <d4p1:DateTime>2025-01-29T00:29:25.9276226Z</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>565ed67b-8576-4d3b-91fa-6b8f81560ff2</d2p1:StatusIdentity> <d2p1:StatusTextColor>sample string 8</d2p1:StatusTextColor> <d2p1:UserManuallyAddedEvent>true</d2p1:UserManuallyAddedEvent> </d2p1:ResourceEvent> </ResourceEvents> </ResourceWithEvents>