POST api/Search/Bookable
Request Information
URI Parameters
None.
Body Parameters
FilterRequestName | Description | Type | Additional information |
---|---|---|---|
Query | string |
None. |
|
ItemsPerPage | integer |
None. |
|
PageNumber | integer |
None. |
|
FilterType | string |
None. |
|
AdminPermissionsOnly | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Query": "sample string 1", "ItemsPerPage": 2, "PageNumber": 3, "FilterType": "sample string 4", "AdminPermissionsOnly": true }
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"> <AdminPermissionsOnly>true</AdminPermissionsOnly> <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
GlobalSearchResultsName | Description | Type | Additional information |
---|---|---|---|
BookingTypes | PaginatedResultsOfSearchResult |
None. |
|
ResourceGroups | PaginatedResultsOfSearchResult |
None. |
|
Resources | PaginatedResultsOfSearchResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "BookingTypes": { "TotalPages": 1, "CurrentPage": 2, "Results": [ { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" }, { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" } ], "Count": 3 }, "ResourceGroups": { "TotalPages": 1, "CurrentPage": 2, "Results": [ { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" }, { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" } ], "Count": 3 }, "Resources": { "TotalPages": 1, "CurrentPage": 2, "Results": [ { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" }, { "ResourceTypeIdentity": "eb95dba0-20c2-4443-8e89-442939c8d69c", "BookingTypeIdentities": [ "4ada8647-d354-47a8-8c0f-513b94817f73", "7ebe1403-3f86-4c82-8756-4a8e056467cc" ], "AdminPermissionsOnly": true, "Identity": "a3dc23b6-ccfb-4fc0-b159-81e63d293642", "Name": "sample string 4" } ], "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">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</ResourceTypeIdentity> </SearchResult> <SearchResult> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</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">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</ResourceTypeIdentity> </SearchResult> <SearchResult> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</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">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</ResourceTypeIdentity> </SearchResult> <SearchResult> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">a3dc23b6-ccfb-4fc0-b159-81e63d293642</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 4</Name> <AdminPermissionsOnly>true</AdminPermissionsOnly> <BookingTypeIdentities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:guid>4ada8647-d354-47a8-8c0f-513b94817f73</d5p1:guid> <d5p1:guid>7ebe1403-3f86-4c82-8756-4a8e056467cc</d5p1:guid> </BookingTypeIdentities> <ResourceTypeIdentity>eb95dba0-20c2-4443-8e89-442939c8d69c</ResourceTypeIdentity> </SearchResult> </d2p1:Results> <d2p1:TotalPages>1</d2p1:TotalPages> </Resources> </GlobalSearchResults>