Create
POST/scenarios/:scenarioId/expenses/employee-pension-contribution
Create an Employee Pension Contribution
Request
Path Parameters
The scenario'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