GET api/BusinessIntelligence/GetUpdatedJournalPlanData?updatedSince={updatedSince}

Get journal plan data that has been created or updated since updatedSince. This might return plans already fetched if they have been updated. (Like being established or closed). To match existing data with the updated one use: * PlanId

Request Information

URI Parameters

Name Description Type Additional Information
updatedSince

Filter data that has been updated after this date (and time)

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of JournalPlanStatisticsDataDto
Name Description Type Additional Information
PlanId

Internal plan id. This id might not be unique in the dataset. Any statistics counting the number of plans needs to do a distinct count.

integer

None.

PlanName

The name of the plan.

string

None.

Law

Name of the law (lagrum) for this plan.

string

None.

GroupId

Internal group id. To get a full list of group ids and names, use call getActiveGroups

integer

None.

PlanType

Name of the plan type. (Implementation plan IBIC/BBIC, Health plan)

string

None.

PlanTypeId

Internal ID of the plan type.

integer

None.

Created

The date when the plan was created.

date

None.

Closed

The date when the plan is closed. This is set specifically for health plans by the user. For implementation plans it is set when the plan's order is either replaced or archived.

date

None.

Established

The date when the plan was established. If the plan type is health plan this will always be null.

date

None.

FollowUp

The date when the plan should be followed up next.

date

None.

ClientId

Internal id of the client. Can be used to count or group data when the PNR is missing.

integer

None.

ClientPnr

Client personal number

string

None.

ClientPnrGender

Client gender according to the personal number

character

None.

ClientBirthDate

Client birth date

date

None.

ClientStatus

Client status

ClientStatus

None.

OrderId

The OrderId this Plan belongs to (if any)

integer

None.

Archived

The date this plan was archived or null if the plan is still active

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PlanId": 1,
    "PlanName": "sample string 2",
    "Law": "sample string 3",
    "GroupId": 4,
    "PlanType": "sample string 5",
    "PlanTypeId": 6,
    "Created": "2025-05-23T09:25:37.514884+02:00",
    "Closed": "2025-05-23T09:25:37.514884+02:00",
    "Established": "2025-05-23T09:25:37.514884+02:00",
    "FollowUp": "2025-05-23T09:25:37.514884+02:00",
    "ClientId": 8,
    "ClientPnr": "sample string 9",
    "ClientPnrGender": "A",
    "ClientBirthDate": "2025-05-23T09:25:37.514884+02:00",
    "ClientStatus": 0,
    "OrderId": 1,
    "Archived": "2025-05-23T09:25:37.514884+02:00"
  },
  {
    "PlanId": 1,
    "PlanName": "sample string 2",
    "Law": "sample string 3",
    "GroupId": 4,
    "PlanType": "sample string 5",
    "PlanTypeId": 6,
    "Created": "2025-05-23T09:25:37.514884+02:00",
    "Closed": "2025-05-23T09:25:37.514884+02:00",
    "Established": "2025-05-23T09:25:37.514884+02:00",
    "FollowUp": "2025-05-23T09:25:37.514884+02:00",
    "ClientId": 8,
    "ClientPnr": "sample string 9",
    "ClientPnrGender": "A",
    "ClientBirthDate": "2025-05-23T09:25:37.514884+02:00",
    "ClientStatus": 0,
    "OrderId": 1,
    "Archived": "2025-05-23T09:25:37.514884+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfJournalPlanStatisticsDataDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <JournalPlanStatisticsDataDto>
    <PlanId>1</PlanId>
    <PlanName>sample string 2</PlanName>
    <Law>sample string 3</Law>
    <GroupId>4</GroupId>
    <PlanType>sample string 5</PlanType>
    <PlanTypeId>6</PlanTypeId>
    <Created>2025-05-23T09:25:37.514884+02:00</Created>
    <Closed>2025-05-23T09:25:37.514884+02:00</Closed>
    <Established>2025-05-23T09:25:37.514884+02:00</Established>
    <FollowUp>2025-05-23T09:25:37.514884+02:00</FollowUp>
    <ClientId>8</ClientId>
    <ClientPnr>sample string 9</ClientPnr>
    <ClientPnrGender>65</ClientPnrGender>
    <ClientBirthDate>2025-05-23T09:25:37.514884+02:00</ClientBirthDate>
    <ClientStatus>Inskriven</ClientStatus>
    <OrderId>1</OrderId>
    <Archived>2025-05-23T09:25:37.514884+02:00</Archived>
  </JournalPlanStatisticsDataDto>
  <JournalPlanStatisticsDataDto>
    <PlanId>1</PlanId>
    <PlanName>sample string 2</PlanName>
    <Law>sample string 3</Law>
    <GroupId>4</GroupId>
    <PlanType>sample string 5</PlanType>
    <PlanTypeId>6</PlanTypeId>
    <Created>2025-05-23T09:25:37.514884+02:00</Created>
    <Closed>2025-05-23T09:25:37.514884+02:00</Closed>
    <Established>2025-05-23T09:25:37.514884+02:00</Established>
    <FollowUp>2025-05-23T09:25:37.514884+02:00</FollowUp>
    <ClientId>8</ClientId>
    <ClientPnr>sample string 9</ClientPnr>
    <ClientPnrGender>65</ClientPnrGender>
    <ClientBirthDate>2025-05-23T09:25:37.514884+02:00</ClientBirthDate>
    <ClientStatus>Inskriven</ClientStatus>
    <OrderId>1</OrderId>
    <Archived>2025-05-23T09:25:37.514884+02:00</Archived>
  </JournalPlanStatisticsDataDto>
</ArrayOfJournalPlanStatisticsDataDto>