POST API/V1/Mobile/SynchronizationLogAcknowledge

Request Information

URI Parameters

None.

Body Parameters

Collection of iMDsoft.API.Metavision.Data.Mobile.Synchronization.SynchronizeLogAcknowledgeData
NameDescriptionTypeAdditional information
PatientId

integer

None.

AcknowledgeItems

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

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "patientId": 1,
    "acknowledgeItems": [
      {
        "objectId": {},
        "acknowledgeTime": "2024-09-22T13:18:27.5811316+03:00"
      },
      {
        "objectId": {},
        "acknowledgeTime": "2024-09-22T13:18:27.5811316+03:00"
      }
    ]
  },
  {
    "patientId": 1,
    "acknowledgeItems": [
      {
        "objectId": {},
        "acknowledgeTime": "2024-09-22T13:18:27.5811316+03:00"
      },
      {
        "objectId": {},
        "acknowledgeTime": "2024-09-22T13:18:27.5811316+03:00"
      }
    ]
  }
]

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 'List`1'.

Response Information

Resource Description

Collection of 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-09-22T13:18:27.5811316+03:00",
    "objectId": {},
    "objectType": "AdministeredDose",
    "failedActions": [
      {
        "actionType": "sample string 1",
        "actionIssue": "sample string 2",
        "actionTime": "2024-09-22T13:18:27.5811316+03:00"
      },
      {
        "actionType": "sample string 1",
        "actionIssue": "sample string 2",
        "actionTime": "2024-09-22T13:18:27.5811316+03:00"
      }
    ],
    "acknowledged": true,
    "acknowledgedTime": "2024-09-22T13:18:27.5811316+03:00",
    "startTime": "2024-09-22T13:18:27.5811316+03:00",
    "title": "sample string 4"
  },
  {
    "patientID": 1,
    "logDateTime": "2024-09-22T13:18:27.5811316+03:00",
    "objectId": {},
    "objectType": "AdministeredDose",
    "failedActions": [
      {
        "actionType": "sample string 1",
        "actionIssue": "sample string 2",
        "actionTime": "2024-09-22T13:18:27.5811316+03:00"
      },
      {
        "actionType": "sample string 1",
        "actionIssue": "sample string 2",
        "actionTime": "2024-09-22T13:18:27.5811316+03:00"
      }
    ],
    "acknowledged": true,
    "acknowledgedTime": "2024-09-22T13:18:27.5811316+03:00",
    "startTime": "2024-09-22T13:18:27.5811316+03:00",
    "title": "sample string 4"
  }
]