PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{resourceIdentity}/UpdateBusyPatterns
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
resourceTypeIdentity | string |
Required |
|
resourceIdentity | 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": "1900cebc-f5ac-4e83-a2b4-fe636634db62", "StartDateTime": "2025-04-03T22:49:12.9106235+00:00", "EndDateTime": "2025-04-03T22:49:12.9106235+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "a6e94bfe-9125-480d-a3c6-326caf8e0036", "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": [ "39fcafa2-5b33-4cef-9e73-961abcdc3b20", "dbab8fdf-702d-4f9f-88d6-e8c6b21679a2" ] }, { "UniqueIdentity": "1900cebc-f5ac-4e83-a2b4-fe636634db62", "StartDateTime": "2025-04-03T22:49:12.9106235+00:00", "EndDateTime": "2025-04-03T22:49:12.9106235+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "a6e94bfe-9125-480d-a3c6-326caf8e0036", "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": [ "39fcafa2-5b33-4cef-9e73-961abcdc3b20", "dbab8fdf-702d-4f9f-88d6-e8c6b21679a2" ] } ], "AvailabilityPatternsToRemove": [ { "UniqueIdentity": "1900cebc-f5ac-4e83-a2b4-fe636634db62", "StartDateTime": "2025-04-03T22:49:12.9106235+00:00", "EndDateTime": "2025-04-03T22:49:12.9106235+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "a6e94bfe-9125-480d-a3c6-326caf8e0036", "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": [ "39fcafa2-5b33-4cef-9e73-961abcdc3b20", "dbab8fdf-702d-4f9f-88d6-e8c6b21679a2" ] }, { "UniqueIdentity": "1900cebc-f5ac-4e83-a2b4-fe636634db62", "StartDateTime": "2025-04-03T22:49:12.9106235+00:00", "EndDateTime": "2025-04-03T22:49:12.9106235+00:00", "Duration": 4.1, "Days": [ 0, 0 ], "Repeat": true, "IsException": true, "DstDifference": "00:00:00.1234567", "DayOffset": 8, "Identity": "a6e94bfe-9125-480d-a3c6-326caf8e0036", "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": [ "39fcafa2-5b33-4cef-9e73-961abcdc3b20", "dbab8fdf-702d-4f9f-88d6-e8c6b21679a2" ] } ] }
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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>a6e94bfe-9125-480d-a3c6-326caf8e0036</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>39fcafa2-5b33-4cef-9e73-961abcdc3b20</d4p1:guid> <d4p1:guid>dbab8fdf-702d-4f9f-88d6-e8c6b21679a2</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>1900cebc-f5ac-4e83-a2b4-fe636634db62</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>a6e94bfe-9125-480d-a3c6-326caf8e0036</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>39fcafa2-5b33-4cef-9e73-961abcdc3b20</d4p1:guid> <d4p1:guid>dbab8fdf-702d-4f9f-88d6-e8c6b21679a2</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>1900cebc-f5ac-4e83-a2b4-fe636634db62</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>a6e94bfe-9125-480d-a3c6-326caf8e0036</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>39fcafa2-5b33-4cef-9e73-961abcdc3b20</d4p1:guid> <d4p1:guid>dbab8fdf-702d-4f9f-88d6-e8c6b21679a2</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>1900cebc-f5ac-4e83-a2b4-fe636634db62</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </EndDateTime> <EntityType>Resource</EntityType> <Identity>a6e94bfe-9125-480d-a3c6-326caf8e0036</Identity> <IsException>true</IsException> <IsLinkedPattern>true</IsLinkedPattern> <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>39fcafa2-5b33-4cef-9e73-961abcdc3b20</d4p1:guid> <d4p1:guid>dbab8fdf-702d-4f9f-88d6-e8c6b21679a2</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-04-03T22:49:12.9106235Z</d4p1:DateTime> <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes> </StartDateTime> <UniqueIdentity>1900cebc-f5ac-4e83-a2b4-fe636634db62</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. |