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": "24ced33c-5901-46c2-99b3-aa9d78abdd30",
"isHomeMedication": true,
"isSelfAdmin": true,
"startTime": "2026-11-04T14:25:13.9322825+02:00",
"coSignPreparationUser": "sample string 4",
"cosignAdministrationUser": "sample string 5",
"orderedBy": "sample string 6",
"isPrepared": true,
"pumpId": 1,
"attachedForms": [
{
"formId": "8f955678-bab7-4025-abd4-7540992b1f8d",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "fcf61fb2-8660-4d3d-9a2d-05b4125fd15c",
"isCrossPlatform": true,
"hasSession": true
},
{
"formId": "8f955678-bab7-4025-abd4-7540992b1f8d",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "fcf61fb2-8660-4d3d-9a2d-05b4125fd15c",
"isCrossPlatform": true,
"hasSession": true
}
],
"actionTime": "2026-11-04T14:25:13.9322825+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.