PUT api/ResourceTypes/{resourceTypeIdentity}/Resources/{resourceIdentity}/UpdateBusyPatterns

Request Information

URI Parameters

NameDescriptionTypeAdditional information
resourceTypeIdentity

string

Required

resourceIdentity

string

Required

Body Parameters

BulkUpdateBusyPatterns
NameDescriptionTypeAdditional information
AvailabilityPatternsToAdd

Collection of BusyPattern

None.

AvailabilityPatternsToRemove

Collection of BusyPattern

None.

Request Formats

application/json, text/json

Sample:
{
  "AvailabilityPatternsToAdd": [
    {
      "UniqueIdentity": "84772306-0838-4180-a2e3-cb522f64681a",
      "StartDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "EndDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "Duration": 4.1,
      "Days": [
        0,
        0
      ],
      "Repeat": true,
      "IsException": true,
      "DstDifference": "00:00:00.1234567",
      "DayOffset": 8,
      "Identity": "57a31401-8c3a-4eb3-ad55-98e12d0a55ff",
      "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": [
        "84dd3516-db69-4e2f-82f4-259abecdc59a",
        "c88c5201-a4cd-415c-b2a6-4a9329ff473c"
      ]
    },
    {
      "UniqueIdentity": "84772306-0838-4180-a2e3-cb522f64681a",
      "StartDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "EndDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "Duration": 4.1,
      "Days": [
        0,
        0
      ],
      "Repeat": true,
      "IsException": true,
      "DstDifference": "00:00:00.1234567",
      "DayOffset": 8,
      "Identity": "57a31401-8c3a-4eb3-ad55-98e12d0a55ff",
      "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": [
        "84dd3516-db69-4e2f-82f4-259abecdc59a",
        "c88c5201-a4cd-415c-b2a6-4a9329ff473c"
      ]
    }
  ],
  "AvailabilityPatternsToRemove": [
    {
      "UniqueIdentity": "84772306-0838-4180-a2e3-cb522f64681a",
      "StartDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "EndDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "Duration": 4.1,
      "Days": [
        0,
        0
      ],
      "Repeat": true,
      "IsException": true,
      "DstDifference": "00:00:00.1234567",
      "DayOffset": 8,
      "Identity": "57a31401-8c3a-4eb3-ad55-98e12d0a55ff",
      "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": [
        "84dd3516-db69-4e2f-82f4-259abecdc59a",
        "c88c5201-a4cd-415c-b2a6-4a9329ff473c"
      ]
    },
    {
      "UniqueIdentity": "84772306-0838-4180-a2e3-cb522f64681a",
      "StartDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "EndDateTime": "2024-11-21T08:54:12.7678612+00:00",
      "Duration": 4.1,
      "Days": [
        0,
        0
      ],
      "Repeat": true,
      "IsException": true,
      "DstDifference": "00:00:00.1234567",
      "DayOffset": 8,
      "Identity": "57a31401-8c3a-4eb3-ad55-98e12d0a55ff",
      "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": [
        "84dd3516-db69-4e2f-82f4-259abecdc59a",
        "c88c5201-a4cd-415c-b2a6-4a9329ff473c"
      ]
    }
  ]
}

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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </EndDateTime>
      <EntityType>Resource</EntityType>
      <Identity>57a31401-8c3a-4eb3-ad55-98e12d0a55ff</Identity>
      <IsException>true</IsException>
      <IsLinkedPattern>true</IsLinkedPattern>
      <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>84dd3516-db69-4e2f-82f4-259abecdc59a</d4p1:guid>
        <d4p1:guid>c88c5201-a4cd-415c-b2a6-4a9329ff473c</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </StartDateTime>
      <UniqueIdentity>84772306-0838-4180-a2e3-cb522f64681a</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </EndDateTime>
      <EntityType>Resource</EntityType>
      <Identity>57a31401-8c3a-4eb3-ad55-98e12d0a55ff</Identity>
      <IsException>true</IsException>
      <IsLinkedPattern>true</IsLinkedPattern>
      <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>84dd3516-db69-4e2f-82f4-259abecdc59a</d4p1:guid>
        <d4p1:guid>c88c5201-a4cd-415c-b2a6-4a9329ff473c</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </StartDateTime>
      <UniqueIdentity>84772306-0838-4180-a2e3-cb522f64681a</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </EndDateTime>
      <EntityType>Resource</EntityType>
      <Identity>57a31401-8c3a-4eb3-ad55-98e12d0a55ff</Identity>
      <IsException>true</IsException>
      <IsLinkedPattern>true</IsLinkedPattern>
      <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>84dd3516-db69-4e2f-82f4-259abecdc59a</d4p1:guid>
        <d4p1:guid>c88c5201-a4cd-415c-b2a6-4a9329ff473c</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </StartDateTime>
      <UniqueIdentity>84772306-0838-4180-a2e3-cb522f64681a</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </EndDateTime>
      <EntityType>Resource</EntityType>
      <Identity>57a31401-8c3a-4eb3-ad55-98e12d0a55ff</Identity>
      <IsException>true</IsException>
      <IsLinkedPattern>true</IsLinkedPattern>
      <LinkedEntities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>84dd3516-db69-4e2f-82f4-259abecdc59a</d4p1:guid>
        <d4p1:guid>c88c5201-a4cd-415c-b2a6-4a9329ff473c</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-21T08:54:12.7678612Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </StartDateTime>
      <UniqueIdentity>84772306-0838-4180-a2e3-cb522f64681a</UniqueIdentity>
    </BusyPattern>
  </AvailabilityPatternsToRemove>
</BulkUpdateBusyPatterns>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.