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": "31d734bc-92fd-49da-87b1-7708cdba05f3",
"isHomeMedication": true,
"isSelfAdmin": true,
"startTime": "2026-05-09T15:55:51.7327562+03:00",
"coSignPreparationUser": "sample string 4",
"cosignAdministrationUser": "sample string 5",
"orderedBy": "sample string 6",
"isPrepared": true,
"pumpId": 1,
"attachedForms": [
{
"formId": "585fde4f-6a84-4a17-a45d-26586169ea0b",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "4de53242-6242-489b-962c-bf295b360931",
"isCrossPlatform": true,
"hasSession": true
},
{
"formId": "585fde4f-6a84-4a17-a45d-26586169ea0b",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "4de53242-6242-489b-962c-bf295b360931",
"isCrossPlatform": true,
"hasSession": true
}
],
"actionTime": "2026-05-09T15:55:51.7327562+03: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.