LTSA API - bcgov/PIMS GitHub Wiki
Using this API we can get land title information based on a parcel's PID.
"Last Editied By": "Brady Mitchell"
"Date": "June 13th, 2023"
First we must authenticate ourselves with LTSA by making a POST
request to /login/integrator
Test Server: https://appsuat.ltsa.ca/iam/api/auth
Production Server: https://apps.ltsa.ca/iam/api/auth
Body:
{
"integratorUsername": " ",
"integratorPassword": "*****",
"myLtsaUserName": " ",
"myLtsaUserPassword": "*****"
}
Body Values in TEST:
integratorUsername
= PIMSTEST
myLtsaUserName
= PIMSUAT
Second we must make a GET
request to /titleSummaries
Test Server: https://tduat-x42b.ltsa.ca/titledirect/search/api
Production Server: https://td-x42b.ltsa.ca/titledirect/search/api
Headers:
Accept=application/vnd.ltsa.astra.titleSummaries+json
X-Authorization=Bearer ${access_token}
Query Parameters:
filter=parcelIdentifier:${pid}
3) Order
Third we must make a POST
request to /orders
Test Server: https://tduat-x42b.ltsa.ca/titledirect/search/api
Production Server: https://td-x42b.ltsa.ca/titledirect/search/api
Headers:
Accept=application/vnd.ltsa.astra.orders+json
X-Authorization=Bearer ${access_token}
Body:
{
"order": {
"productType": "title",
"fileReference": "Test",
"productOrderParameters": {
"titleNumber": " ",
"landTitleDistrictCode": " ",
"includeCancelledInfo": false
}
}
}
Body Values:
titleNumber
= Found in the response of the titleSummaries request.
landTitleDistrictCode
= Found in the response of the titleSummaries request.