GET api/BookingTypes/{bookingTypeIdentity}/ResourceRequirements
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ResourceRequirementTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Identity | globally unique identifier |
None. |
|
| ResourceType | NamedObject |
None. |
|
| Min | integer |
None. |
|
| Max | integer |
None. |
|
| ResourceGroups | Collection of NamedObject |
None. |
|
| AllowResourceSelection | boolean |
None. |
|
| IsPrimary | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Identity": "c0bc80c4-7b79-47f6-9602-1f80833d30a0",
"ResourceType": {
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
},
{
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "c0bc80c4-7b79-47f6-9602-1f80833d30a0",
"ResourceType": {
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
},
{
"Identity": "a0bcf3e2-5dc2-4ce1-80e8-c4b471124111",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
]
application/xml, text/xml
Sample:
<ArrayOfResourceRequirementTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>c0bc80c4-7b79-47f6-9602-1f80833d30a0</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>c0bc80c4-7b79-47f6-9602-1f80833d30a0</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:Identity>a0bcf3e2-5dc2-4ce1-80e8-c4b471124111</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ArrayOfResourceRequirementTemplate>