GET api/BookingTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BookingTypeName | Description | Type | Additional information |
---|---|---|---|
BookingForm | NamedObject |
None. |
|
BasePermissionGroups | Collection of NamedObject |
None. |
|
BoboPermissionGroups | Collection of NamedObject |
None. |
|
Description | string |
None. |
|
ResourceRestrictionRules | Collection of ResourceRequirementTemplate |
None. |
|
ImageUri | URI |
None. |
|
CanEdit | boolean |
None. |
|
CanBookOnBehalfOf | boolean |
None. |
|
CanBookAsSomeoneElse | boolean |
None. |
|
HasExternallyManagedResources | boolean |
None. |
|
ReadPermissionGroups | Collection of NamedObject |
None. |
|
WritePermissionGroups | Collection of NamedObject |
None. |
|
Identity | globally unique identifier |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "BookingForm": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "df2c006b-7eee-4b66-8c64-8660efe9dc79", "ResourceType": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "df2c006b-7eee-4b66-8c64-8660efe9dc79", "ResourceType": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "Identity": "e6995c6d-1bbe-4095-9174-a09452750d9b", "Name": "sample string 7" }, { "BookingForm": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "BasePermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "BoboPermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "Description": "sample string 1", "ResourceRestrictionRules": [ { "Name": "sample string 1", "Identity": "df2c006b-7eee-4b66-8c64-8660efe9dc79", "ResourceType": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true }, { "Name": "sample string 1", "Identity": "df2c006b-7eee-4b66-8c64-8660efe9dc79", "ResourceType": { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, "Min": 3, "Max": 4, "ResourceGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "AllowResourceSelection": true, "IsPrimary": true } ], "ImageUri": "http://webapihelppage2.com", "CanEdit": true, "CanBookOnBehalfOf": true, "CanBookAsSomeoneElse": true, "HasExternallyManagedResources": true, "ReadPermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "WritePermissionGroups": [ { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" }, { "Identity": "6fdecca1-94cf-4c67-989c-e0c9df2a4b95", "Name": "sample string 2" } ], "Identity": "e6995c6d-1bbe-4095-9174-a09452750d9b", "Name": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfBookingType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e6995c6d-1bbe-4095-9174-a09452750d9b</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <ReadPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </ReadPermissionGroups> <WritePermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </WritePermissionGroups> <BasePermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </BasePermissionGroups> <BoboPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </BoboPermissionGroups> <BookingForm xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </BookingForm> <CanBookAsSomeoneElse>true</CanBookAsSomeoneElse> <CanBookOnBehalfOf>true</CanBookOnBehalfOf> <CanEdit>true</CanEdit> <Description>sample string 1</Description> <HasExternallyManagedResources>true</HasExternallyManagedResources> <ImageUri>http://webapihelppage2.com/</ImageUri> <ResourceRestrictionRules> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>df2c006b-7eee-4b66-8c64-8660efe9dc79</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </d5p1:NamedObject> <d5p1:NamedObject> <d5p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </ResourceType> </ResourceRequirementTemplate> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>df2c006b-7eee-4b66-8c64-8660efe9dc79</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </d5p1:NamedObject> <d5p1:NamedObject> <d5p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </ResourceType> </ResourceRequirementTemplate> </ResourceRestrictionRules> </BookingType> <BookingType> <Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e6995c6d-1bbe-4095-9174-a09452750d9b</Identity> <Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name> <ReadPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </ReadPermissionGroups> <WritePermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </WritePermissionGroups> <BasePermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </BasePermissionGroups> <BoboPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> <d3p1:NamedObject> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:NamedObject> </BoboPermissionGroups> <BookingForm xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security"> <d3p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d3p1:Identity> <d3p1:Name>sample string 2</d3p1:Name> </BookingForm> <CanBookAsSomeoneElse>true</CanBookAsSomeoneElse> <CanBookOnBehalfOf>true</CanBookOnBehalfOf> <CanEdit>true</CanEdit> <Description>sample string 1</Description> <HasExternallyManagedResources>true</HasExternallyManagedResources> <ImageUri>http://webapihelppage2.com/</ImageUri> <ResourceRestrictionRules> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>df2c006b-7eee-4b66-8c64-8660efe9dc79</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </d5p1:NamedObject> <d5p1:NamedObject> <d5p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </ResourceType> </ResourceRequirementTemplate> <ResourceRequirementTemplate> <AllowResourceSelection>true</AllowResourceSelection> <Identity>df2c006b-7eee-4b66-8c64-8660efe9dc79</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </d5p1:NamedObject> <d5p1:NamedObject> <d5p1:Identity>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</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>6fdecca1-94cf-4c67-989c-e0c9df2a4b95</d5p1:Identity> <d5p1:Name>sample string 2</d5p1:Name> </ResourceType> </ResourceRequirementTemplate> </ResourceRestrictionRules> </BookingType> </ArrayOfBookingType>