buy_report

購入報告一覧の未精算/未封詰め合計を返す

get/buy_reports/summary

Request

  • Base URL: http://localhost:1323
  • URL: http://localhost:1323/buy_reports/summary
  • Auth: none declared

Query parameters

yearinteger required

year

financial_record_idinteger

financial_records.id での完全一致フィルタ

paid_bystring

buy_reports.paid_by での完全一致フィルタ

paid_by_user_idinteger

buy_reports.paid_by_user_id での完全一致フィルタ

Response

条件に一致する購入報告のサマリ

unsettledAmountinteger required

isSettled=falseのamount合計

unpackedAmountinteger required

isPacked=falseのamount合計

Example response

{
  "unsettledAmount": 12000,
  "unpackedAmount": 8000
}

Changes

    • warning

      deleted the query request parameter financial_record_name

    • info

      added the new optional query request parameter financial_record_id

    • info

      added the new optional query request parameter paid_by_user_id

    • info

      endpoint added