Benefits

Update benefit

put/benefits/{benefitId}

Path parameters

benefitIdstring required

Request body

countrystring required
citystring required
servicestring required
monthlyFeenumber required

Monetary value in EUR

subscribedAtDatestring date required
cancelledAtDatestring date

Response

Benefit updated successfully

idstring required
category'HEALTHCARE' | 'SPORT_WELLNESS' | 'LUNCH_FOOD' | 'CULTURE_RECREATION' required
countrystring required
citystring required
monthlyFeenumber required

Monetary value in EUR

subscribedAtDatestring date required
cancelledAtDatestring date

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

Changed in 4 of the 28 revisions of this API.610

    • added the optional property errorGUID to the response with the 400 status

      response-optional-property-added

    • added the optional property errorGUID to the response with the 404 status

      response-optional-property-added

    • added the optional property errorGUID to the response with the 500 status

      response-optional-property-added

    • added the optional property errorGUID to the response with the 503 status

      response-optional-property-added

    • the response property code became optional for the status 400

      response-property-became-optional

    • the response property code became optional for the status 404

      response-property-became-optional

    • the response property code became optional for the status 500

      response-property-became-optional

    • the response property code became optional for the status 503

      response-property-became-optional

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the media type application/json for the response with the status 400

      response-media-type-added

    • added the media type application/json for the response with the status 404

      response-media-type-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • removed the media type application/json for the response with the status 400

      response-media-type-removed

    • removed the media type application/json for the response with the status 404

      response-media-type-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

    • removed the non-success response with the status 503

      response-non-success-status-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog