POST api/Search/ValidBookingTypesForResourceSearchResult
Request Information
URI Parameters
None.
Body Parameters
SearchResult| Name | Description | Type | Additional information |
|---|---|---|---|
| ResourceTypeIdentity | globally unique identifier |
None. |
|
| BookingTypeIdentities | Collection of globally unique identifier |
None. |
|
| Identity | globally unique identifier |
None. |
|
| Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ResourceTypeIdentity": "8a4a6bbd-37f4-4e05-b660-55b346ba2310",
"BookingTypeIdentities": [
"32e257ec-6d16-469b-867e-64a748b56fe3",
"27a7c9b4-9ed6-4c61-b440-592ca9d004ae"
],
"Identity": "36b41620-1a76-4ae8-a613-075e6a48dc4b",
"Name": "sample string 3"
}
application/xml, text/xml
Sample:
<SearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model.ToDoModels">
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">36b41620-1a76-4ae8-a613-075e6a48dc4b</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 3</Name>
<BookingTypeIdentities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>32e257ec-6d16-469b-867e-64a748b56fe3</d2p1:guid>
<d2p1:guid>27a7c9b4-9ed6-4c61-b440-592ca9d004ae</d2p1:guid>
</BookingTypeIdentities>
<ResourceTypeIdentity>8a4a6bbd-37f4-4e05-b660-55b346ba2310</ResourceTypeIdentity>
</SearchResult>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of BookingTypeSearchResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Description | string |
None. |
|
| ResourceRestrictionRules | Collection of ResourceRequirementTemplate |
None. |
|
| ImageUri | URI |
None. |
|
| CanEdit | boolean |
None. |
|
| Identity | globally unique identifier |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Description": "sample string 1",
"ResourceRestrictionRules": [
{
"Name": "sample string 1",
"Identity": "d684c319-285b-49c6-8218-39159b7b01d9",
"ResourceType": {
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "d684c319-285b-49c6-8218-39159b7b01d9",
"ResourceType": {
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "4c3aeeea-0a38-4a7e-a7fb-fad64b4932c0",
"Name": "sample string 5"
},
{
"Description": "sample string 1",
"ResourceRestrictionRules": [
{
"Name": "sample string 1",
"Identity": "d684c319-285b-49c6-8218-39159b7b01d9",
"ResourceType": {
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "d684c319-285b-49c6-8218-39159b7b01d9",
"ResourceType": {
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
},
{
"Identity": "63def8d7-5e18-4288-b6ad-eaa7ca7322ce",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "4c3aeeea-0a38-4a7e-a7fb-fad64b4932c0",
"Name": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfBookingTypeSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<BookingTypeSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">4c3aeeea-0a38-4a7e-a7fb-fad64b4932c0</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ImageUri>http://webapihelppage2.com/</ImageUri>
<ResourceRestrictionRules>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>d684c319-285b-49c6-8218-39159b7b01d9</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>d684c319-285b-49c6-8218-39159b7b01d9</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ResourceRestrictionRules>
</BookingTypeSearchResult>
<BookingTypeSearchResult>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">4c3aeeea-0a38-4a7e-a7fb-fad64b4932c0</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<CanEdit>true</CanEdit>
<Description>sample string 1</Description>
<ImageUri>http://webapihelppage2.com/</ImageUri>
<ResourceRestrictionRules>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>d684c319-285b-49c6-8218-39159b7b01d9</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>d684c319-285b-49c6-8218-39159b7b01d9</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:Identity>63def8d7-5e18-4288-b6ad-eaa7ca7322ce</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ResourceRestrictionRules>
</BookingTypeSearchResult>
</ArrayOfBookingTypeSearchResult>