The NHS Notify Supplier API is intended primarily for print suppliers to integrate with the NHS Notify message request queueing system.
It models the concepts needed to configure production of letters and other printed materials to specific specifications, provide proofs of these materials, receive batch production requests, provide details of returned letters and correspondence, and to report on the status of these artifacts and associated management information such as volumes and associated costs.
This repository documents the Supplier API specification and provides an SDK with examples and reference client implementations for interacting with it.
- Download the OAS Specification File from the latest releases
- OAS JSON files
api-oas-specification-[Version].zip
- OAS JSON files
- View the latest SDK documentation
- Download local versions of the API docs from the latest releases
- HTML
sdk-html-[Version].zip - Swagger
sdk-swagger-[Version].zip
- HTML
If packages are unavailable the latest SDKs can be downloaded directly from:
- Download SDKs from the latest releases
- Python
sdk-python-[Version].zip - TypeScript
sdk-ts-[Version].zip - CSharp
sdk-csharp-[Version].zip
- Python
TODO:CCM-11209 Links to example clients.
New developers of the NHS Notify Supplier API should understand the below.
- Utilised the devcontainer, for pre reqs and configuration.
- You should open in a devcontainer or a Github workspaces.
- By default it will run
make configwhen the container is first setup
- The SDK folder is excluded from all pre reqs
- DO NOT make manual changes to the SDK, instead build it
- The SDK folder is excluded from git commits, and will be built as part of the CI/CD pipeline and released as a GitHub release.
To generate the SDK folder from changes to the specification/api/notify-supplier.yml OAS specification:
make clean
make buildThis will generate:
- Python SDK
- TypeScript SDK
- HTML Docs
To view HTML docs:
make serveby default they will be available at http://localhost:3050
These are generated using https://hub.docker.com/r/openapitools/openapi-generator-cli
- You can preview the OAS locally by running
make serve-oas
PRs will run the CI workflow for testing.
PRs that are merged to main will run the same CI workflow will generate a pre-release based on the date and the commit hash.
Deployments can be made of any release (including the GitHub pages) by running the CD pipeline cicd-3-deploy.yaml
Unless stated otherwise, the codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.
Any HTML or Markdown documentation is © Crown Copyright and available under the terms of the Open Government Licence v3.0.