GET
/transactional-api/get-communication-template-versionGet Communication Template Version
Returns the content and metadata for a specific communication template version.
Authorization: Bearer token (JWT). See Authentication.
Request
curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/get-communication-template-version' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Path and query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
versionId | query | string<uuid> | Yes |
Responses
200 Communication template version.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"templateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"versionNumber": "string",
"status": "draft",
"content": "string"
}
400 Invalid request.
{
"errors": [
{
"code": "invalid-field",
"description": "versionId must be a valid UUID."
}
]
}
404 Version not found.