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": "4b9a6f88-4419-415d-a3b9-fc61e449b905", "ResourceType": { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "Name": "sample string 2" }, { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "4b9a6f88-4419-415d-a3b9-fc61e449b905", "ResourceType": { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "Name": "sample string 2" }, { "Identity": "9db077f5-2b19-43dc-b621-a9f9358568d7", "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>4b9a6f88-4419-415d-a3b9-fc61e449b905</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>9db077f5-2b19-43dc-b621-a9f9358568d7</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>9db077f5-2b19-43dc-b621-a9f9358568d7</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>9db077f5-2b19-43dc-b621-a9f9358568d7</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </ResourceType> </ResourceRequirementTemplate> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>4b9a6f88-4419-415d-a3b9-fc61e449b905</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>9db077f5-2b19-43dc-b621-a9f9358568d7</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>9db077f5-2b19-43dc-b621-a9f9358568d7</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>9db077f5-2b19-43dc-b621-a9f9358568d7</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </ResourceType> </ResourceRequirementTemplate> </ArrayOfResourceRequirementTemplate>