POST API/V1/Patients/{patientId}/AdministeredDoses/CreateOrphanDoseFromTemplate
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Doses.DoseActionDataModels.OrphanDoseFromTemplateData| Name | Description | Type | Additional information |
|---|---|---|---|
| TemplateId | integer |
None. |
|
| TemplateInstanceGuid | globally unique identifier |
None. |
|
| IsHomeMedication | boolean |
None. |
|
| IsSelfAdmin | boolean |
None. |
|
| StartTime | date |
None. |
|
| CoSignPreparationUser | string |
None. |
|
| CosignAdministrationUser | string |
None. |
|
| OrderedBy | string |
None. |
|
| IsPrepared | boolean |
None. |
|
| PumpId | integer |
None. |
|
| AttachedForms | Collection of iMDsoft.API.Metavision.Data.Doses.AttachedForm |
None. |
|
| ActionTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"templateId": 1,
"templateInstanceGuid": "26f4222b-4645-4e20-b056-3ebe4caa6b87",
"isHomeMedication": true,
"isSelfAdmin": true,
"startTime": "2026-03-22T00:10:12.0339507+02:00",
"coSignPreparationUser": "sample string 4",
"cosignAdministrationUser": "sample string 5",
"orderedBy": "sample string 6",
"isPrepared": true,
"pumpId": 1,
"attachedForms": [
{
"formId": "af037f10-9ae4-4e1a-bd7b-3cbc24394225",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "c802963a-dc07-490b-ae6f-3b475c6f4fe0",
"isCrossPlatform": true,
"hasSession": true
},
{
"formId": "af037f10-9ae4-4e1a-bd7b-3cbc24394225",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "c802963a-dc07-490b-ae6f-3b475c6f4fe0",
"isCrossPlatform": true,
"hasSession": true
}
],
"actionTime": "2026-03-22T00:10:12.0339507+02:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.