POST api/patients/actions/updates

Retrieves one or more actions cross patients from a given time interval and data type. There is a limitation of 50 Actions for each page. Must have a valid Authorization header.

Request Information

URI Parameters

None.

Body Parameters

The action search criteria.

UpdatedActionsSearchFilter
NameDescriptionTypeAdditional information
StartDateTime

The start DateTime of the wanted interval. Format : yyyy-MM-ddTHH:mm:ssZ

string

None.

EndDateTime

The end DateTime of the wanted interval. Format : yyyy-MM-ddTHH:mm:ssZ. If left empty it will be set to Now.

string

None.

Page

The no of page to get.

integer

None.

PageSize

The wanted size of the page.

integer

None.

DataTypes

The wanted Data Types. If not set all types are returned.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDateTime": "sample string 1",
  "EndDateTime": "sample string 2",
  "Page": 3,
  "PageSize": 4,
  "DataTypes": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<UpdatedActionsSearchFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model">
  <DataTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </DataTypes>
  <EndDateTime>sample string 2</EndDateTime>
  <Page>3</Page>
  <PageSize>4</PageSize>
  <StartDateTime>sample string 1</StartDateTime>
</UpdatedActionsSearchFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The actions that meets the search criteria.

ActionSearch
NameDescriptionTypeAdditional information
Actions

List of ActionEx's from the returned search.

Collection of Action

None.

Response Formats

application/json, text/json

Sample:
{
  "Actions": [
    {
      "Id": 1,
      "ActionGUID": "7ea77fcd-ec52-4470-aa5a-0f74c74c68b6",
      "SessionID": 3,
      "CreateDate": "sample string 4",
      "ModuleID": 5,
      "Description": "sample string 6",
      "DataTypeCode": 7,
      "DataFmtStd": 8,
      "DataFmtExt": 9,
      "ActionGroup": "sample string 10",
      "DeviceType": 11,
      "LastModifiedDate": "sample string 12",
      "UserInitials": "sample string 13",
      "ActionReferences": [
        1,
        2
      ],
      "PublicData": "QEA=",
      "PrivateData": "QEA=",
      "ActionGroupGUID": "eabee218-4c1a-4e15-a02c-d8eb18290fff",
      "UserGUID": "11ae6120-9c62-4b22-9c49-8c8e2f65071a",
      "PatientGUID": "4d163dfb-954a-44f8-aa6d-2d00e2c5da2c"
    },
    {
      "Id": 1,
      "ActionGUID": "7ea77fcd-ec52-4470-aa5a-0f74c74c68b6",
      "SessionID": 3,
      "CreateDate": "sample string 4",
      "ModuleID": 5,
      "Description": "sample string 6",
      "DataTypeCode": 7,
      "DataFmtStd": 8,
      "DataFmtExt": 9,
      "ActionGroup": "sample string 10",
      "DeviceType": 11,
      "LastModifiedDate": "sample string 12",
      "UserInitials": "sample string 13",
      "ActionReferences": [
        1,
        2
      ],
      "PublicData": "QEA=",
      "PrivateData": "QEA=",
      "ActionGroupGUID": "eabee218-4c1a-4e15-a02c-d8eb18290fff",
      "UserGUID": "11ae6120-9c62-4b22-9c49-8c8e2f65071a",
      "PatientGUID": "4d163dfb-954a-44f8-aa6d-2d00e2c5da2c"
    }
  ]
}

application/xml, text/xml

Sample:
<ActionSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Himsa.Noah.Public.Model">
  <Actions>
    <Action>
      <PatientGUID>4d163dfb-954a-44f8-aa6d-2d00e2c5da2c</PatientGUID>
      <ActionGUID>7ea77fcd-ec52-4470-aa5a-0f74c74c68b6</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>eabee218-4c1a-4e15-a02c-d8eb18290fff</ActionGroupGUID>
      <ActionReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </ActionReferences>
      <CreateDate>sample string 4</CreateDate>
      <DataFmtExt>9</DataFmtExt>
      <DataFmtStd>8</DataFmtStd>
      <DataTypeCode>7</DataTypeCode>
      <Description>sample string 6</Description>
      <DeviceType>11</DeviceType>
      <Id>1</Id>
      <LastModifiedDate>sample string 12</LastModifiedDate>
      <ModuleID>5</ModuleID>
      <PrivateData>QEA=</PrivateData>
      <PublicData>QEA=</PublicData>
      <SessionID>3</SessionID>
      <UserGUID>11ae6120-9c62-4b22-9c49-8c8e2f65071a</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
    <Action>
      <PatientGUID>4d163dfb-954a-44f8-aa6d-2d00e2c5da2c</PatientGUID>
      <ActionGUID>7ea77fcd-ec52-4470-aa5a-0f74c74c68b6</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>eabee218-4c1a-4e15-a02c-d8eb18290fff</ActionGroupGUID>
      <ActionReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </ActionReferences>
      <CreateDate>sample string 4</CreateDate>
      <DataFmtExt>9</DataFmtExt>
      <DataFmtStd>8</DataFmtStd>
      <DataTypeCode>7</DataTypeCode>
      <Description>sample string 6</Description>
      <DeviceType>11</DeviceType>
      <Id>1</Id>
      <LastModifiedDate>sample string 12</LastModifiedDate>
      <ModuleID>5</ModuleID>
      <PrivateData>QEA=</PrivateData>
      <PublicData>QEA=</PublicData>
      <SessionID>3</SessionID>
      <UserGUID>11ae6120-9c62-4b22-9c49-8c8e2f65071a</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
  </Actions>
</ActionSearch>