Reject Prescription
POST endpoint for /clinician/macros/reject-prescription in clinician category
Overview
- Method: POST
- Path:
/clinician/macros/reject-prescription - Tags: clinician
Parameters
No parameters required.
Request Body
- Content Type:
application/json - Required: Yes
- Schema: Defined
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"prescriptionId": {
"type": "string"
},
"status": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"prescriptionId",
"status",
"message"
]
}400
Bad Request
Content Type: application/json
{
"$ref": "#/components/schemas/Error"
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
http://localhost:9000/clinician/macros/reject-prescription \
-H "Content-Type: application/json" \
-d '{"example": "data"}'Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).