income
put/incomes/{id}

Request

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

Path parameters

idinteger required

id

Request body

idinteger
incomeIdinteger required
sponsorNamestring
amountinteger required
yearIdinteger required
receiveOption'hand' | 'transfer'

Example request

{
  "id": 1,
  "incomeId": 1,
  "sponsorName": "企業1",
  "amount": 10000,
  "yearId": 1
}

Response

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

idinteger
incomeIdinteger required
sponsorNamestring
amountinteger required
yearIdinteger required
receiveOption'hand' | 'transfer'

Example response

{
  "id": 1,
  "incomeId": 1,
  "sponsorName": "企業1",
  "amount": 10000,
  "yearId": 1
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • 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 required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status