Create
POST/scenarios/:scenarioId/persons/:personId/expenses/employee-pension-contribution
Creates a new Pension Contribution Expense for a Person identified by {personId} in the Household in the given scenario.
Request
Path Parameters
The scenario's id
The person's id
- application/json
Body
required
Description of the resource.
The id of the earned income that this pension contribution associates.
Possible values: <= 1
Percentage of associated earned income that we should save.
The id of the resource.
The name of the resource.
The portfolio ID that this pension contributes to.
properties object
Properties of the resource.
Properties of the resource.
Responses
- 201
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
Description of the resource.
The id of the earned income that this pension contribution associates.
Possible values: <= 1
Percentage of associated earned income that we should save.
The id of the resource.
The name of the resource.
The portfolio ID that this pension contributes to.
properties object
Properties of the resource.
Properties of the resource.
{
"description": "My resource's description",
"earnedIncomeId": "4",
"earnedIncomePercentSaved": 0,
"id": "1",
"name": "My resource",
"portfolioId": "6",
"properties": {
"property_1": "Value of property 1",
"property_2": "Value of property 2"
}
}
Not Found
Internal Server Error