Retrieve
GET/scenarios/:scenarioId/incomes/rent/:incomeId
Provides information on a given income from the specified Household.
Request
Path Parameters
The scenario's id
The income's id
Responses
- 200
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Possible values: <= 1
The annual net rental yield percentage.
Description of the resource.
The Income end date. Valid date string in simplified extended ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). Will be respected only in conjuction with endsOn
equals to USER_DEFINED
.
Possible values: [USER_DEFINED
, ON_RETIREMENT
, ON_DEATH
]
Can be any of USER_DEFINED, ON_RETIREMENT, ON_DEATH.
The id of the resource.
The name of the resource.
properties object
Properties of the resource.
Properties of the resource.
The id of the property asset that generates this income.
Read-only field containing the source of the data (eg. if it was imported from a 3rd party service).
The Income start date. Valid date string in simplified extended ISO-8601 format (YYYY-MM-DDTHH:mm:ss.sssZ). Will be respected only in conjuction with startsOn
equals to USER_DEFINED
.
Possible values: [USER_DEFINED
, ON_RETIREMENT
, ON_DEATH
]
Can be any of USER_DEFINED, ON_RETIREMENT, ON_DEATH.
Possible values: <= 1
% of the income to be transferred to the surviving partner.
{
"annualNetRentalYieldPercentage": 0.05,
"description": "My resource's description",
"endDate": "2040-01-01T00:00:00.000Z",
"endsOn": "USER_DEFINED",
"id": "1",
"name": "My resource",
"properties": {
"property_1": "Value of property 1",
"property_2": "Value of property 2"
},
"propertyAssetId": "6",
"source": "Source of the resource",
"startDate": "2031-01-01T00:00:00.000Z",
"startsOn": "USER_DEFINED",
"toSurvivorPercentage": 0.9
}
Not Found
Internal Server Error