POST API/V1/Mobile/{patientId}/OrderApproval/Decline
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Orders.OrderDeclineRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PlannedOriginalId | integer |
None. |
|
| PlannedHistoryId | integer |
None. |
|
| DeclineDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"plannedOriginalId": 1,
"plannedHistoryId": 2,
"declineDate": "2025-11-03T13:10:16.7168333+02:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
iMDsoft.API.Metavision.Data.Orders.OrderDeclineResult| 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"
}
]
}