POST api/Search/Filter

Request Information

URI Parameters

None.

Body Parameters

FilterRequest
NameDescriptionTypeAdditional information
Query

string

None.

ItemsPerPage

integer

None.

PageNumber

integer

None.

FilterType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Query": "sample string 1",
  "ItemsPerPage": 2,
  "PageNumber": 3,
  "FilterType": "sample string 4"
}

application/xml, text/xml

Sample:
<FilterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <FilterType>sample string 4</FilterType>
  <ItemsPerPage>2</ItemsPerPage>
  <PageNumber>3</PageNumber>
  <Query>sample string 1</Query>
</FilterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaginatedResultsOfSearchResult
NameDescriptionTypeAdditional information
TotalPages

integer

None.

CurrentPage

integer

None.

Results

Collection of SearchResult

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalPages": 1,
  "CurrentPage": 2,
  "Results": [
    {
      "ResourceTypeIdentity": "1790abdf-e871-403b-8cc9-b43c4739346b",
      "BookingTypeIdentities": [
        "ad1686c2-e600-49b7-a1e7-4f9ca97dd852",
        "26acf486-0623-4776-bda7-529574d52cbf"
      ],
      "Identity": "59cc34df-42ce-4db5-8996-e00b18e091d6",
      "Name": "sample string 3"
    },
    {
      "ResourceTypeIdentity": "1790abdf-e871-403b-8cc9-b43c4739346b",
      "BookingTypeIdentities": [
        "ad1686c2-e600-49b7-a1e7-4f9ca97dd852",
        "26acf486-0623-4776-bda7-529574d52cbf"
      ],
      "Identity": "59cc34df-42ce-4db5-8996-e00b18e091d6",
      "Name": "sample string 3"
    }
  ],
  "Count": 3
}

application/xml, text/xml

Sample:
<PaginatedResultsOfSearchResultjuCGl64F 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ToDoModels">
    <d2p1:SearchResult>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">59cc34df-42ce-4db5-8996-e00b18e091d6</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
      <d2p1:BookingTypeIdentities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>ad1686c2-e600-49b7-a1e7-4f9ca97dd852</d4p1:guid>
        <d4p1:guid>26acf486-0623-4776-bda7-529574d52cbf</d4p1:guid>
      </d2p1:BookingTypeIdentities>
      <d2p1:ResourceTypeIdentity>1790abdf-e871-403b-8cc9-b43c4739346b</d2p1:ResourceTypeIdentity>
    </d2p1:SearchResult>
    <d2p1:SearchResult>
      <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">59cc34df-42ce-4db5-8996-e00b18e091d6</Identity>
      <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
      <d2p1:BookingTypeIdentities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>ad1686c2-e600-49b7-a1e7-4f9ca97dd852</d4p1:guid>
        <d4p1:guid>26acf486-0623-4776-bda7-529574d52cbf</d4p1:guid>
      </d2p1:BookingTypeIdentities>
      <d2p1:ResourceTypeIdentity>1790abdf-e871-403b-8cc9-b43c4739346b</d2p1:ResourceTypeIdentity>
    </d2p1:SearchResult>
  </Results>
  <TotalPages>1</TotalPages>
</PaginatedResultsOfSearchResultjuCGl64F>