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": "d5549e66-d447-4784-9844-fb5d734f42a1",
"BookingTypeIdentities": [
"7210a5a3-f4d2-49fb-a210-65ca9d9fabd4",
"76671612-2605-4f1f-b3c1-4613dfb48887"
],
"Identity": "4e10e224-15b7-48d2-80a6-28ee1485b7ac",
"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">4e10e224-15b7-48d2-80a6-28ee1485b7ac</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>7210a5a3-f4d2-49fb-a210-65ca9d9fabd4</d2p1:guid>
<d2p1:guid>76671612-2605-4f1f-b3c1-4613dfb48887</d2p1:guid>
</BookingTypeIdentities>
<ResourceTypeIdentity>d5549e66-d447-4784-9844-fb5d734f42a1</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": "9bc6babf-21b0-4b13-affb-7c7d8f1fb10d",
"ResourceType": {
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "9bc6babf-21b0-4b13-affb-7c7d8f1fb10d",
"ResourceType": {
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "eba0423b-c6ef-44cb-9da7-62ae9c136abe",
"Name": "sample string 5"
},
{
"Description": "sample string 1",
"ResourceRestrictionRules": [
{
"Name": "sample string 1",
"Identity": "9bc6babf-21b0-4b13-affb-7c7d8f1fb10d",
"ResourceType": {
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "9bc6babf-21b0-4b13-affb-7c7d8f1fb10d",
"ResourceType": {
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
},
{
"Identity": "7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "eba0423b-c6ef-44cb-9da7-62ae9c136abe",
"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">eba0423b-c6ef-44cb-9da7-62ae9c136abe</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>9bc6babf-21b0-4b13-affb-7c7d8f1fb10d</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>9bc6babf-21b0-4b13-affb-7c7d8f1fb10d</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</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">eba0423b-c6ef-44cb-9da7-62ae9c136abe</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>9bc6babf-21b0-4b13-affb-7c7d8f1fb10d</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>9bc6babf-21b0-4b13-affb-7c7d8f1fb10d</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</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>7a3ebd32-a576-46f9-a7b0-96d5f6a8b93b</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ResourceRestrictionRules>
</BookingTypeSearchResult>
</ArrayOfBookingTypeSearchResult>