Update
PUT/scenarios/:scenarioId/persons/:personId/expenses/employee-pension-contribution/:expenseId
Updates a Pension Contribution Expense for the given Person in the given scenario and identified by {expenseId}.
Request
Path Parameters
The scenario's id
The person's id
The expense'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
- 200
- 404
- 500
OK
- 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