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": "ba41f98a-4319-4ca6-b4cd-dd597d341831",
    "userId": 2,
    "actionTime": "2024-09-22T13:29:15.5240929+03:00",
    "dbTimeStamp": "QEA="
  },
  {
    "doseId": "ba41f98a-4319-4ca6-b4cd-dd597d341831",
    "userId": 2,
    "actionTime": "2024-09-22T13:29:15.5240929+03: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.