festival_item

ユーザーのマイページの予算一覧の取得

get/festival_items/details/{user_id}

Request

  • Base URL: http://localhost:1323
  • URL: http://localhost:1323/festival_items/details/{user_id}
  • Auth: none declared

Path parameters

user_idinteger required

user_id

Query parameters

yearinteger

year

Response

divisionの一覧を取得

financialRecordNamestring
divisionNamestring

Example response

[
  {
    "divisionTotal": {
      "budget": 100000,
      "expense": 10000,
      "balance": 90000
    },
    "financialRecordName": "企画局",
    "divisionName": "ビンゴ部門",
    "festivalItems": [
      {
        "festivalItemTotal": {
          "budget": 100000,
          "expense": 10000,
          "balance": 90000
        },
        "festivalItemName": "ビンゴ景品",
        "buyReports": [
          {
            "id": 1,
            "buyReportName": "段ボール",
            "amount": 1000,
            "reportDate": "2024-01-01"
          }
        ]
      }
    ]
  }
]

Changes

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