buy_report
購入報告で表示するbuy_report一覧の取得、主に財務向けのページ
get/buy_reports/details
Request
- Base URL: http://localhost:1323
- URL: http://localhost:1323/buy_reports/details
- Auth: none declared
Query parameters
yearinteger
year
financial_record_idinteger
financial_records.id での完全一致フィルタ
paid_bystring
buy_reports.paid_by での完全一致フィルタ
paid_by_user_idinteger
buy_reports.paid_by_user_id での完全一致フィルタ
Response
buy_reportの一覧を取得
Example response
[
{
"id": 1,
"financialRecordName": "企画局",
"divisionName": "ビンゴ部門",
"festivalItemName": "段ボール",
"amount": 1000,
"reportDate": "2024-01-01",
"paidBy": "企画局_技大太郎",
"paidByUserId": 1,
"fileName": "test.png",
"year": 2025,
"filePath": "/2025/receipts/FileName"
}
]Changes
- info
added the optional property
/to the response with the status
- info
- warning
removed the optional property
/from the response with the status
- warning