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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
patientId

integer

Required

Body Parameters

iMDsoft.API.Metavision.Data.Doses.LinkedAttachedForm
NameDescriptionTypeAdditional information
DoseId

FormId

globally unique identifier

None.

FormId

FormId

globally unique identifier

None.

CallerId

CallerId of the Form

globally unique identifier

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": "1d020e19-9804-4d25-a66a-a4d2bf9d604a",
  "formId": "1ba0ceb6-b367-4af7-964d-079cd2d6ee36",
  "callerId": "bf443d81-7bab-4e0c-a324-671e36ff3615",
  "actionTime": "2024-09-22T13:29:08.1204729+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 'LinkedAttachedForm'.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.