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": "f3284c0f-7969-4123-8de2-2636e2cdef73",
"BookingTypeIdentities": [
"d3908e9c-3c9c-49d0-be4b-3515a3d3f1af",
"9e2bc8d8-8294-4348-bb90-17b8bfdad061"
],
"Identity": "65b5d803-5967-4237-8f80-814c45b58f64",
"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">65b5d803-5967-4237-8f80-814c45b58f64</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>d3908e9c-3c9c-49d0-be4b-3515a3d3f1af</d2p1:guid>
<d2p1:guid>9e2bc8d8-8294-4348-bb90-17b8bfdad061</d2p1:guid>
</BookingTypeIdentities>
<ResourceTypeIdentity>f3284c0f-7969-4123-8de2-2636e2cdef73</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": "0a3728a1-ae9c-430b-a2ab-af46c06b57ee",
"ResourceType": {
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "0a3728a1-ae9c-430b-a2ab-af46c06b57ee",
"ResourceType": {
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "1903d72e-5797-4036-a1d2-b00bbdd9e179",
"Name": "sample string 5"
},
{
"Description": "sample string 1",
"ResourceRestrictionRules": [
{
"Name": "sample string 1",
"Identity": "0a3728a1-ae9c-430b-a2ab-af46c06b57ee",
"ResourceType": {
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "0a3728a1-ae9c-430b-a2ab-af46c06b57ee",
"ResourceType": {
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
},
{
"Identity": "33d1576e-d5e2-4d81-a5c5-56178e799b14",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"Identity": "1903d72e-5797-4036-a1d2-b00bbdd9e179",
"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">1903d72e-5797-4036-a1d2-b00bbdd9e179</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>0a3728a1-ae9c-430b-a2ab-af46c06b57ee</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>33d1576e-d5e2-4d81-a5c5-56178e799b14</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>0a3728a1-ae9c-430b-a2ab-af46c06b57ee</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>33d1576e-d5e2-4d81-a5c5-56178e799b14</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</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">1903d72e-5797-4036-a1d2-b00bbdd9e179</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>0a3728a1-ae9c-430b-a2ab-af46c06b57ee</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>33d1576e-d5e2-4d81-a5c5-56178e799b14</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>0a3728a1-ae9c-430b-a2ab-af46c06b57ee</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>33d1576e-d5e2-4d81-a5c5-56178e799b14</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>33d1576e-d5e2-4d81-a5c5-56178e799b14</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ResourceRestrictionRules>
</BookingTypeSearchResult>
</ArrayOfBookingTypeSearchResult>