Pharmacy
Messaging
Get Attachments

Get Attachments

GET endpoint for /pharmacy/messaging/get-attachments in pharmacy category

Overview

  • Method: GET
  • Path: /pharmacy/messaging/get-attachments
  • Tags: pharmacy

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "attachments": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "mimeType": {
      "type": "string"
    },
    "size": {
      "type": "number"
    },
    "url": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "attachments",
    "filename",
    "mimeType",
    "size",
    "createdAt"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/pharmacy/messaging/get-attachments \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).