Attach a document API test stubs
Version and Status
HMLR does not currently provide a test environment for integrators using our Business Gateway APIs. Instead, we’ve provided example code for different scenarios to demonstrate what you should expect to see when developing your own services.
Base URL: https://bgtest.landregistry.gov.uk/bg2test/api
Scenario 1: Attach a document
Request
Method: POST
Endpoint: /v1/applications/7faed15d-7ec8-4e7d-866c-9c25874d2b42/attachments
Headers: Authorization: <any-value>
{
"data": {
"document_id": "fa8c395b-ce64-4cb4-a188-d7f91f4c3139",
"certification_statement_type": "CERTIFIED"
}
}
Response
Status: 202