GET api/Search/ResourceTypes?pageNumber={pageNumber}&itemsPerPage={itemsPerPage}&query={query}&searchType={searchType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageNumber | integer |
Default value is 1 |
|
itemsPerPage | integer |
Default value is 10 |
|
query | string |
None. |
|
searchType | ResourceTypeSearchType |
None. |
Body Parameters
None.
Response Information
Resource Description
PaginatedResultsOfResourceTypeSearchResultName | Description | Type | Additional 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": "243092db-66c5-49a4-b7bb-39618d524bb7", "Name": "sample string 2" }, { "Identity": "243092db-66c5-49a4-b7bb-39618d524bb7", "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">243092db-66c5-49a4-b7bb-39618d524bb7</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">243092db-66c5-49a4-b7bb-39618d524bb7</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 2</Name> </ResourceTypeSearchResult> </Results> <TotalPages>1</TotalPages> </PaginatedResultsOfResourceTypeSearchResultqMSKJDOU>