financial_record

financial_recordの更新

put/financial_records/{id}

Request

  • Base URL: http://localhost:1323
  • URL: http://localhost:1323/financial_records/{id}
  • Auth: none declared

Path parameters

idinteger required

id

Request body

idinteger
namestring required
year_idinteger required

Example request

{
  "id": 1,
  "name": "総務局",
  "year_id": 1
}

Response

更新されたfinancial_recordが返ってくる

idinteger
namestring
yearinteger
budgetinteger
expenseinteger
balanceinteger

Example response

{
  "id": 1,
  "name": "総務局",
  "year": 2024,
  "budget": 100000,
  "expense": 10000,
  "balance": 90000
}

Changes

No recorded changes to this operation across all 50 revisions of this API.