Create
POST/scenarios/:scenarioId/persons/:personId/insurances/mortgage-life
Creates a new Mortgage Life Insurance in the given scenario.
Request
Path Parameters
scenarioId stringrequired
The scenario's id
personId stringrequired
The person's id
- application/json
Body
required
description string
Description of the resource.
id string
The id of the resource.
joint booleanrequired
Whether this insurance is joint (insures both parthers).
mortgageId stringrequired
The mortgage id that this life insurance associates.
name string
The name of the resource.
properties object
Properties of the resource.
property name* object
Properties of the resource.
Responses
- 201
- 404
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
description string
Description of the resource.
id string
The id of the resource.
joint booleanrequired
Whether this insurance is joint (insures both parthers).
mortgageId stringrequired
The mortgage id that this life insurance associates.
name string
The name of the resource.
properties object
Properties of the resource.
property name* object
Properties of the resource.
{
"description": "My resource's description",
"id": "1",
"joint": true,
"mortgageId": "string",
"name": "My resource",
"properties": {
"property_1": "Value of property 1",
"property_2": "Value of property 2"
}
}
Not Found
Internal Server Error
Loading...