GET api/BookingTypes/{bookingTypeIdentity}/Resources?resourceGroupIdentity={resourceGroupIdentity}&pageNumber={pageNumber}&itemsPerPage={itemsPerPage}&query={query}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
|
| resourceGroupIdentity | globally unique identifier |
Required |
|
| pageNumber | integer |
Default value is 1 |
|
| itemsPerPage | integer |
Default value is 10 |
|
| query | string |
None. |
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": [
"7a237387-878b-40a9-bc70-6a052993440f",
"a1c6ad93-bcef-4f1c-8a37-c0305374f768"
],
"ResourceTypeIdentity": "2ba88a01-b5d5-4c3a-b3b1-2f79e966f4a9",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6",
"Name": "sample string 2"
},
{
"Identity": "b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "e00c57af-6e44-4b27-86ec-8afd7bc91041",
"Name": "sample string 7"
},
{
"BookingTypeIdentities": [
"7a237387-878b-40a9-bc70-6a052993440f",
"a1c6ad93-bcef-4f1c-8a37-c0305374f768"
],
"ResourceTypeIdentity": "2ba88a01-b5d5-4c3a-b3b1-2f79e966f4a9",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6",
"Name": "sample string 2"
},
{
"Identity": "b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "e00c57af-6e44-4b27-86ec-8afd7bc91041",
"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">e00c57af-6e44-4b27-86ec-8afd7bc91041</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>7a237387-878b-40a9-bc70-6a052993440f</d4p1:guid>
<d4p1:guid>a1c6ad93-bcef-4f1c-8a37-c0305374f768</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>b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>2ba88a01-b5d5-4c3a-b3b1-2f79e966f4a9</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
<ResourceSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e00c57af-6e44-4b27-86ec-8afd7bc91041</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>7a237387-878b-40a9-bc70-6a052993440f</d4p1:guid>
<d4p1:guid>a1c6ad93-bcef-4f1c-8a37-c0305374f768</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>b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>b8c6a81e-a3f1-474e-bbc6-36f7c642c1e6</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>2ba88a01-b5d5-4c3a-b3b1-2f79e966f4a9</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
</Results>
<TotalPages>1</TotalPages>
</PaginatedResultsOfResourceSearchResultqMSKJDOU>