POST api/ResourceTypes/{resourceTypeIdentity}/Resources/{resourceIdentity}/Events
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
resourceTypeIdentity | string |
Required |
|
resourceIdentity | string |
Required |
Body Parameters
Collection of ResourceEventName | Description | Type | Additional information |
---|---|---|---|
EventIdentity | globally unique identifier |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
UserManuallyAddedEvent | boolean |
None. |
|
StatusIdentity | globally unique identifier |
None. |
|
Status | string |
None. |
|
StatusBackgroundColor | string |
None. |
|
StatusTextColor | string |
None. |
|
Identity | globally unique identifier |
None. |
|
Location | string |
None. |
|
Description | string |
None. |
|
HostKey | string |
None. |
|
Name | string |
None. |
|
EventType | string |
None. |
|
Owner | string |
None. |
|
IsPublished | boolean |
None. |
|
LastModified | date |
None. |
|
ParentKey | string |
None. |
|
ExtraProperties | Collection of ExtraProperty |
None. |
|
StatusName | string |
None. |
|
Source | string |
None. |
|
WeekRanges | string |
None. |
|
WeekLabels | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "EventIdentity": "c38ebcbf-695f-49d6-91b5-fa0f3025d918", "StartDateTime": "2025-08-31T10:02:57.4823628+00:00", "EndDateTime": "2025-08-31T10:02:57.4823628+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "9fbc5af5-59c2-4f3e-a680-12dc7c1969fe", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "31f5d5d8-c914-41b4-a31c-bd1b0caca38a", "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-08-31T10:02:57.4823628+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": "c38ebcbf-695f-49d6-91b5-fa0f3025d918", "StartDateTime": "2025-08-31T10:02:57.4823628+00:00", "EndDateTime": "2025-08-31T10:02:57.4823628+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "9fbc5af5-59c2-4f3e-a680-12dc7c1969fe", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "31f5d5d8-c914-41b4-a31c-bd1b0caca38a", "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-08-31T10:02:57.4823628+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:
<ArrayOfResourceEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <ResourceEvent> <WeekLabels>sample string 22</WeekLabels> <WeekRanges>sample string 21</WeekRanges> <Description>sample string 11</Description> <EventType>sample string 14</EventType> <ExtraProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel"> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> </ExtraProperties> <HostKey>sample string 12</HostKey> <Identity>31f5d5d8-c914-41b4-a31c-bd1b0caca38a</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </LastModified> <Location>sample string 10</Location> <Name>sample string 13</Name> <Owner>sample string 15</Owner> <ParentKey>sample string 18</ParentKey> <Source>sample string 20</Source> <StatusName>sample string 19</StatusName> <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>c38ebcbf-695f-49d6-91b5-fa0f3025d918</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>9fbc5af5-59c2-4f3e-a680-12dc7c1969fe</StatusIdentity> <StatusTextColor>sample string 8</StatusTextColor> <UserManuallyAddedEvent>true</UserManuallyAddedEvent> </ResourceEvent> <ResourceEvent> <WeekLabels>sample string 22</WeekLabels> <WeekRanges>sample string 21</WeekRanges> <Description>sample string 11</Description> <EventType>sample string 14</EventType> <ExtraProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel"> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> </ExtraProperties> <HostKey>sample string 12</HostKey> <Identity>31f5d5d8-c914-41b4-a31c-bd1b0caca38a</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </LastModified> <Location>sample string 10</Location> <Name>sample string 13</Name> <Owner>sample string 15</Owner> <ParentKey>sample string 18</ParentKey> <Source>sample string 20</Source> <StatusName>sample string 19</StatusName> <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>c38ebcbf-695f-49d6-91b5-fa0f3025d918</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>9fbc5af5-59c2-4f3e-a680-12dc7c1969fe</StatusIdentity> <StatusTextColor>sample string 8</StatusTextColor> <UserManuallyAddedEvent>true</UserManuallyAddedEvent> </ResourceEvent> </ArrayOfResourceEvent>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ResourceEventName | Description | Type | Additional information |
---|---|---|---|
EventIdentity | globally unique identifier |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
UserManuallyAddedEvent | boolean |
None. |
|
StatusIdentity | globally unique identifier |
None. |
|
Status | string |
None. |
|
StatusBackgroundColor | string |
None. |
|
StatusTextColor | string |
None. |
|
Identity | globally unique identifier |
None. |
|
Location | string |
None. |
|
Description | string |
None. |
|
HostKey | string |
None. |
|
Name | string |
None. |
|
EventType | string |
None. |
|
Owner | string |
None. |
|
IsPublished | boolean |
None. |
|
LastModified | date |
None. |
|
ParentKey | string |
None. |
|
ExtraProperties | Collection of ExtraProperty |
None. |
|
StatusName | string |
None. |
|
Source | string |
None. |
|
WeekRanges | string |
None. |
|
WeekLabels | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EventIdentity": "e08725a9-3d7c-45a8-981f-02b8f44aad84", "StartDateTime": "2025-08-31T10:02:57.4823628+00:00", "EndDateTime": "2025-08-31T10:02:57.4823628+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "a8f59603-416b-421e-8c26-dca7b1b2ae0b", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "bc3ede32-86b4-4095-b6eb-06d8410fb6ce", "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-08-31T10:02:57.4823628+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": "e08725a9-3d7c-45a8-981f-02b8f44aad84", "StartDateTime": "2025-08-31T10:02:57.4823628+00:00", "EndDateTime": "2025-08-31T10:02:57.4823628+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "a8f59603-416b-421e-8c26-dca7b1b2ae0b", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "bc3ede32-86b4-4095-b6eb-06d8410fb6ce", "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-08-31T10:02:57.4823628+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:
<ArrayOfResourceEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <ResourceEvent> <WeekLabels>sample string 22</WeekLabels> <WeekRanges>sample string 21</WeekRanges> <Description>sample string 11</Description> <EventType>sample string 14</EventType> <ExtraProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel"> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> </ExtraProperties> <HostKey>sample string 12</HostKey> <Identity>bc3ede32-86b4-4095-b6eb-06d8410fb6ce</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </LastModified> <Location>sample string 10</Location> <Name>sample string 13</Name> <Owner>sample string 15</Owner> <ParentKey>sample string 18</ParentKey> <Source>sample string 20</Source> <StatusName>sample string 19</StatusName> <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>e08725a9-3d7c-45a8-981f-02b8f44aad84</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>a8f59603-416b-421e-8c26-dca7b1b2ae0b</StatusIdentity> <StatusTextColor>sample string 8</StatusTextColor> <UserManuallyAddedEvent>true</UserManuallyAddedEvent> </ResourceEvent> <ResourceEvent> <WeekLabels>sample string 22</WeekLabels> <WeekRanges>sample string 21</WeekRanges> <Description>sample string 11</Description> <EventType>sample string 14</EventType> <ExtraProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Common.Messages.ObjectModel"> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> <d3p1:ExtraProperty> <d3p1:DisplayName>sample string 2</d3p1:DisplayName> <d3p1:Name>sample string 1</d3p1:Name> <d3p1:Rank>4</d3p1:Rank> <d3p1:Value>sample string 3</d3p1:Value> </d3p1:ExtraProperty> </ExtraProperties> <HostKey>sample string 12</HostKey> <Identity>bc3ede32-86b4-4095-b6eb-06d8410fb6ce</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </LastModified> <Location>sample string 10</Location> <Name>sample string 13</Name> <Owner>sample string 15</Owner> <ParentKey>sample string 18</ParentKey> <Source>sample string 20</Source> <StatusName>sample string 19</StatusName> <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>e08725a9-3d7c-45a8-981f-02b8f44aad84</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-08-31T10:02:57.4823628Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>a8f59603-416b-421e-8c26-dca7b1b2ae0b</StatusIdentity> <StatusTextColor>sample string 8</StatusTextColor> <UserManuallyAddedEvent>true</UserManuallyAddedEvent> </ResourceEvent> </ArrayOfResourceEvent>