GET api/BookingTypes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
BookingType| Name | 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": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
"BasePermissionGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"BoboPermissionGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"Description": "sample string 1",
"ResourceRestrictionRules": [
{
"Name": "sample string 1",
"Identity": "4c624ef6-3f96-45ea-ad1b-8b9eecdfaeda",
"ResourceType": {
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
},
{
"Name": "sample string 1",
"Identity": "4c624ef6-3f96-45ea-ad1b-8b9eecdfaeda",
"ResourceType": {
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
"Min": 3,
"Max": 4,
"ResourceGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"AllowResourceSelection": true,
"IsPrimary": true
}
],
"ImageUri": "http://webapihelppage2.com",
"CanEdit": true,
"CanBookOnBehalfOf": true,
"CanBookAsSomeoneElse": true,
"HasExternallyManagedResources": true,
"ReadPermissionGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"WritePermissionGroups": [
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
},
{
"Identity": "ddfcc423-8522-4c8e-990b-ce9f2674ff99",
"Name": "sample string 2"
}
],
"Identity": "ccb8d772-231b-4713-84a2-13fbf1c87350",
"Name": "sample string 7"
}
application/xml, text/xml
Sample:
<BookingType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">ccb8d772-231b-4713-84a2-13fbf1c87350</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 7</Name>
<ReadPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ReadPermissionGroups>
<WritePermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</WritePermissionGroups>
<BasePermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</BasePermissionGroups>
<BoboPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</BoboPermissionGroups>
<BookingForm xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1: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>4c624ef6-3f96-45ea-ad1b-8b9eecdfaeda</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
<ResourceRequirementTemplate>
<AllowResourceSelection>true</AllowResourceSelection>
<Identity>4c624ef6-3f96-45ea-ad1b-8b9eecdfaeda</Identity>
<IsPrimary>true</IsPrimary>
<Max>4</Max>
<Min>3</Min>
<Name>sample string 1</Name>
<ResourceGroups xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ResourceGroups>
<ResourceType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:Identity>ddfcc423-8522-4c8e-990b-ce9f2674ff99</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</ResourceType>
</ResourceRequirementTemplate>
</ResourceRestrictionRules>
</BookingType>