division

divisionの作成

post/divisions

Request

  • Base URL: http://localhost:1323
  • URL: http://localhost:1323/divisions
  • Auth: none declared

Request body

idinteger
namestring required
financialRecordIDinteger required

Example request

{
  "id": 1,
  "name": "衛生管理部門",
  "financialRecordID": 1
}

Response

作成されたdivisionが返ってくる

idinteger
namestring
financialRecordstring
budgetinteger
expenseinteger
balanceinteger

Example response

{
  "id": 1,
  "name": "衛生管理部門",
  "financialRecord": "総務局",
  "budget": 10000,
  "expense": 1000,
  "balance": 9000
}

Changes

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