POST api/Events
Request Information
URI Parameters
None.
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": "a843f6cf-0db3-443f-89b2-878cb7e1ecf0", "StartDateTime": "2024-11-21T08:51:45.3160084+00:00", "EndDateTime": "2024-11-21T08:51:45.3160084+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "a40fb3e5-26b2-49d2-9757-541c12db3dbb", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "ec6adc45-697c-4b1a-b54d-59be4b007a73", "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:51:45.3160084+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": "a843f6cf-0db3-443f-89b2-878cb7e1ecf0", "StartDateTime": "2024-11-21T08:51:45.3160084+00:00", "EndDateTime": "2024-11-21T08:51:45.3160084+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "a40fb3e5-26b2-49d2-9757-541c12db3dbb", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "ec6adc45-697c-4b1a-b54d-59be4b007a73", "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:51:45.3160084+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>ec6adc45-697c-4b1a-b54d-59be4b007a73</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</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>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>a843f6cf-0db3-443f-89b2-878cb7e1ecf0</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>a40fb3e5-26b2-49d2-9757-541c12db3dbb</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>ec6adc45-697c-4b1a-b54d-59be4b007a73</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</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>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>a843f6cf-0db3-443f-89b2-878cb7e1ecf0</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>a40fb3e5-26b2-49d2-9757-541c12db3dbb</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": "6b4808b4-525d-4920-b562-b277475a1270", "StartDateTime": "2024-11-21T08:51:45.3160084+00:00", "EndDateTime": "2024-11-21T08:51:45.3160084+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "34416116-692f-452c-a5e5-cdd66e8dc391", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "3a5f408e-b432-4734-978f-958d1a231a1e", "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:51:45.3160084+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": "6b4808b4-525d-4920-b562-b277475a1270", "StartDateTime": "2024-11-21T08:51:45.3160084+00:00", "EndDateTime": "2024-11-21T08:51:45.3160084+00:00", "UserManuallyAddedEvent": true, "StatusIdentity": "34416116-692f-452c-a5e5-cdd66e8dc391", "Status": "sample string 6", "StatusBackgroundColor": "sample string 7", "StatusTextColor": "sample string 8", "Identity": "3a5f408e-b432-4734-978f-958d1a231a1e", "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:51:45.3160084+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>3a5f408e-b432-4734-978f-958d1a231a1e</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</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>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>6b4808b4-525d-4920-b562-b277475a1270</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>34416116-692f-452c-a5e5-cdd66e8dc391</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>3a5f408e-b432-4734-978f-958d1a231a1e</Identity> <IsPublished>true</IsPublished> <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</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>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </EndDateTime> <EventIdentity>6b4808b4-525d-4920-b562-b277475a1270</EventIdentity> <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:51:45.3160084Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </StartDateTime> <Status>sample string 6</Status> <StatusBackgroundColor>sample string 7</StatusBackgroundColor> <StatusIdentity>34416116-692f-452c-a5e5-cdd66e8dc391</StatusIdentity> <StatusTextColor>sample string 8</StatusTextColor> <UserManuallyAddedEvent>true</UserManuallyAddedEvent> </ResourceEvent> </ArrayOfResourceEvent>