Skip to content

hmrc/property-business-api

Repository files navigation

Property Business API

The Property Business API allows software packages to create, retrieve, amend and delete data for a property business.

  • UK Property (FHL & Non-FHL)
  • Foreign Property (FHL & Non-FHL)
  • Historic UK Property (FHL & Non-FHL)

Requirements

Running the microservice

Run from the console using: sbt run (starts on port 7798 by default)

Start the service manager profile: sm2 --start MTDFB_PROPERTY_BUSINESS

Run Tests

Run unit tests: sbt test

Run integration tests: sbt it:test

Viewing Open API Spec (OAS) docs

To view documentation locally ensure the Property Business API is running, and run api-documentation-frontend: ./run_local_with_dependencies.sh

Then go to http://localhost:9680/api-documentation/docs/openapi/preview and use this port and version: http://localhost:7798/api/conf/5.0/application.yaml

Changelog

You can see our changelog here

Support and Reporting Issues

You can create a GitHub issue here

API Reference / Documentation

Available on the HMRC Developer Hub

License

This code is open source software licensed under the Apache 2.0 License