POST API/V1/Patients/{patientId}/AdministeredDoses/MarkNotDone

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

Collection of iMDsoft.API.Metavision.Data.Doses.DoseActionDataModels.DoseActionReason
NameDescriptionTypeAdditional information
DoseId

The dose Guid. This Guid is the same across multiple dose instance id's

globally unique identifier

None.

ReasonId

Reason id

integer

None.

ReasonText

Reason text

string

None.

ReasonComments

Reason comments

string

None.

ActionTime

Action time. in offline case we also support the former report not in the future.

date

None.

DbTimeStamp

Db time stamp used for checking dose is not stale

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "doseId": "878505d7-d5c5-496a-b049-02e461a1de46",
    "reasonId": 1,
    "reasonText": "sample string 2",
    "reasonComments": "sample string 3",
    "actionTime": "2024-11-07T02:32:10.4140854+02:00",
    "dbTimeStamp": "QEA="
  },
  {
    "doseId": "878505d7-d5c5-496a-b049-02e461a1de46",
    "reasonId": 1,
    "reasonText": "sample string 2",
    "reasonComments": "sample string 3",
    "actionTime": "2024-11-07T02:32:10.4140854+02:00",
    "dbTimeStamp": "QEA="
  }
]

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

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.