Get Latest Order
GET endpoint for /clinician/patient/get-latest-order in clinician category
Overview
- Method: GET
- Path:
/clinician/patient/get-latest-order - Tags: clinician
Parameters
No parameters required.
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"order": {
"type": "string"
},
"display_id": {
"type": "number"
},
"status": {
"type": "string"
},
"total": {
"type": "number"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"order",
"display_id",
"status",
"total",
"created_at",
"updated_at"
]
}400
Bad Request
Content Type: application/json
{
"$ref": "#/components/schemas/Error"
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
http://localhost:9000/clinician/patient/get-latest-order \
-H "Content-Type: application/json" \
Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).