GET
/transactional-api/get-content-packageGet Content Package
Returns a content package with all its item IDs grouped by resource type.
Authorization: Bearer token (JWT). See Authentication.
Request
curl -L -X GET 'https://{tenantId}.api.england.medicus.health/transactional-api/get-content-package' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Path and query parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
packageId | query | string<uuid> | Yes |
Responses
200 Content package detail.
Response fields
| Field | Type | Description |
|---|---|---|
id | string<uuid> | |
name | string | |
status | string | |
availability | enum | One of: all_healthcare_organisations, specific_organisations. |
dataEntryTemplateIds | array<string<uuid>> | |
patientQuestionnaireTemplateIds | array<string<uuid>> | |
communicationTemplateIds | array<string<uuid>> | |
documentFormTemplateIds | array<string<uuid>> | |
customDashboardIds | array<string<uuid>> | |
futureActionRuleIds | array<string<uuid>> |
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "Winter Flu Campaign",
"status": "draft",
"availability": "all_healthcare_organisations",
"dataEntryTemplateIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"patientQuestionnaireTemplateIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"communicationTemplateIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"documentFormTemplateIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"customDashboardIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"futureActionRuleIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}
404 Package not found.