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": "8b2a3282-1909-414b-9250-bc03e38f3fac",
      "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": "b0a1bcaa-f7be-4e6a-9644-7543d62c9343",
      "UserGUID": "5d504e2f-8f9c-4b16-89c6-087c46d829ae",
      "PatientGUID": "c9ef50f9-3857-4043-b36e-9b4ea87536a3"
    },
    {
      "Id": 1,
      "ActionGUID": "8b2a3282-1909-414b-9250-bc03e38f3fac",
      "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": "b0a1bcaa-f7be-4e6a-9644-7543d62c9343",
      "UserGUID": "5d504e2f-8f9c-4b16-89c6-087c46d829ae",
      "PatientGUID": "c9ef50f9-3857-4043-b36e-9b4ea87536a3"
    }
  ]
}

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>c9ef50f9-3857-4043-b36e-9b4ea87536a3</PatientGUID>
      <ActionGUID>8b2a3282-1909-414b-9250-bc03e38f3fac</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>b0a1bcaa-f7be-4e6a-9644-7543d62c9343</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>5d504e2f-8f9c-4b16-89c6-087c46d829ae</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
    <Action>
      <PatientGUID>c9ef50f9-3857-4043-b36e-9b4ea87536a3</PatientGUID>
      <ActionGUID>8b2a3282-1909-414b-9250-bc03e38f3fac</ActionGUID>
      <ActionGroup>sample string 10</ActionGroup>
      <ActionGroupGUID>b0a1bcaa-f7be-4e6a-9644-7543d62c9343</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>5d504e2f-8f9c-4b16-89c6-087c46d829ae</UserGUID>
      <UserInitials>sample string 13</UserInitials>
    </Action>
  </Actions>
</ActionSearch>