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": "5675bb30-a6bf-478d-b9f0-33df372d2af4",
      "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": "227f2cba-b906-4044-aba9-0cabc273e5d3",
      "UserGUID": "ea5a06f1-3216-421d-9761-5509f944012d",
      "PatientGUID": "37270f50-2058-4fe4-ac03-2d6a43eaa284"
    },
    {
      "Id": 1,
      "ActionGUID": "5675bb30-a6bf-478d-b9f0-33df372d2af4",
      "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": "227f2cba-b906-4044-aba9-0cabc273e5d3",
      "UserGUID": "ea5a06f1-3216-421d-9761-5509f944012d",
      "PatientGUID": "37270f50-2058-4fe4-ac03-2d6a43eaa284"
    }
  ]
}

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>37270f50-2058-4fe4-ac03-2d6a43eaa284</PatientGUID>
      <ActionGUID>5675bb30-a6bf-478d-b9f0-33df372d2af4</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>227f2cba-b906-4044-aba9-0cabc273e5d3</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>ea5a06f1-3216-421d-9761-5509f944012d</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
    <Action>
      <PatientGUID>37270f50-2058-4fe4-ac03-2d6a43eaa284</PatientGUID>
      <ActionGUID>5675bb30-a6bf-478d-b9f0-33df372d2af4</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>227f2cba-b906-4044-aba9-0cabc273e5d3</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>ea5a06f1-3216-421d-9761-5509f944012d</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
  </Actions>
</ActionSearch>