POST API/V1/Patients/{patientId}/AdministeredTasksProcesses/Cosign

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

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

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

globally unique identifier

None.

UserId

The user id. This id is the user's id that signed an the action.

integer

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": "a9f44886-dca9-423c-a2ec-c18b01000c44",
    "userId": 2,
    "actionTime": "2024-11-07T02:44:56.1561584+02:00",
    "dbTimeStamp": "QEA="
  },
  {
    "doseId": "a9f44886-dca9-423c-a2ec-c18b01000c44",
    "userId": 2,
    "actionTime": "2024-11-07T02:44:56.1561584+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.