GET api/ResourceTypes/{resourceTypeIdentity}/Resources?pageNumber={pageNumber}&itemsPerPage={itemsPerPage}&query={query}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| resourceTypeIdentity | string |
Required |
|
| pageNumber | integer |
Default value is 1 |
|
| itemsPerPage | integer |
Default value is 10 |
|
| query | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
PaginatedResultsOfResourceSearchResult| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalPages | integer |
None. |
|
| CurrentPage | integer |
None. |
|
| Results | Collection of ResourceSearchResult |
None. |
|
| Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalPages": 1,
"CurrentPage": 2,
"Results": [
{
"BookingTypeIdentities": [
"3d9255b4-4a78-4c25-9694-dbc92e43a40b",
"bfd0e97e-6bbb-478c-9841-8979789a092b"
],
"ResourceTypeIdentity": "dd0aeec2-39ae-48d9-8c01-9542dc4d73c0",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "f278d46b-2f85-4e14-8b26-b60e80793fc4",
"Name": "sample string 2"
},
{
"Identity": "f278d46b-2f85-4e14-8b26-b60e80793fc4",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "e7b68769-f7ff-49a5-84b7-6c1038be47f2",
"Name": "sample string 7"
},
{
"BookingTypeIdentities": [
"3d9255b4-4a78-4c25-9694-dbc92e43a40b",
"bfd0e97e-6bbb-478c-9841-8979789a092b"
],
"ResourceTypeIdentity": "dd0aeec2-39ae-48d9-8c01-9542dc4d73c0",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "f278d46b-2f85-4e14-8b26-b60e80793fc4",
"Name": "sample string 2"
},
{
"Identity": "f278d46b-2f85-4e14-8b26-b60e80793fc4",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "e7b68769-f7ff-49a5-84b7-6c1038be47f2",
"Name": "sample string 7"
}
],
"Count": 3
}
application/xml, text/xml
Sample:
<PaginatedResultsOfResourceSearchResultqMSKJDOU 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>
<ResourceSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e7b68769-f7ff-49a5-84b7-6c1038be47f2</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<BookingTypeIdentities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>3d9255b4-4a78-4c25-9694-dbc92e43a40b</d4p1:guid>
<d4p1:guid>bfd0e97e-6bbb-478c-9841-8979789a092b</d4p1:guid>
</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 3</Description>
<ImageUri>http://webapihelppage5.com/</ImageUri>
<ResourceOwners xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>f278d46b-2f85-4e14-8b26-b60e80793fc4</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>f278d46b-2f85-4e14-8b26-b60e80793fc4</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>dd0aeec2-39ae-48d9-8c01-9542dc4d73c0</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
<ResourceSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e7b68769-f7ff-49a5-84b7-6c1038be47f2</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<BookingTypeIdentities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>3d9255b4-4a78-4c25-9694-dbc92e43a40b</d4p1:guid>
<d4p1:guid>bfd0e97e-6bbb-478c-9841-8979789a092b</d4p1:guid>
</BookingTypeIdentities>
<CanEdit>true</CanEdit>
<Description>sample string 3</Description>
<ImageUri>http://webapihelppage5.com/</ImageUri>
<ResourceOwners xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>f278d46b-2f85-4e14-8b26-b60e80793fc4</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>f278d46b-2f85-4e14-8b26-b60e80793fc4</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>dd0aeec2-39ae-48d9-8c01-9542dc4d73c0</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
</Results>
<TotalPages>1</TotalPages>
</PaginatedResultsOfResourceSearchResultqMSKJDOU>