POST api/BookingTypes/{bookingTypeIdentity}/Rules
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | 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": "9c7028e4-1e12-43a2-a45f-de6b6d08934a",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
}
],
"Identity": "4df86491-26a2-407e-af2b-52a8c80ca4bf",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
}
],
"Identity": "4df86491-26a2-407e-af2b-52a8c80ca4bf",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "db82e865-2ac6-449c-95be-2c9a25ddbaa7",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "de499808-68b2-4cbb-a21e-b565b8bcbc69",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "de499808-68b2-4cbb-a21e-b565b8bcbc69",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"Name": "sample string 2"
},
{
"Identity": "37ac3d8e-dfd4-414b-9764-0c076a24e37d",
"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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>9c7028e4-1e12-43a2-a45f-de6b6d08934a</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">de499808-68b2-4cbb-a21e-b565b8bcbc69</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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</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">de499808-68b2-4cbb-a21e-b565b8bcbc69</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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</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">db82e865-2ac6-449c-95be-2c9a25ddbaa7</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>4df86491-26a2-407e-af2b-52a8c80ca4bf</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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>4df86491-26a2-407e-af2b-52a8c80ca4bf</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>37ac3d8e-dfd4-414b-9764-0c076a24e37d</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>37ac3d8e-dfd4-414b-9764-0c076a24e37d</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": "2a4808b8-7ba0-4103-a689-d8441cbda032",
"RuleType": {
"Properties": [
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
}
],
"Identity": "12ec8310-2f0a-4a18-9795-da367a493cc2",
"StartRange": true,
"EndRange": true
},
{
"Name": "sample string 1",
"ValueType": "sample string 2",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
}
],
"Identity": "12ec8310-2f0a-4a18-9795-da367a493cc2",
"StartRange": true,
"EndRange": true
}
],
"RunOnUpdateAsCreate": true,
"RunOnCreateType": 0,
"RunOnUpdateType": 0,
"RunOnDeleteType": 0,
"RuleGroupRequiresOneValidOnly": true,
"RequiresBookingTypeIdentity": true,
"Identity": "db3e3047-c9ae-45b0-bc9f-2689d42298f9",
"Name": "sample string 5"
},
"Properties": [
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "e5ff323e-89f8-4ab4-a4da-4d2b9d907db4",
"Name": "sample string 8"
},
{
"Value": {},
"SecondaryValue": {},
"ValueType": "sample string 3",
"ValueChoices": [
"sample string 1",
"sample string 2"
],
"ValueChoicesWithId": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
}
],
"StartRange": true,
"EndRange": true,
"IsObsolete": true,
"Identity": "e5ff323e-89f8-4ab4-a4da-4d2b9d907db4",
"Name": "sample string 8"
}
],
"AppliesTo": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
}
],
"RunOnCreate": true,
"RunOnUpdate": true,
"RunOnDelete": true,
"FailureMessage": "sample string 5",
"AdminsExempt": true,
"BookingManagersExempt": true,
"ApproversExempt": true,
"PermissionGroupsExempt": true,
"ExemptPermissionGroups": [
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"Name": "sample string 2"
},
{
"Identity": "38e78d05-7177-4c27-a167-4f684112d4dd",
"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>38e78d05-7177-4c27-a167-4f684112d4dd</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</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>38e78d05-7177-4c27-a167-4f684112d4dd</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
<d2p1:NamedObject>
<d2p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</d2p1:Identity>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:NamedObject>
</ExemptPermissionGroups>
<FailureMessage>sample string 5</FailureMessage>
<Identity>2a4808b8-7ba0-4103-a689-d8441cbda032</Identity>
<PermissionGroupsExempt>true</PermissionGroupsExempt>
<Properties>
<BookingRuleDatum>
<Identity xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">e5ff323e-89f8-4ab4-a4da-4d2b9d907db4</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>38e78d05-7177-4c27-a167-4f684112d4dd</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</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">e5ff323e-89f8-4ab4-a4da-4d2b9d907db4</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>38e78d05-7177-4c27-a167-4f684112d4dd</d4p1:Identity>
<d4p1:Name>sample string 2</d4p1:Name>
</d4p1:NamedObject>
<d4p1:NamedObject>
<d4p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</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">db3e3047-c9ae-45b0-bc9f-2689d42298f9</Identity>
<Name xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.Library.Security">sample string 5</Name>
<Properties>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>12ec8310-2f0a-4a18-9795-da367a493cc2</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>38e78d05-7177-4c27-a167-4f684112d4dd</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
</ValueChoicesWithId>
<ValueType>sample string 2</ValueType>
</BookingRuleTypeProperty>
<BookingRuleTypeProperty>
<EndRange>true</EndRange>
<Identity>12ec8310-2f0a-4a18-9795-da367a493cc2</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>38e78d05-7177-4c27-a167-4f684112d4dd</d5p1:Identity>
<d5p1:Name>sample string 2</d5p1:Name>
</d5p1:NamedObject>
<d5p1:NamedObject>
<d5p1:Identity>38e78d05-7177-4c27-a167-4f684112d4dd</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>