POST API/V1/Mobile/{patientId}/SyncRead

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestBundle
NameDescriptionTypeAdditional information
Items

Collection of iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestItem

None.

FromDateTime

date

None.

ToDateTime

date

None.

ClientConfig

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadRequestClientConfiguration

None.

Request Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "objectType": "Order",
      "dbTimeStamp": "sample string 1"
    },
    {
      "objectType": "Order",
      "dbTimeStamp": "sample string 1"
    }
  ],
  "fromDateTime": "2024-11-07T02:41:49.9975255+02:00",
  "toDateTime": "2024-11-07T02:41:49.9975255+02:00",
  "clientConfig": {
    "deviceMappingName": "sample string 1",
    "trendSequences": [
      "sample string 1",
      "sample string 2"
    ],
    "syncAdministeredDosesStatusFilter": "sample string 2",
    "syncLabResultsFromNumberOfDays": 1,
    "signalTrendSearchResultCount": 1
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SyncObjectReadRequestBundle'.

Response Information

Resource Description

iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadResponseBundle
NameDescriptionTypeAdditional information
PatientId

integer

None.

Items

Collection of iMDsoft.API.Controllers.Mobile.Data.SyncObjectReadResponseItem

None.

Response Formats

application/json, text/json

Sample:
{
  "patientId": 1,
  "items": [
    {
      "request": {
        "objectType": "Order",
        "dbTimeStamp": "sample string 1"
      },
      "responseItems": [
        {},
        {}
      ]
    },
    {
      "request": {
        "objectType": "Order",
        "dbTimeStamp": "sample string 1"
      },
      "responseItems": [
        {},
        {}
      ]
    }
  ]
}