POST API/V1/Mobile/{patientId}/OrderApproval/Approve
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Orders.OrderApprovalRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PlannedOriginalId | integer |
None. |
|
| PlannedHistoryId | integer |
None. |
|
| ApprovalDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"plannedOriginalId": 1,
"plannedHistoryId": 2,
"approvalDate": "2026-01-02T00:33:25.3498269+02:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
iMDsoft.API.Metavision.Data.Orders.OrderApprovalResult| Name | Description | Type | Additional information |
|---|---|---|---|
| PlannedOriginalId | integer |
None. |
|
| PlannedHistoryId | integer |
None. |
|
| IsSuccess | boolean |
None. |
|
| ValidationErrors | Collection of iMDsoft.API.Metavision.Data.Orders.ValidationError |
None. |
Response Formats
application/json, text/json
Sample:
{
"plannedOriginalId": 1,
"plannedHistoryId": 2,
"isSuccess": true,
"validationErrors": [
{
"errorCode": 1,
"message": "sample string 2"
},
{
"errorCode": 1,
"message": "sample string 2"
}
]
}