Benefits
Create a new benefit
Changed onpost/benefits
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Benefit created successfully
Example response
{
"id": "60965cfccf2844a6",
"beneficiary": {
"name": "Eva Koster",
"email": "evko@softix.nl"
},
"city": "Utrecht",
"country": "Netherlands",
"service": {
"name": "MultiSport Active Plus",
"provider": "Benefit Systems"
},
"monthlyFee": 250,
"subscribedAtDate": "2016-01-01",
"cancelledAtDate": "2016-05-31"
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status
- breaking