GET api/AvailabilityPatterns?pageNumber={pageNumber}&itemsPerPage={itemsPerPage}&query={query}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

Default value is 1

itemsPerPage

integer

Default value is 10

query

string

Default value is

Body Parameters

None.

Response Information

Resource Description

PaginatedResultsOfBusyPatternConfiguration
NameDescriptionTypeAdditional information
TotalPages

integer

None.

CurrentPage

integer

None.

Results

Collection of BusyPatternConfiguration

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPages": 1,
  "CurrentPage": 2,
  "Results": [
    {
      "Identity": "c7a69c7b-ebf2-4dd6-ab38-f93686df7ecb",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Enabled": true,
      "BookingTypesLinkedTo": 5,
      "ResourcesLinkedTo": 6
    },
    {
      "Identity": "c7a69c7b-ebf2-4dd6-ab38-f93686df7ecb",
      "Name": "sample string 2",
      "Description": "sample string 3",
      "Enabled": true,
      "BookingTypesLinkedTo": 5,
      "ResourcesLinkedTo": 6
    }
  ],
  "Count": 3
}

application/xml, text/xml

Sample:
<PaginatedResultsOfBusyPatternConfigurationqMSKJDOU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Count>3</Count>
  <CurrentPage>2</CurrentPage>
  <Results>
    <BusyPatternConfiguration>
      <BookingTypesLinkedTo>5</BookingTypesLinkedTo>
      <Description>sample string 3</Description>
      <Enabled>true</Enabled>
      <Identity>c7a69c7b-ebf2-4dd6-ab38-f93686df7ecb</Identity>
      <Name>sample string 2</Name>
      <ResourcesLinkedTo>6</ResourcesLinkedTo>
    </BusyPatternConfiguration>
    <BusyPatternConfiguration>
      <BookingTypesLinkedTo>5</BookingTypesLinkedTo>
      <Description>sample string 3</Description>
      <Enabled>true</Enabled>
      <Identity>c7a69c7b-ebf2-4dd6-ab38-f93686df7ecb</Identity>
      <Name>sample string 2</Name>
      <ResourcesLinkedTo>6</ResourcesLinkedTo>
    </BusyPatternConfiguration>
  </Results>
  <TotalPages>1</TotalPages>
</PaginatedResultsOfBusyPatternConfigurationqMSKJDOU>