GET PlanCare2Api/ArrangementProductActs/LinkedArrangements?clientplanId={clientplanId}

Fetches the linked arrangements for a specific clientplan.

Request Information

URI Parameters

Name Description Type Additional information
clientplanId

The clientplan identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

ClientplanArrangement

LinkedArrangementsInClientplan
Name Description Type Additional information
ClientplanId

The clientplan identifier.

integer

-

ClientplanProductArrangementProductActs

The clientplan product arrangement product acts.

Collection of ClientplanProductArrangementProductAct

-

Response Formats

application/json, text/json

Sample:
{
  "ClientplanId": 1,
  "ClientplanProductArrangementProductActs": [
    {
      "$id": "2",
      "ClientplanArrangementProductActId": 1,
      "ClientId": 2,
      "Status": 3,
      "CountPerWeek": 1,
      "NormTime": 1,
      "ProductArrangementProductAct": {
        "$id": "3",
        "ProductArrangementProductActId": 1,
        "CountPerWeek": 1,
        "TargetTime": 1,
        "Arrangement": {
          "$id": "4",
          "Id": 1,
          "Name": "sample string 2",
          "Description": "sample string 3",
          "NormTime": 1,
          "Price": 1.0,
          "StartDate": "2026-05-26T21:12:30.505052+02:00",
          "EndDate": "2026-05-26T21:12:30.505052+02:00",
          "ContractType": {
            "$id": "5",
            "Id": 1,
            "Code": "sample string 2",
            "Description": "sample string 3",
            "IsActive": true,
            "Source": "sample string 5"
          }
        },
        "Product": {
          "$id": "6",
          "Id": 1,
          "ParentId": 2,
          "Name": "sample string 3",
          "Description": "sample string 4",
          "StartDate": "2026-05-26T21:12:30.505052+02:00",
          "EndDate": "2026-05-26T21:12:30.505052+02:00",
          "DefaultMinutes": 6,
          "TypeId": 7,
          "TypeCode": "sample string 8",
          "TypeName": "sample string 9",
          "RegistrationTypeId": 10,
          "RegistrationType": "sample string 11"
        },
        "Act": {
          "$id": "7",
          "ArrangementProductActId": 1,
          "Id": 2,
          "Name": "sample string 3",
          "CountPerWeek": 1,
          "TargetTime": 1,
          "Price": 1.0,
          "Status": 0
        }
      }
    },
    {
      "$ref": "2"
    }
  ]
}

application/xml, text/xml

Sample:
<LinkedArrangementsInClientplan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <ClientplanId>1</ClientplanId>
  <ClientplanProductArrangementProductActs>
    <ClientplanProductArrangementProductAct>
      <ClientId>2</ClientId>
      <ClientplanArrangementProductActId>1</ClientplanArrangementProductActId>
      <CountPerWeek>1</CountPerWeek>
      <NormTime>1</NormTime>
      <ProductArrangementProductAct>
        <Act>
          <ArrangementProductActId>1</ArrangementProductActId>
          <CountPerWeek>1</CountPerWeek>
          <Id>2</Id>
          <Name>sample string 3</Name>
          <Price>1</Price>
          <Status>Concept</Status>
          <TargetTime>1</TargetTime>
        </Act>
        <Arrangement>
          <ContractType xmlns:d6p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:Description>sample string 3</d6p1:Description>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:IsActive>true</d6p1:IsActive>
            <d6p1:Source>sample string 5</d6p1:Source>
          </ContractType>
          <Description>sample string 3</Description>
          <EndDate>2026-05-26T21:12:30.505052+02:00</EndDate>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NormTime>1</NormTime>
          <Price>1</Price>
          <StartDate>2026-05-26T21:12:30.505052+02:00</StartDate>
        </Arrangement>
        <CountPerWeek>1</CountPerWeek>
        <Product xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
          <d5p1:DefaultMinutes>6</d5p1:DefaultMinutes>
          <d5p1:Description>sample string 4</d5p1:Description>
          <d5p1:EndDate>2026-05-26T21:12:30.505052+02:00</d5p1:EndDate>
          <d5p1:Id>1</d5p1:Id>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:ParentId>2</d5p1:ParentId>
          <d5p1:RegistrationType>sample string 11</d5p1:RegistrationType>
          <d5p1:RegistrationTypeId>10</d5p1:RegistrationTypeId>
          <d5p1:StartDate>2026-05-26T21:12:30.505052+02:00</d5p1:StartDate>
          <d5p1:TypeCode>sample string 8</d5p1:TypeCode>
          <d5p1:TypeId>7</d5p1:TypeId>
          <d5p1:TypeName>sample string 9</d5p1:TypeName>
        </Product>
        <ProductArrangementProductActId>1</ProductArrangementProductActId>
        <TargetTime>1</TargetTime>
      </ProductArrangementProductAct>
      <Status>3</Status>
    </ClientplanProductArrangementProductAct>
    <ClientplanProductArrangementProductAct>
      <ClientId>2</ClientId>
      <ClientplanArrangementProductActId>1</ClientplanArrangementProductActId>
      <CountPerWeek>1</CountPerWeek>
      <NormTime>1</NormTime>
      <ProductArrangementProductAct>
        <Act>
          <ArrangementProductActId>1</ArrangementProductActId>
          <CountPerWeek>1</CountPerWeek>
          <Id>2</Id>
          <Name>sample string 3</Name>
          <Price>1</Price>
          <Status>Concept</Status>
          <TargetTime>1</TargetTime>
        </Act>
        <Arrangement>
          <ContractType xmlns:d6p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:Description>sample string 3</d6p1:Description>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:IsActive>true</d6p1:IsActive>
            <d6p1:Source>sample string 5</d6p1:Source>
          </ContractType>
          <Description>sample string 3</Description>
          <EndDate>2026-05-26T21:12:30.505052+02:00</EndDate>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <NormTime>1</NormTime>
          <Price>1</Price>
          <StartDate>2026-05-26T21:12:30.505052+02:00</StartDate>
        </Arrangement>
        <CountPerWeek>1</CountPerWeek>
        <Product xmlns:d5p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
          <d5p1:DefaultMinutes>6</d5p1:DefaultMinutes>
          <d5p1:Description>sample string 4</d5p1:Description>
          <d5p1:EndDate>2026-05-26T21:12:30.505052+02:00</d5p1:EndDate>
          <d5p1:Id>1</d5p1:Id>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:ParentId>2</d5p1:ParentId>
          <d5p1:RegistrationType>sample string 11</d5p1:RegistrationType>
          <d5p1:RegistrationTypeId>10</d5p1:RegistrationTypeId>
          <d5p1:StartDate>2026-05-26T21:12:30.505052+02:00</d5p1:StartDate>
          <d5p1:TypeCode>sample string 8</d5p1:TypeCode>
          <d5p1:TypeId>7</d5p1:TypeId>
          <d5p1:TypeName>sample string 9</d5p1:TypeName>
        </Product>
        <ProductArrangementProductActId>1</ProductArrangementProductActId>
        <TargetTime>1</TargetTime>
      </ProductArrangementProductAct>
      <Status>3</Status>
    </ClientplanProductArrangementProductAct>
  </ClientplanProductArrangementProductActs>
</LinkedArrangementsInClientplan>