GET api/BookingTypes/{bookingTypeIdentity}/Rules
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BookingRule| Name | Description | Type | Additional information |
|---|---|---|---|
| Identity | globally unique identifier |
None. |
|
| RuleType | BookingRuleType |
None. |
|
| Properties | Collection of BookingRuleDatum |
None. |
|
| AppliesTo | Collection of NamedObject |
None. |
|
| RunOnCreate | boolean |
None. |
|
| RunOnUpdate | boolean |
None. |
|
| RunOnDelete | boolean |
None. |
|
| FailureMessage | string |
None. |
|
| AdminsExempt | boolean |
None. |
|
| BookingManagersExempt | boolean |
None. |
|
| ApproversExempt | boolean |
None. |
|
| PermissionGroupsExempt | boolean |
None. |
|
| ExemptPermissionGroups | Collection of NamedObject |
None. |
|
| RequiresBookingTypeId | boolean |
None. |
|
| WarningOnly | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Identity": "67d6419b-2f82-4ec5-907f-a4753998dd1f",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"Identity": "df9265d5-ef8b-432d-b456-f44c64d8b3b0",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"Identity": "df9265d5-ef8b-432d-b456-f44c64d8b3b0",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "0e27d1b1-57b1-4601-ac4f-0f1984f196ce",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "d1ef34be-b2bc-48ae-a6af-41ad928cf7e3",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "d1ef34be-b2bc-48ae-a6af-41ad928cf7e3",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"RequiresBookingTypeId": true,
"WarningOnly": true
},
{
"Identity": "67d6419b-2f82-4ec5-907f-a4753998dd1f",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"Identity": "df9265d5-ef8b-432d-b456-f44c64d8b3b0",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"Identity": "df9265d5-ef8b-432d-b456-f44c64d8b3b0",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "0e27d1b1-57b1-4601-ac4f-0f1984f196ce",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "d1ef34be-b2bc-48ae-a6af-41ad928cf7e3",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "d1ef34be-b2bc-48ae-a6af-41ad928cf7e3",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
},
{
"Identity": "08af3c12-934d-4b1e-aedd-3b508c181d68",
"Name": "sample string 2"
}
],
"RequiresBookingTypeId": true,
"WarningOnly": true
}
]
application/xml, text/xml
Sample:
<ArrayOfBookingRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<BookingRule>
<AdminsExempt>true</AdminsExempt>
<AppliesTo xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</AppliesTo>
<ApproversExempt>true</ApproversExempt>
<BookingManagersExempt>true</BookingManagersExempt>
<ExemptPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>67d6419b-2f82-4ec5-907f-a4753998dd1f</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d1ef34be-b2bc-48ae-a6af-41ad928cf7e3</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 8</Name>
<EndRange>true</EndRange>
<IsObsolete>true</IsObsolete>
<SecondaryValue />
<StartRange>true</StartRange>
<Value />
<ValueChoices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d1ef34be-b2bc-48ae-a6af-41ad928cf7e3</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 8</Name>
<EndRange>true</EndRange>
<IsObsolete>true</IsObsolete>
<SecondaryValue />
<StartRange>true</StartRange>
<Value />
<ValueChoices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
</Properties>
<RequiresBookingTypeId>true</RequiresBookingTypeId>
<RuleType>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">0e27d1b1-57b1-4601-ac4f-0f1984f196ce</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>df9265d5-ef8b-432d-b456-f44c64d8b3b0</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<ValueChoices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>df9265d5-ef8b-432d-b456-f44c64d8b3b0</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<ValueChoices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
</Properties>
<RequiresBookingTypeIdentity>true</RequiresBookingTypeIdentity>
<RuleGroupRequiresOneValidOnly>true</RuleGroupRequiresOneValidOnly>
<RunOnCreateType>Never</RunOnCreateType>
<RunOnDeleteType>Never</RunOnDeleteType>
<RunOnUpdateAsCreate>true</RunOnUpdateAsCreate>
<RunOnUpdateType>Never</RunOnUpdateType>
</RuleType>
<RunOnCreate>true</RunOnCreate>
<RunOnDelete>true</RunOnDelete>
<RunOnUpdate>true</RunOnUpdate>
<WarningOnly>true</WarningOnly>
</BookingRule>
<BookingRule>
<AdminsExempt>true</AdminsExempt>
<AppliesTo xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</AppliesTo>
<ApproversExempt>true</ApproversExempt>
<BookingManagersExempt>true</BookingManagersExempt>
<ExemptPermissionGroups xmlns:d3p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
<d3p1:NamedObject>
<d3p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d3p1:Identity>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>67d6419b-2f82-4ec5-907f-a4753998dd1f</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d1ef34be-b2bc-48ae-a6af-41ad928cf7e3</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 8</Name>
<EndRange>true</EndRange>
<IsObsolete>true</IsObsolete>
<SecondaryValue />
<StartRange>true</StartRange>
<Value />
<ValueChoices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">d1ef34be-b2bc-48ae-a6af-41ad928cf7e3</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 8</Name>
<EndRange>true</EndRange>
<IsObsolete>true</IsObsolete>
<SecondaryValue />
<StartRange>true</StartRange>
<Value />
<ValueChoices xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>sample string 1</d5p1:string>
<d5p1:string>sample string 2</d5p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d5p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
</Properties>
<RequiresBookingTypeId>true</RequiresBookingTypeId>
<RuleType>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">0e27d1b1-57b1-4601-ac4f-0f1984f196ce</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>df9265d5-ef8b-432d-b456-f44c64d8b3b0</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<ValueChoices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>df9265d5-ef8b-432d-b456-f44c64d8b3b0</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<ValueChoices xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:string>sample string 1</d6p1:string>
<d6p1:string>sample string 2</d6p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d6p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
<d6p1:NamedObject>
<d6p1:Identity>08af3c12-934d-4b1e-aedd-3b508c181d68</d6p1:Identity>
<d6p1:Name>sample string 2</d6p1:Name>
</d6p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
</Properties>
<RequiresBookingTypeIdentity>true</RequiresBookingTypeIdentity>
<RuleGroupRequiresOneValidOnly>true</RuleGroupRequiresOneValidOnly>
<RunOnCreateType>Never</RunOnCreateType>
<RunOnDeleteType>Never</RunOnDeleteType>
<RunOnUpdateAsCreate>true</RunOnUpdateAsCreate>
<RunOnUpdateType>Never</RunOnUpdateType>
</RuleType>
<RunOnCreate>true</RunOnCreate>
<RunOnDelete>true</RunOnDelete>
<RunOnUpdate>true</RunOnUpdate>
<WarningOnly>true</WarningOnly>
</BookingRule>
</ArrayOfBookingRule>