PUT api/BookingTypes/{bookingTypeIdentity}/UpdateBusyPatterns
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bookingTypeIdentity | string |
Required |
Body Parameters
BulkUpdateBusyPatternsName | Description | Type | Additional information |
---|---|---|---|
AvailabilityPatternsToAdd | Collection of BusyPattern |
None. |
|
AvailabilityPatternsToRemove | Collection of BusyPattern |
None. |
Request Formats
application/json, text/json
Sample:
{ "AvailabilityPatternsToAdd": [ { "UniqueIdentity": "42fb01c4-6fa1-4d43-8c14-f2566aa86b3c", "StartDateTime": "2024-11-21T09:14:03.9585804+00:00", "EndDateTime": "2024-11-21T09:14:03.9585804+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "39f16174-e2e4-4faf-8cc4-0ff719048f59", "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": [ "a2138746-9f75-4718-b52f-0092d73250e1", "8eef7e45-e7b5-45a8-a12b-d34b816caa36" ] }, { "UniqueIdentity": "42fb01c4-6fa1-4d43-8c14-f2566aa86b3c", "StartDateTime": "2024-11-21T09:14:03.9585804+00:00", "EndDateTime": "2024-11-21T09:14:03.9585804+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "39f16174-e2e4-4faf-8cc4-0ff719048f59", "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": [ "a2138746-9f75-4718-b52f-0092d73250e1", "8eef7e45-e7b5-45a8-a12b-d34b816caa36" ] } ], "AvailabilityPatternsToRemove": [ { "UniqueIdentity": "42fb01c4-6fa1-4d43-8c14-f2566aa86b3c", "StartDateTime": "2024-11-21T09:14:03.9585804+00:00", "EndDateTime": "2024-11-21T09:14:03.9585804+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "39f16174-e2e4-4faf-8cc4-0ff719048f59", "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": [ "a2138746-9f75-4718-b52f-0092d73250e1", "8eef7e45-e7b5-45a8-a12b-d34b816caa36" ] }, { "UniqueIdentity": "42fb01c4-6fa1-4d43-8c14-f2566aa86b3c", "StartDateTime": "2024-11-21T09:14:03.9585804+00:00", "EndDateTime": "2024-11-21T09:14:03.9585804+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "39f16174-e2e4-4faf-8cc4-0ff719048f59", "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": [ "a2138746-9f75-4718-b52f-0092d73250e1", "8eef7e45-e7b5-45a8-a12b-d34b816caa36" ] } ] }
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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>39f16174-e2e4-4faf-8cc4-0ff719048f59</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a2138746-9f75-4718-b52f-0092d73250e1</d4p1:guid> <d4p1:guid>8eef7e45-e7b5-45a8-a12b-d34b816caa36</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>42fb01c4-6fa1-4d43-8c14-f2566aa86b3c</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>39f16174-e2e4-4faf-8cc4-0ff719048f59</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a2138746-9f75-4718-b52f-0092d73250e1</d4p1:guid> <d4p1:guid>8eef7e45-e7b5-45a8-a12b-d34b816caa36</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>42fb01c4-6fa1-4d43-8c14-f2566aa86b3c</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>39f16174-e2e4-4faf-8cc4-0ff719048f59</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a2138746-9f75-4718-b52f-0092d73250e1</d4p1:guid> <d4p1:guid>8eef7e45-e7b5-45a8-a12b-d34b816caa36</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>42fb01c4-6fa1-4d43-8c14-f2566aa86b3c</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>39f16174-e2e4-4faf-8cc4-0ff719048f59</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>a2138746-9f75-4718-b52f-0092d73250e1</d4p1:guid> <d4p1:guid>8eef7e45-e7b5-45a8-a12b-d34b816caa36</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>2024-11-21T09:14:03.9585804Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>42fb01c4-6fa1-4d43-8c14-f2566aa86b3c</UniqueIdentity> </BusyPattern> </AvailabilityPatternsToRemove> </BulkUpdateBusyPatterns>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |