Expenses

Update expense

put/expenses/{expenseId}

Path parameters

expenseIdstring required

Request body

amountnumber required

Monetary value in EUR

titlestring required
payerAccountstring required
beneficiaryAccountstring required
beneficiaryAddressstring required
scheduledAtstring date-time required

Response

Expense updated successfully

idstring required
amountnumber required

Monetary value in EUR

titlestring required
payerAccountstring required
beneficiaryAccountstring required
beneficiaryAddressstring required
scheduledAtstring date-time required

Example response

{
  "id": "f1c436a7-d9f5-4214-9be1-79766750b53b",
  "amount": 10927,
  "title": "salary",
  "payerAccount": "DE89 3704 0044 0532 0130 00",
  "beneficiaryAccount": "PL61 1090 1014 0000 0712 1981 2874",
  "beneficiaryAddress": "445 Mount Eden Road, Mount Eden, Auckland",
  "scheduledAt": "2017-02-17T22:01:36.530Z"
}

Changes

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

    • 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 409 status

      response-optional-property-added

    • added the optional property errorGUID to the response with the 422 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

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the non-success response with the status 422

      response-non-success-status-added

    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 409

      response-non-success-status-removed

    • removed the non-success response with the status 422

      response-non-success-status-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