Skip to main content

Housing Management System API

GitHub Repository

Frameworks used

Written in .Net

Environment variables

NameDescription
AUTHENTICATION_IDENTIFIERA unique identifier used to validate access. *
ANCM_ADDITIONAL_ERROR_PAGE_LINKSet the value to the correct path
JWT_SECRETJWT secret as generated.*
SENTRY_DSNSentry Data Source Name
COSMOS_DATABASE_IDDocumentDB (e.g. CosmosDB) database name
COSMOS_TENANT_CONTAINER_IDDocumentDB (e.g. CosmosDB) container name for tenant addresses, e.g. addresses
COSMOS_COMMUNAL_CONTAINER_IDDocumentDB (e.g. CosmosDB) container name for communal addresses, e.g. addresses
COSMOS_LEASEHOLD_CONTAINER_IDDocumentDB (e.g. CosmosDB) container name for leasehold addresses, e.g. addresses
COSMOS_ENDPOINT_URLDocumentDB (e.g. CosmosDB) account endpoint URL
COSMOS_AUTHORIZATION_KEYDocumentDB (e.g. CosmosDB) account primary key
CAPITAOPTIONS__APIADDRESSCapita Service URL
CAPITAOPTIONS__USERNAMECapita Service username
CAPITAOPTIONS__PASSWORDCapita Service password
CAPITAOPTIONS__STANDARDJOBCODECapita Service stdjobcode
CAPITAOPTIONS__SOURCECapita Service source
CAPITAOPTIONS__SUBLOCATIONCapita Service sublocation

* See Authentication for more details.

Health Checks

See Health Checks for details.

The API is determined to be health if:

  • it can connect to the Universal Housing SQL Server database