GET api/BookingTypes/{bookingTypeIdentity}/BusyPatterns?rangeStartDate={rangeStartDate}&rangeEndDate={rangeEndDate}&includeLinkedAvailability={includeLinkedAvailability}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingTypeIdentity

string

Required

rangeStartDate

date

Required

rangeEndDate

date

Required

includeLinkedAvailability

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of BusyPattern
NameDescriptionTypeAdditional information
UniqueIdentity

globally unique identifier

None.

StartDateTime

date

None.

EndDateTime

date

None.

Duration

decimal number

None.

Days

Collection of DayOfWeek

None.

Repeat

boolean

None.

IsException

boolean

None.

DstDifference

time interval

None.

DayOffset

integer

None.

Identity

globally unique identifier

None.

AvailabilityType

AvailabilityType

None.

EntityType

AvailabilityEntityType

None.

OffsetAtCreation

time interval

None.

RepeatStartLocal

time interval

None.

RepeatEndLocal

time interval

None.

Name

string

None.

IsLinkedPattern

boolean

None.

LinkedEntities

Collection of globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UniqueIdentity": "595aca5d-9982-4a0d-a7da-f36154d92ef5",
    "StartDateTime": "2024-11-21T08:54:41.4668393+00:00",
    "EndDateTime": "2024-11-21T08:54:41.4668393+00:00",
    "Duration": 4.1,
    "Days": [
      0,
      0
    ],
    "Repeat": true,
    "IsException": true,
    "DstDifference": "00:00:00.1234567",
    "DayOffset": 8,
    "Identity": "bbb4d8d7-e8d4-41b9-a421-ef347cb941c4",
    "AvailabilityType": 0,
    "EntityType": 0,
    "OffsetAtCreation": "00:00:00.1234567",
    "RepeatStartLocal": "00:00:00.1234567",
    "RepeatEndLocal": "00:00:00.1234567",
    "Name": "sample string 13",
    "IsLinkedPattern": true,
    "LinkedEntities": [
      "dcd80f89-4132-460a-b555-712ec55357bd",
      "bb288cac-0594-4f78-98c0-12a4dbef88b4"
    ]
  },
  {
    "UniqueIdentity": "595aca5d-9982-4a0d-a7da-f36154d92ef5",
    "StartDateTime": "2024-11-21T08:54:41.4668393+00:00",
    "EndDateTime": "2024-11-21T08:54:41.4668393+00:00",
    "Duration": 4.1,
    "Days": [
      0,
      0
    ],
    "Repeat": true,
    "IsException": true,
    "DstDifference": "00:00:00.1234567",
    "DayOffset": 8,
    "Identity": "bbb4d8d7-e8d4-41b9-a421-ef347cb941c4",
    "AvailabilityType": 0,
    "EntityType": 0,
    "OffsetAtCreation": "00:00:00.1234567",
    "RepeatStartLocal": "00:00:00.1234567",
    "RepeatEndLocal": "00:00:00.1234567",
    "Name": "sample string 13",
    "IsLinkedPattern": true,
    "LinkedEntities": [
      "dcd80f89-4132-460a-b555-712ec55357bd",
      "bb288cac-0594-4f78-98c0-12a4dbef88b4"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBusyPattern xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <BusyPattern>
    <AvailabilityType>Specific</AvailabilityType>
    <DayOffset>8</DayOffset>
    <Days xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
    </Days>
    <DstDifference>PT0.1234567S</DstDifference>
    <Duration>4.1</Duration>
    <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:54:41.4668393Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </EndDateTime>
    <EntityType>Resource</EntityType>
    <Identity>bbb4d8d7-e8d4-41b9-a421-ef347cb941c4</Identity>
    <IsException>true</IsException>
    <IsLinkedPattern>true</IsLinkedPattern>
    <LinkedEntities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>dcd80f89-4132-460a-b555-712ec55357bd</d3p1:guid>
      <d3p1:guid>bb288cac-0594-4f78-98c0-12a4dbef88b4</d3p1:guid>
    </LinkedEntities>
    <Name>sample string 13</Name>
    <OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
    <Repeat>true</Repeat>
    <RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
    <RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
    <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:54:41.4668393Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </StartDateTime>
    <UniqueIdentity>595aca5d-9982-4a0d-a7da-f36154d92ef5</UniqueIdentity>
  </BusyPattern>
  <BusyPattern>
    <AvailabilityType>Specific</AvailabilityType>
    <DayOffset>8</DayOffset>
    <Days xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
      <d3p1:DayOfWeek>Sunday</d3p1:DayOfWeek>
    </Days>
    <DstDifference>PT0.1234567S</DstDifference>
    <Duration>4.1</Duration>
    <EndDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:54:41.4668393Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </EndDateTime>
    <EntityType>Resource</EntityType>
    <Identity>bbb4d8d7-e8d4-41b9-a421-ef347cb941c4</Identity>
    <IsException>true</IsException>
    <IsLinkedPattern>true</IsLinkedPattern>
    <LinkedEntities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>dcd80f89-4132-460a-b555-712ec55357bd</d3p1:guid>
      <d3p1:guid>bb288cac-0594-4f78-98c0-12a4dbef88b4</d3p1:guid>
    </LinkedEntities>
    <Name>sample string 13</Name>
    <OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
    <Repeat>true</Repeat>
    <RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
    <RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
    <StartDateTime xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:54:41.4668393Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </StartDateTime>
    <UniqueIdentity>595aca5d-9982-4a0d-a7da-f36154d92ef5</UniqueIdentity>
  </BusyPattern>
</ArrayOfBusyPattern>