PUT api/AvailabilityPatterns/{availabilityConfigIdentity}/UpdateBusyPatterns
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
availabilityConfigIdentity | 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": "11ffcb0f-ffdf-477f-823e-1d79bdfa0621", "StartDateTime": "2024-11-21T09:17:09.3762324+00:00", "EndDateTime": "2024-11-21T09:17:09.3762324+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "9ccbe08f-93d6-4f95-b9bd-c19028b6c640", "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": [ "ed7e6a10-2bb6-49ce-81d5-5ce7525c768d", "3ebed214-38a7-4b7d-ad0d-267b0854aa3f" ] }, { "UniqueIdentity": "11ffcb0f-ffdf-477f-823e-1d79bdfa0621", "StartDateTime": "2024-11-21T09:17:09.3762324+00:00", "EndDateTime": "2024-11-21T09:17:09.3762324+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "9ccbe08f-93d6-4f95-b9bd-c19028b6c640", "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": [ "ed7e6a10-2bb6-49ce-81d5-5ce7525c768d", "3ebed214-38a7-4b7d-ad0d-267b0854aa3f" ] } ], "AvailabilityPatternsToRemove": [ { "UniqueIdentity": "11ffcb0f-ffdf-477f-823e-1d79bdfa0621", "StartDateTime": "2024-11-21T09:17:09.3762324+00:00", "EndDateTime": "2024-11-21T09:17:09.3762324+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "9ccbe08f-93d6-4f95-b9bd-c19028b6c640", "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": [ "ed7e6a10-2bb6-49ce-81d5-5ce7525c768d", "3ebed214-38a7-4b7d-ad0d-267b0854aa3f" ] }, { "UniqueIdentity": "11ffcb0f-ffdf-477f-823e-1d79bdfa0621", "StartDateTime": "2024-11-21T09:17:09.3762324+00:00", "EndDateTime": "2024-11-21T09:17:09.3762324+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "9ccbe08f-93d6-4f95-b9bd-c19028b6c640", "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": [ "ed7e6a10-2bb6-49ce-81d5-5ce7525c768d", "3ebed214-38a7-4b7d-ad0d-267b0854aa3f" ] } ] }
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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>9ccbe08f-93d6-4f95-b9bd-c19028b6c640</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ed7e6a10-2bb6-49ce-81d5-5ce7525c768d</d4p1:guid> <d4p1:guid>3ebed214-38a7-4b7d-ad0d-267b0854aa3f</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>11ffcb0f-ffdf-477f-823e-1d79bdfa0621</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>9ccbe08f-93d6-4f95-b9bd-c19028b6c640</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ed7e6a10-2bb6-49ce-81d5-5ce7525c768d</d4p1:guid> <d4p1:guid>3ebed214-38a7-4b7d-ad0d-267b0854aa3f</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>11ffcb0f-ffdf-477f-823e-1d79bdfa0621</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>9ccbe08f-93d6-4f95-b9bd-c19028b6c640</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ed7e6a10-2bb6-49ce-81d5-5ce7525c768d</d4p1:guid> <d4p1:guid>3ebed214-38a7-4b7d-ad0d-267b0854aa3f</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>11ffcb0f-ffdf-477f-823e-1d79bdfa0621</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>9ccbe08f-93d6-4f95-b9bd-c19028b6c640</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>ed7e6a10-2bb6-49ce-81d5-5ce7525c768d</d4p1:guid> <d4p1:guid>3ebed214-38a7-4b7d-ad0d-267b0854aa3f</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:17:09.3762324Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>11ffcb0f-ffdf-477f-823e-1d79bdfa0621</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. |