POST api/Search

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

GlobalSearchResults
NameDescriptionTypeAdditional information
BookingTypes

PaginatedResultsOfSearchResult

None.

ResourceGroups

PaginatedResultsOfSearchResult

None.

Resources

PaginatedResultsOfSearchResult

None.

Response Formats

application/json, text/json

Sample:
{
  "BookingTypes": {
    "TotalPages": 1,
    "CurrentPage": 2,
    "Results": [
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      },
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      }
    ],
    "Count": 3
  },
  "ResourceGroups": {
    "TotalPages": 1,
    "CurrentPage": 2,
    "Results": [
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      },
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      }
    ],
    "Count": 3
  },
  "Resources": {
    "TotalPages": 1,
    "CurrentPage": 2,
    "Results": [
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      },
      {
        "ResourceTypeIdentity": "251a50c4-8431-4bbf-a1e7-6c5af3a327fa",
        "BookingTypeIdentities": [
          "4caf72e1-74c8-4365-b18e-917b5a765267",
          "692cb9ca-a2e1-48d1-94a7-a62f1c80d48d"
        ],
        "Identity": "bd4ea85a-1406-499d-9ccd-a2e167d9f8d9",
        "Name": "sample string 3"
      }
    ],
    "Count": 3
  }
}

application/xml, text/xml

Sample:
<GlobalSearchResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ToDoModels">
  <BookingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
    <d2p1:Count>3</d2p1:Count>
    <d2p1:CurrentPage>2</d2p1:CurrentPage>
    <d2p1:Results>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
    </d2p1:Results>
    <d2p1:TotalPages>1</d2p1:TotalPages>
  </BookingTypes>
  <ResourceGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
    <d2p1:Count>3</d2p1:Count>
    <d2p1:CurrentPage>2</d2p1:CurrentPage>
    <d2p1:Results>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
    </d2p1:Results>
    <d2p1:TotalPages>1</d2p1:TotalPages>
  </ResourceGroups>
  <Resources xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
    <d2p1:Count>3</d2p1:Count>
    <d2p1:CurrentPage>2</d2p1:CurrentPage>
    <d2p1:Results>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
      <SearchResult>
        <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">bd4ea85a-1406-499d-9ccd-a2e167d9f8d9</Identity>
        <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
        <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:guid>4caf72e1-74c8-4365-b18e-917b5a765267</d5p1:guid>
          <d5p1:guid>692cb9ca-a2e1-48d1-94a7-a62f1c80d48d</d5p1:guid>
        </BookingTypeIdentities>
        <ResourceTypeIdentity>251a50c4-8431-4bbf-a1e7-6c5af3a327fa</ResourceTypeIdentity>
      </SearchResult>
    </d2p1:Results>
    <d2p1:TotalPages>1</d2p1:TotalPages>
  </Resources>
</GlobalSearchResults>