PUT api/BookingTypes/{bookingTypeIdentity}/Rules/{identity}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
|
| identity | string |
Required |
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Identity": "a9311b32-ac75-480a-a425-84336fd3b666",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"Identity": "a9f5aee7-23ed-4acc-85f0-c0efb2be9857",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"Identity": "a9f5aee7-23ed-4acc-85f0-c0efb2be9857",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "63895256-e7bd-4c48-96a6-ca87e3061851",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "23b29e51-985e-43b5-9720-74205be614a0",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "23b29e51-985e-43b5-9720-74205be614a0",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
},
{
"Identity": "a652de11-a30e-47eb-965f-b114188abe85",
"Name": "sample string 2"
}
],
"RequiresBookingTypeId": true,
"WarningOnly": true
}
application/xml, text/xml
Sample:
<BookingRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<AdminsExempt>true</AdminsExempt>
<AppliesTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</AppliesTo>
<ApproversExempt>true</ApproversExempt>
<BookingManagersExempt>true</BookingManagersExempt>
<ExemptPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>a9311b32-ac75-480a-a425-84336fd3b666</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">23b29e51-985e-43b5-9720-74205be614a0</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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">23b29e51-985e-43b5-9720-74205be614a0</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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1: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">63895256-e7bd-4c48-96a6-ca87e3061851</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>a9f5aee7-23ed-4acc-85f0-c0efb2be9857</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<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>a652de11-a30e-47eb-965f-b114188abe85</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>a9f5aee7-23ed-4acc-85f0-c0efb2be9857</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<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>a652de11-a30e-47eb-965f-b114188abe85</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>a652de11-a30e-47eb-965f-b114188abe85</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1: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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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": "b5ddb6f5-d296-45db-9cd0-fd391ec9e132",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"Identity": "513671d3-d080-49b5-9304-8c8bd0484638",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"Identity": "513671d3-d080-49b5-9304-8c8bd0484638",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "43a7c80c-e2a8-4e42-9e24-5bf6787d2699",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "4d94aa7b-6118-426b-9c41-078953920415",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "4d94aa7b-6118-426b-9c41-078953920415",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
},
{
"Identity": "e48c3704-a51b-4666-a3ce-0c59fcdad37e",
"Name": "sample string 2"
}
],
"RequiresBookingTypeId": true,
"WarningOnly": true
}
application/xml, text/xml
Sample:
<BookingRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<AdminsExempt>true</AdminsExempt>
<AppliesTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</AppliesTo>
<ApproversExempt>true</ApproversExempt>
<BookingManagersExempt>true</BookingManagersExempt>
<ExemptPermissionGroups xmlns:d2p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d2p1:NamedObject>
<d2p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>b5ddb6f5-d296-45db-9cd0-fd391ec9e132</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">4d94aa7b-6118-426b-9c41-078953920415</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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 3</ValueType>
</BookingRuleDatum>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">4d94aa7b-6118-426b-9c41-078953920415</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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</ValueChoices>
<ValueChoicesWithId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">
<d4p1:NamedObject>
<d4p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1: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">43a7c80c-e2a8-4e42-9e24-5bf6787d2699</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>513671d3-d080-49b5-9304-8c8bd0484638</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<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>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>513671d3-d080-49b5-9304-8c8bd0484638</Identity>
<Name>sample string 1</Name>
<StartRange>true</StartRange>
<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>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>e48c3704-a51b-4666-a3ce-0c59fcdad37e</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1: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>