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": [
"edbed189-cb6d-45d7-b9ee-8788a57c5d08",
"a9eff6e3-d0a9-429a-b7ff-ae8ffcb1c710"
],
"ResourceTypeIdentity": "99700956-5ec4-43b6-a2f9-9f71c784b026",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "db0a8a00-ec04-413c-8a40-4f554ce6828b",
"Name": "sample string 2"
},
{
"Identity": "db0a8a00-ec04-413c-8a40-4f554ce6828b",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "55936d1e-275d-41d5-b208-67030fe41b4c",
"Name": "sample string 7"
},
{
"BookingTypeIdentities": [
"edbed189-cb6d-45d7-b9ee-8788a57c5d08",
"a9eff6e3-d0a9-429a-b7ff-ae8ffcb1c710"
],
"ResourceTypeIdentity": "99700956-5ec4-43b6-a2f9-9f71c784b026",
"ResourceTypeName": "sample string 2",
"ResourceOwners": [
{
"Identity": "db0a8a00-ec04-413c-8a40-4f554ce6828b",
"Name": "sample string 2"
},
{
"Identity": "db0a8a00-ec04-413c-8a40-4f554ce6828b",
"Name": "sample string 2"
}
],
"Description": "sample string 3",
"CanEdit": true,
"ImageUri": "http://webapihelppage5.com",
"Identity": "55936d1e-275d-41d5-b208-67030fe41b4c",
"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">55936d1e-275d-41d5-b208-67030fe41b4c</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>edbed189-cb6d-45d7-b9ee-8788a57c5d08</d4p1:guid>
<d4p1:guid>a9eff6e3-d0a9-429a-b7ff-ae8ffcb1c710</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>db0a8a00-ec04-413c-8a40-4f554ce6828b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>db0a8a00-ec04-413c-8a40-4f554ce6828b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>99700956-5ec4-43b6-a2f9-9f71c784b026</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
<ResourceSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">55936d1e-275d-41d5-b208-67030fe41b4c</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>edbed189-cb6d-45d7-b9ee-8788a57c5d08</d4p1:guid>
<d4p1:guid>a9eff6e3-d0a9-429a-b7ff-ae8ffcb1c710</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>db0a8a00-ec04-413c-8a40-4f554ce6828b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>db0a8a00-ec04-413c-8a40-4f554ce6828b</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceOwners>
<ResourceTypeIdentity>99700956-5ec4-43b6-a2f9-9f71c784b026</ResourceTypeIdentity>
<ResourceTypeName>sample string 2</ResourceTypeName>
</ResourceSearchResult>
</Results>
<TotalPages>1</TotalPages>
</PaginatedResultsOfResourceSearchResultqMSKJDOU>