PUT api/BookingTypes/{bookingTypeIdentity}/UpdateBusyPatterns
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingTypeIdentity | string |
Required |
Body Parameters
BulkUpdateBusyPatterns| Name | Description | Type | Additional information |
|---|---|---|---|
| AvailabilityPatternsToAdd | Collection of BusyPattern |
None. |
|
| AvailabilityPatternsToRemove | Collection of BusyPattern |
None. |
Request Formats
application/json, text/json
Sample:
{
"AvailabilityPatternsToAdd": [
{
"UniqueIdentity": "b971fa26-21f0-41f3-96de-503a7d9e22d4",
"StartDateTime": "2025-11-30T13:21:32.4619259+00:00",
"EndDateTime": "2025-11-30T13:21:32.4619259+00:00",
"Duration": 4.1,
"Days": [
0,
0
],
"Repeat": true,
"IsException": true,
"DstDifference": "00:00:00.1234567",
"DayOffset": 8,
"Identity": "1fc729fe-8dc7-4454-befb-4c978525da71",
"AvailabilityType": 0,
"EntityType": 0,
"OffsetAtCreation": "00:00:00.1234567",
"RepeatStartLocal": "00:00:00.1234567",
"RepeatEndLocal": "00:00:00.1234567",
"Name": "sample string 13",
"IsLinkedPattern": true,
"LinkedEntities": [
"502d8717-559f-4727-ab8b-ad045726dbc0",
"1f4e22fe-e277-41c8-85d5-ebe1eb84471b"
]
},
{
"UniqueIdentity": "b971fa26-21f0-41f3-96de-503a7d9e22d4",
"StartDateTime": "2025-11-30T13:21:32.4619259+00:00",
"EndDateTime": "2025-11-30T13:21:32.4619259+00:00",
"Duration": 4.1,
"Days": [
0,
0
],
"Repeat": true,
"IsException": true,
"DstDifference": "00:00:00.1234567",
"DayOffset": 8,
"Identity": "1fc729fe-8dc7-4454-befb-4c978525da71",
"AvailabilityType": 0,
"EntityType": 0,
"OffsetAtCreation": "00:00:00.1234567",
"RepeatStartLocal": "00:00:00.1234567",
"RepeatEndLocal": "00:00:00.1234567",
"Name": "sample string 13",
"IsLinkedPattern": true,
"LinkedEntities": [
"502d8717-559f-4727-ab8b-ad045726dbc0",
"1f4e22fe-e277-41c8-85d5-ebe1eb84471b"
]
}
],
"AvailabilityPatternsToRemove": [
{
"UniqueIdentity": "b971fa26-21f0-41f3-96de-503a7d9e22d4",
"StartDateTime": "2025-11-30T13:21:32.4619259+00:00",
"EndDateTime": "2025-11-30T13:21:32.4619259+00:00",
"Duration": 4.1,
"Days": [
0,
0
],
"Repeat": true,
"IsException": true,
"DstDifference": "00:00:00.1234567",
"DayOffset": 8,
"Identity": "1fc729fe-8dc7-4454-befb-4c978525da71",
"AvailabilityType": 0,
"EntityType": 0,
"OffsetAtCreation": "00:00:00.1234567",
"RepeatStartLocal": "00:00:00.1234567",
"RepeatEndLocal": "00:00:00.1234567",
"Name": "sample string 13",
"IsLinkedPattern": true,
"LinkedEntities": [
"502d8717-559f-4727-ab8b-ad045726dbc0",
"1f4e22fe-e277-41c8-85d5-ebe1eb84471b"
]
},
{
"UniqueIdentity": "b971fa26-21f0-41f3-96de-503a7d9e22d4",
"StartDateTime": "2025-11-30T13:21:32.4619259+00:00",
"EndDateTime": "2025-11-30T13:21:32.4619259+00:00",
"Duration": 4.1,
"Days": [
0,
0
],
"Repeat": true,
"IsException": true,
"DstDifference": "00:00:00.1234567",
"DayOffset": 8,
"Identity": "1fc729fe-8dc7-4454-befb-4c978525da71",
"AvailabilityType": 0,
"EntityType": 0,
"OffsetAtCreation": "00:00:00.1234567",
"RepeatStartLocal": "00:00:00.1234567",
"RepeatEndLocal": "00:00:00.1234567",
"Name": "sample string 13",
"IsLinkedPattern": true,
"LinkedEntities": [
"502d8717-559f-4727-ab8b-ad045726dbc0",
"1f4e22fe-e277-41c8-85d5-ebe1eb84471b"
]
}
]
}
application/xml, text/xml
Sample:
<BulkUpdateBusyPatterns xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
<AvailabilityPatternsToAdd>
<BusyPattern>
<AvailabilityType>Specific</AvailabilityType>
<DayOffset>8</DayOffset>
<Days xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
</Days>
<DstDifference>PT0.1234567S</DstDifference>
<Duration>4.1</Duration>
<EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</EndDateTime>
<EntityType>Resource</EntityType>
<Identity>1fc729fe-8dc7-4454-befb-4c978525da71</Identity>
<IsException>true</IsException>
<IsLinkedPattern>true</IsLinkedPattern>
<LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>502d8717-559f-4727-ab8b-ad045726dbc0</d4p1:guid>
<d4p1:guid>1f4e22fe-e277-41c8-85d5-ebe1eb84471b</d4p1:guid>
</LinkedEntities>
<Name>sample string 13</Name>
<OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
<Repeat>true</Repeat>
<RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
<RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
<StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</StartDateTime>
<UniqueIdentity>b971fa26-21f0-41f3-96de-503a7d9e22d4</UniqueIdentity>
</BusyPattern>
<BusyPattern>
<AvailabilityType>Specific</AvailabilityType>
<DayOffset>8</DayOffset>
<Days xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
</Days>
<DstDifference>PT0.1234567S</DstDifference>
<Duration>4.1</Duration>
<EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</EndDateTime>
<EntityType>Resource</EntityType>
<Identity>1fc729fe-8dc7-4454-befb-4c978525da71</Identity>
<IsException>true</IsException>
<IsLinkedPattern>true</IsLinkedPattern>
<LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>502d8717-559f-4727-ab8b-ad045726dbc0</d4p1:guid>
<d4p1:guid>1f4e22fe-e277-41c8-85d5-ebe1eb84471b</d4p1:guid>
</LinkedEntities>
<Name>sample string 13</Name>
<OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
<Repeat>true</Repeat>
<RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
<RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
<StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</StartDateTime>
<UniqueIdentity>b971fa26-21f0-41f3-96de-503a7d9e22d4</UniqueIdentity>
</BusyPattern>
</AvailabilityPatternsToAdd>
<AvailabilityPatternsToRemove>
<BusyPattern>
<AvailabilityType>Specific</AvailabilityType>
<DayOffset>8</DayOffset>
<Days xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
</Days>
<DstDifference>PT0.1234567S</DstDifference>
<Duration>4.1</Duration>
<EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</EndDateTime>
<EntityType>Resource</EntityType>
<Identity>1fc729fe-8dc7-4454-befb-4c978525da71</Identity>
<IsException>true</IsException>
<IsLinkedPattern>true</IsLinkedPattern>
<LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>502d8717-559f-4727-ab8b-ad045726dbc0</d4p1:guid>
<d4p1:guid>1f4e22fe-e277-41c8-85d5-ebe1eb84471b</d4p1:guid>
</LinkedEntities>
<Name>sample string 13</Name>
<OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
<Repeat>true</Repeat>
<RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
<RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
<StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</StartDateTime>
<UniqueIdentity>b971fa26-21f0-41f3-96de-503a7d9e22d4</UniqueIdentity>
</BusyPattern>
<BusyPattern>
<AvailabilityType>Specific</AvailabilityType>
<DayOffset>8</DayOffset>
<Days xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
</Days>
<DstDifference>PT0.1234567S</DstDifference>
<Duration>4.1</Duration>
<EndDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</EndDateTime>
<EntityType>Resource</EntityType>
<Identity>1fc729fe-8dc7-4454-befb-4c978525da71</Identity>
<IsException>true</IsException>
<IsLinkedPattern>true</IsLinkedPattern>
<LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>502d8717-559f-4727-ab8b-ad045726dbc0</d4p1:guid>
<d4p1:guid>1f4e22fe-e277-41c8-85d5-ebe1eb84471b</d4p1:guid>
</LinkedEntities>
<Name>sample string 13</Name>
<OffsetAtCreation>PT0.1234567S</OffsetAtCreation>
<Repeat>true</Repeat>
<RepeatEndLocal>PT0.1234567S</RepeatEndLocal>
<RepeatStartLocal>PT0.1234567S</RepeatStartLocal>
<StartDateTime xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
<d4p1:DateTime>2025-11-30T13:21:32.4619259Z</d4p1:DateTime>
<d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
</StartDateTime>
<UniqueIdentity>b971fa26-21f0-41f3-96de-503a7d9e22d4</UniqueIdentity>
</BusyPattern>
</AvailabilityPatternsToRemove>
</BulkUpdateBusyPatterns>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |