Get improvement
This endpoint allows users to retrieve an improvement for a clients household asset.
Path parameters
-
The HouseholdGUID of the client.
-
The AssetGUID for the improvement you want to retrieve.
-
The ImprovementGUID you want to retrieve.
GET
/api/v2/household/{HouseholdGUID}/assets/{AssetGUID}/improvements/{ImprovementGUID}
curl \
-X GET https://api.fincalc.co.uk/api/v2/household/{HouseholdGUID}/assets/{AssetGUID}/improvements/{ImprovementGUID} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"data": [
{
"TransactionGUID": "E3AEEF8D-3A6F-44B5-BA6D-8E8C7646C9D6",
"TransactionType": 10,
"AssetGUID": "4D09A1F6-035E-437F-9B45-842C789D9D9D",
"Description": "Our House",
"TransactionAmount": 5000.1,
"AssetIncrease": 10000.1,
"StartBasis": 3,
"StartEventGUID": "F3AAED8D-3A5F-44B5-BC6D-9E8C7646C9D7",
"StartAge": 42,
"StartDate": "2024-01-01",
"FormattedValues": {
"AssetGUID": "Our House",
"StartDate": "01/01/2024",
"StartBasis": "Specific Date",
"AssetIncrease": "£10,000",
"TransactionType": "Asset Improvement",
"TransactionAmount": "£5,000"
}
}
]
}
Response examples (403)
{
"success": false,
"message": "You do not have permission to view the household."
}
Response examples (404)
{
"success": false,
"message": "Household not found."
}