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": "59773964-4aa2-431d-94bb-1429c8e1fc5a",
"isHomeMedication": true,
"isSelfAdmin": true,
"startTime": "2026-04-19T13:22:08.0670561+03:00",
"coSignPreparationUser": "sample string 4",
"cosignAdministrationUser": "sample string 5",
"orderedBy": "sample string 6",
"isPrepared": true,
"pumpId": 1,
"attachedForms": [
{
"formId": "02658264-349e-4687-a329-49d24f67b6b2",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "d7e6bcec-c6b8-466a-8dac-77d477ed6ea9",
"isCrossPlatform": true,
"hasSession": true
},
{
"formId": "02658264-349e-4687-a329-49d24f67b6b2",
"formName": "sample string 2",
"isMandatory": true,
"callerId": "d7e6bcec-c6b8-466a-8dac-77d477ed6ea9",
"isCrossPlatform": true,
"hasSession": true
}
],
"actionTime": "2026-04-19T13:22:08.0670561+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.