GET api/BusinessIntelligence/GetUpdatedJournalNoteData?updatedSince={updatedSince}
Get journal note data that has been created or updated since updatedSince. This might return notes already fetched if they have been updated. (Like being signed or crossed out). To match existing data with the updated one use: * NoteId * SearchwordId
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 JournalNoteStatisticDataDtoName | Description | Type | Additional Information |
---|---|---|---|
NoteId |
Internal note id. This id might not be unique in the dataset. Any statistics counting the number of notes needs to do a distinct count. |
integer |
None. |
BiUpdatedDate |
The date when the statistic data was created or updated. |
date |
None. |
SearchwordId |
Internal id for searchword. (Sökord). To get the full searchword hierarchy and their labels, use getActiveSearchwordHierarchy call. |
integer |
None. |
SearchwordCode |
Searchword code. Could be used as identifier of the searchword instead of the internal one. |
string |
None. |
RootSearchwordId |
Root Searchword Id for hierarchy. |
integer |
None. |
RootSearchwordName |
Root Searchword name |
string |
None. |
RootSearchwordCode |
Root Searchword code |
string |
None. |
CreatedDate |
The date when the note was created. |
date |
None. |
OccurredDate |
The date when the event occurred. This might be different from created date. |
date |
None. |
SignedDate |
The date when the note was signed. |
date |
None. |
CrossedOutDate |
The date when the notes was signed. |
date |
None. |
IsSigned |
True if SignedDate has a value |
boolean |
None. |
IsCrossedOut |
True if CrossedOutDate has a value |
boolean |
None. |
IsFlagged |
True if the note is flagged. |
boolean |
None. |
IsShared |
True if the note is shared. |
boolean |
None. |
GroupId |
Internal group id. To get a full list of group ids and names, use call getActiveGroups |
integer |
None. |
TeamId |
Internal team id. To get a full list of team id's and names, use call getActiveTeams |
integer |
None. |
CreatedByResourceId |
Internal ID of the resource (user) creating the note |
integer |
None. |
CreatedByProfessionId |
Internal ID of the profession of the creator at the time of note creation. To get a full list of profession id's and names, use call getActiveProfessions |
integer |
None. |
JournalTypeId |
Internal ID of journal types. To get the full list of journal types, use call getActiveJournalTypes |
integer |
None. |
NoteTypeId |
Internal ID of the note type. To get a full list of note types, use call getActiveNoteTypes |
integer |
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. |
PlanId |
Plan id, look up in data coming from GetJournalPlanData() and GetUpdatedJournalPlanData(). |
integer |
None. |
Answer |
If the note includes a single question, the answer is |
string |
None. |
Response Formats
application/json, text/json
[ { "NoteId": 1, "BiUpdatedDate": "2025-05-23T19:37:58.9927761+02:00", "SearchwordId": 1, "SearchwordCode": "sample string 3", "RootSearchwordId": 1, "RootSearchwordName": "sample string 4", "RootSearchwordCode": "sample string 5", "CreatedDate": "2025-05-23T19:37:58.9927761+02:00", "OccurredDate": "2025-05-23T19:37:58.9927761+02:00", "SignedDate": "2025-05-23T19:37:58.9927761+02:00", "CrossedOutDate": "2025-05-23T19:37:58.9927761+02:00", "IsSigned": true, "IsCrossedOut": true, "IsFlagged": true, "IsShared": true, "GroupId": 12, "TeamId": 1, "CreatedByResourceId": 13, "CreatedByProfessionId": 1, "JournalTypeId": 14, "NoteTypeId": 15, "ClientId": 16, "ClientPnr": "sample string 17", "ClientPnrGender": "A", "ClientBirthDate": "2025-05-23T19:37:58.9927761+02:00", "PlanId": 1, "Answer": "sample string 19" }, { "NoteId": 1, "BiUpdatedDate": "2025-05-23T19:37:58.9927761+02:00", "SearchwordId": 1, "SearchwordCode": "sample string 3", "RootSearchwordId": 1, "RootSearchwordName": "sample string 4", "RootSearchwordCode": "sample string 5", "CreatedDate": "2025-05-23T19:37:58.9927761+02:00", "OccurredDate": "2025-05-23T19:37:58.9927761+02:00", "SignedDate": "2025-05-23T19:37:58.9927761+02:00", "CrossedOutDate": "2025-05-23T19:37:58.9927761+02:00", "IsSigned": true, "IsCrossedOut": true, "IsFlagged": true, "IsShared": true, "GroupId": 12, "TeamId": 1, "CreatedByResourceId": 13, "CreatedByProfessionId": 1, "JournalTypeId": 14, "NoteTypeId": 15, "ClientId": 16, "ClientPnr": "sample string 17", "ClientPnrGender": "A", "ClientBirthDate": "2025-05-23T19:37:58.9927761+02:00", "PlanId": 1, "Answer": "sample string 19" } ]
application/xml, text/xml
<ArrayOfJournalNoteStatisticDataDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <JournalNoteStatisticDataDto> <NoteId>1</NoteId> <BiUpdatedDate>2025-05-23T19:37:58.9927761+02:00</BiUpdatedDate> <SearchwordId>1</SearchwordId> <SearchwordCode>sample string 3</SearchwordCode> <RootSearchwordId>1</RootSearchwordId> <RootSearchwordName>sample string 4</RootSearchwordName> <RootSearchwordCode>sample string 5</RootSearchwordCode> <CreatedDate>2025-05-23T19:37:58.9927761+02:00</CreatedDate> <OccurredDate>2025-05-23T19:37:58.9927761+02:00</OccurredDate> <SignedDate>2025-05-23T19:37:58.9927761+02:00</SignedDate> <CrossedOutDate>2025-05-23T19:37:58.9927761+02:00</CrossedOutDate> <IsSigned>true</IsSigned> <IsCrossedOut>true</IsCrossedOut> <IsFlagged>true</IsFlagged> <IsShared>true</IsShared> <GroupId>12</GroupId> <TeamId>1</TeamId> <CreatedByResourceId>13</CreatedByResourceId> <CreatedByProfessionId>1</CreatedByProfessionId> <JournalTypeId>14</JournalTypeId> <NoteTypeId>15</NoteTypeId> <ClientId>16</ClientId> <ClientPnr>sample string 17</ClientPnr> <ClientPnrGender>65</ClientPnrGender> <ClientBirthDate>2025-05-23T19:37:58.9927761+02:00</ClientBirthDate> <PlanId>1</PlanId> <Answer>sample string 19</Answer> </JournalNoteStatisticDataDto> <JournalNoteStatisticDataDto> <NoteId>1</NoteId> <BiUpdatedDate>2025-05-23T19:37:58.9927761+02:00</BiUpdatedDate> <SearchwordId>1</SearchwordId> <SearchwordCode>sample string 3</SearchwordCode> <RootSearchwordId>1</RootSearchwordId> <RootSearchwordName>sample string 4</RootSearchwordName> <RootSearchwordCode>sample string 5</RootSearchwordCode> <CreatedDate>2025-05-23T19:37:58.9927761+02:00</CreatedDate> <OccurredDate>2025-05-23T19:37:58.9927761+02:00</OccurredDate> <SignedDate>2025-05-23T19:37:58.9927761+02:00</SignedDate> <CrossedOutDate>2025-05-23T19:37:58.9927761+02:00</CrossedOutDate> <IsSigned>true</IsSigned> <IsCrossedOut>true</IsCrossedOut> <IsFlagged>true</IsFlagged> <IsShared>true</IsShared> <GroupId>12</GroupId> <TeamId>1</TeamId> <CreatedByResourceId>13</CreatedByResourceId> <CreatedByProfessionId>1</CreatedByProfessionId> <JournalTypeId>14</JournalTypeId> <NoteTypeId>15</NoteTypeId> <ClientId>16</ClientId> <ClientPnr>sample string 17</ClientPnr> <ClientPnrGender>65</ClientPnrGender> <ClientBirthDate>2025-05-23T19:37:58.9927761+02:00</ClientBirthDate> <PlanId>1</PlanId> <Answer>sample string 19</Answer> </JournalNoteStatisticDataDto> </ArrayOfJournalNoteStatisticDataDto>