GET api/Search/ResourceTypesForRestrictions?bookingTypeIdentity={bookingTypeIdentity}&pageNumber={pageNumber}&itemsPerPage={itemsPerPage}&query={query}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingTypeIdentity

string

Required

pageNumber

integer

Default value is 1

itemsPerPage

integer

Default value is 10

query

string

None.

Body Parameters

None.

Response Information

Resource Description

PaginatedResultsOfResourceTypeSearchResult
NameDescriptionTypeAdditional information
TotalPages

integer

None.

CurrentPage

integer

None.

Results

Collection of ResourceTypeSearchResult

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPages": 1,
  "CurrentPage": 2,
  "Results": [
    {
      "Identity": "5636e76c-38e5-4187-9ef5-a63817817374",
      "Name": "sample string 2"
    },
    {
      "Identity": "5636e76c-38e5-4187-9ef5-a63817817374",
      "Name": "sample string 2"
    }
  ],
  "Count": 3
}

application/xml, text/xml

Sample:
<PaginatedResultsOfResourceTypeSearchResultqMSKJDOU 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>
    <ResourceTypeSearchResult>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">5636e76c-38e5-4187-9ef5-a63817817374</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 2</Name>
    </ResourceTypeSearchResult>
    <ResourceTypeSearchResult>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">5636e76c-38e5-4187-9ef5-a63817817374</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 2</Name>
    </ResourceTypeSearchResult>
  </Results>
  <TotalPages>1</TotalPages>
</PaginatedResultsOfResourceTypeSearchResultqMSKJDOU>