List Messages
GET endpoint for /pharmacy/messaging/list-messages in pharmacy category
Overview
- Method: GET
- Path:
/pharmacy/messaging/list-messages - Tags: pharmacy
Parameters
No parameters required.
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"messages": {
"type": "string"
},
"body": {
"type": "string"
},
"sentByID": {
"type": "string"
},
"sentByType": {
"type": "string"
},
"sendToID": {
"type": "string"
},
"sendToType": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"messages",
"body",
"sentByID",
"sentByType",
"sendToID",
"sendToType",
"createdAt",
"updatedAt"
]
}400
Bad Request
Content Type: application/json
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"error",
"details"
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
http://localhost:9000/pharmacy/messaging/list-messages \
-H "Content-Type: application/json" \
Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).