POST API/V1/Mobile/SynchronizationLog

Request Information

URI Parameters

None.

Body Parameters

iMDsoft.API.Metavision.Data.Mobile.Synchronization.SynchronizationLogData
NameDescriptionTypeAdditional information
PatientID

Patient id

integer

None.

LogDateTime

Time for the log entry

date

None.

ObjectId

Id of the item with the issue

Object

None.

ObjectType

Which action type.

iMDsoft.API.Metavision.Data.Mobile.Synchronization.SynchronizationLogCategory

None.

FailedActions

detected issues info

Collection of iMDsoft.API.Metavision.Data.Mobile.Synchronization.ActionLog

None.

Acknowledged

is acknowledged

boolean

None.

AcknowledgedTime

Acknowledged time if the log isn't acknowledged AcknowledgedTime is null.

date

None.

StartTime

date

None.

Title

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patientID": 1,
  "logDateTime": "2024-11-07T02:38:12.6863421+02:00",
  "objectId": {},
  "objectType": "AdministeredDose",
  "failedActions": [
    {
      "actionType": "sample string 1",
      "actionIssue": "sample string 2",
      "actionTime": "2024-11-07T02:38:12.6863421+02:00"
    },
    {
      "actionType": "sample string 1",
      "actionIssue": "sample string 2",
      "actionTime": "2024-11-07T02:38:12.6863421+02:00"
    }
  ],
  "acknowledged": true,
  "acknowledgedTime": "2024-11-07T02:38:12.6863421+02:00",
  "startTime": "2024-11-07T02:38:12.6863421+02:00",
  "title": "sample string 4"
}

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 'SynchronizationLogData'.

Response Information

Resource Description

iMDsoft.API.Metavision.Data.Mobile.Synchronization.SynchronizationLogData
NameDescriptionTypeAdditional information
PatientID

Patient id

integer

None.

LogDateTime

Time for the log entry

date

None.

ObjectId

Id of the item with the issue

Object

None.

ObjectType

Which action type.

iMDsoft.API.Metavision.Data.Mobile.Synchronization.SynchronizationLogCategory

None.

FailedActions

detected issues info

Collection of iMDsoft.API.Metavision.Data.Mobile.Synchronization.ActionLog

None.

Acknowledged

is acknowledged

boolean

None.

AcknowledgedTime

Acknowledged time if the log isn't acknowledged AcknowledgedTime is null.

date

None.

StartTime

date

None.

Title

string

None.

Response Formats

application/json, text/json

Sample:
{
  "patientID": 1,
  "logDateTime": "2024-11-07T02:38:12.6863421+02:00",
  "objectId": {},
  "objectType": "AdministeredDose",
  "failedActions": [
    {
      "actionType": "sample string 1",
      "actionIssue": "sample string 2",
      "actionTime": "2024-11-07T02:38:12.6863421+02:00"
    },
    {
      "actionType": "sample string 1",
      "actionIssue": "sample string 2",
      "actionTime": "2024-11-07T02:38:12.6863421+02:00"
    }
  ],
  "acknowledged": true,
  "acknowledgedTime": "2024-11-07T02:38:12.6863421+02:00",
  "startTime": "2024-11-07T02:38:12.6863421+02:00",
  "title": "sample string 4"
}