GET api/Resources/{resourceId}/BookingRequests?startDate={startDate}&endDate={endDate}&checkSplitPermissions={checkSplitPermissions}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceId

string

Required

startDate

date

Required

endDate

date

Required

checkSplitPermissions

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of ResourceEvent
NameDescriptionTypeAdditional 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": "665696fe-926e-4d03-a22f-d0c8c07b3861",
    "StartDateTime": "2024-11-21T09:18:06.3978948+00:00",
    "EndDateTime": "2024-11-21T09:18:06.3978948+00:00",
    "UserManuallyAddedEvent": true,
    "StatusIdentity": "ba76e7a0-ea20-4451-ac61-5b87ea2d8af1",
    "Status": "sample string 6",
    "StatusBackgroundColor": "sample string 7",
    "StatusTextColor": "sample string 8",
    "Identity": "a0ff0b81-aeee-4ade-accf-4e196416dbd9",
    "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-21T09:18:06.3978948+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": "665696fe-926e-4d03-a22f-d0c8c07b3861",
    "StartDateTime": "2024-11-21T09:18:06.3978948+00:00",
    "EndDateTime": "2024-11-21T09:18:06.3978948+00:00",
    "UserManuallyAddedEvent": true,
    "StatusIdentity": "ba76e7a0-ea20-4451-ac61-5b87ea2d8af1",
    "Status": "sample string 6",
    "StatusBackgroundColor": "sample string 7",
    "StatusTextColor": "sample string 8",
    "Identity": "a0ff0b81-aeee-4ade-accf-4e196416dbd9",
    "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-21T09:18:06.3978948+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>a0ff0b81-aeee-4ade-accf-4e196416dbd9</Identity>
    <IsPublished>true</IsPublished>
    <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T09:18:06.3978948Z</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-21T09:18:06.3978948Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </EndDateTime>
    <EventIdentity>665696fe-926e-4d03-a22f-d0c8c07b3861</EventIdentity>
    <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T09:18:06.3978948Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </StartDateTime>
    <Status>sample string 6</Status>
    <StatusBackgroundColor>sample string 7</StatusBackgroundColor>
    <StatusIdentity>ba76e7a0-ea20-4451-ac61-5b87ea2d8af1</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>a0ff0b81-aeee-4ade-accf-4e196416dbd9</Identity>
    <IsPublished>true</IsPublished>
    <LastModified xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T09:18:06.3978948Z</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-21T09:18:06.3978948Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </EndDateTime>
    <EventIdentity>665696fe-926e-4d03-a22f-d0c8c07b3861</EventIdentity>
    <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T09:18:06.3978948Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </StartDateTime>
    <Status>sample string 6</Status>
    <StatusBackgroundColor>sample string 7</StatusBackgroundColor>
    <StatusIdentity>ba76e7a0-ea20-4451-ac61-5b87ea2d8af1</StatusIdentity>
    <StatusTextColor>sample string 8</StatusTextColor>
    <UserManuallyAddedEvent>true</UserManuallyAddedEvent>
  </ResourceEvent>
</ArrayOfResourceEvent>