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 ResourceRequirementTemplateName | 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": "14f2c83d-721a-45a3-8158-43a2356d2a78", "ResourceType": { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "Name": "sample string 2" }, { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "14f2c83d-721a-45a3-8158-43a2356d2a78", "ResourceType": { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "Name": "sample string 2" }, { "Identity": "e2989d15-9e5e-4f0a-beb0-2ba210ac8e07", "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>14f2c83d-721a-45a3-8158-43a2356d2a78</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>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</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>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </ResourceType> </ResourceRequirementTemplate> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>14f2c83d-721a-45a3-8158-43a2356d2a78</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>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</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>e2989d15-9e5e-4f0a-beb0-2ba210ac8e07</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </ResourceType> </ResourceRequirementTemplate> </ArrayOfResourceRequirementTemplate>