Supported Formats

json

GET /bank_accounts/list/:year/:month
銀行口座一覧を返します。

サポートフォーマット

json

エラー

エラーコード エラー説明
401 Not Authorizedアクセストークンが送られていないか正しくありません。もしくはクライアント認証トークンが正しくありません。
403 Forbiddenそのリクエストに必要な権限がありません。
404 Not found指定されたパスは正しくないか、リソースが見つかりません。
422 Unprocessable Entity1つ以上のパラメータが正しくないか不足しています。エラーメッセージで原因が判別できます。
500 Internal Server Errorサーバーで何らかのエラーが起こりました。
503 Service Unavailableあなたの IP アドレスから非常に多くのリクエストがあった場合、このエラーが発生します。次のリクエストまで少し時間を開けてください。

[
  {
    "id": 0,
    "bank_account_master_id": 0,
    "is_closed": 0,
    "is_ok": 0,
    "start_timestamp": "2008/07/01 00:00:00 +0900",
    "finish_timestamp": "2008/07/31 00:00:00 +0900",
    "start_balance_fixed": null,
    "start_balance": null,
    "finish_balance": xxxxx,
    "start_balance_cache": xxxxx,
    "finish_balance_cache": xxxxx,
    "is_balanced": true,
    "bank_account_transactions_count": 0,
    "regist_user_code": null,
    "update_user_code": null,
    "start_balance_cache_fc": null,
    "finish_balance_cache_fc": null,
    "start_balance_fixed_fc": null,
    "finish_balance_fc": null,
    "exchange_gl_journal_id": null,
    "created_at": "2017/12/11 17:20:38 +0900",
    "updated_at": "2017/12/11 17:20:38 +0900"
  },
  {
    "id": 1,
    "bank_account_master_id": 1,
    "is_closed": 0,
    "is_ok": 0,
    "start_timestamp": "2008/07/01 00:00:00 +0900",
    "finish_timestamp": "2008/07/31 00:00:00 +0900",
    "start_balance_fixed": null,
    "start_balance": null,
    "finish_balance": xxxxx,
    "start_balance_cache": xxxxx,
    "finish_balance_cache": xxxxx,
    "is_balanced": true,
    "bank_account_transactions_count": 0,
    "regist_user_code": null,
    "update_user_code": null,
    "start_balance_cache_fc": null,
    "finish_balance_cache_fc": null,
    "start_balance_fixed_fc": null,
    "finish_balance_fc": null,
    "exchange_gl_journal_id": null,
    "created_at": "2017/12/11 17:20:38 +0900",
    "updated_at": "2017/12/11 17:20:38 +0900"
  },
]

Returns

コード: 200

説明:

銀行口座一覧を返します。

パラメータ名 説明
id
任意

レコードId

Validations:

  • Must be a Integer

bank_account_master_id
任意

銀行口座マスタID

Validations:

  • Must be a Integer

is_closed
任意

締処理ステータス

Validations:

  • Must be a Integer

is_ok
任意

申請・承認ステータス

Validations:

  • Must be a Integer

start_timestamp
任意

開始日

Validations:

  • Must be a String

finish_timestamp
任意

終了日

Validations:

  • Must be a String

start_balance_fixed
任意

期首残高

Validations:

  • Must be a Integer

start_balance
任意

繰入残高

Validations:

  • Must be a Integer

finish_balance
任意

繰越残高

Validations:

  • Must be a Integer

start_balance_cache
任意

繰入残高(自動計算)

Validations:

  • Must be a Integer

finish_balance_cache
任意

繰越残高(自動計算)

Validations:

  • Must be a Integer

is_balanced
任意

残高照合結果

Validations:

  • Must be a String

bank_account_transactions_count
任意

銀行明細数

Validations:

  • Must be a Integer

regist_user_code
任意

登録者

Validations:

  • Must be a String

update_user_code
任意

更新者

Validations:

  • Must be a String

start_balance_cache_fc
任意

繰入残高(自動計算)(外貨建用)

Validations:

  • Must be a Integer

finish_balance_cache_fc
任意

繰越残高(自動計算)(外貨建用)

Validations:

  • Must be a Integer

start_balance_fixed_fc
任意

期首残高(外貨建用)

Validations:

  • Must be a Integer

finish_balance_fc
任意

繰越残高(外貨建用)

Validations:

  • Must be a Integer

exchange_gl_journal_id
任意

為替差損益仕訳ID

Validations:

  • Must be a Integer

created_at
任意

登録日時 (YYYY/MM/DD hh:mm:ss)

Validations:

  • Must be a String

updated_at
任意

更新日時 (YYYY/MM/DD hh:mm:ss)

Validations:

  • Must be a String


GET /bank_accounts/show/:id
1レコードの銀行口座を返します。

サポートフォーマット

json

エラー

エラーコード エラー説明
401 Not Authorizedアクセストークンが送られていないか正しくありません。もしくはクライアント認証トークンが正しくありません。
403 Forbiddenそのリクエストに必要な権限がありません。
404 Not found指定されたパスは正しくないか、リソースが見つかりません。
422 Unprocessable Entity1つ以上のパラメータが正しくないか不足しています。エラーメッセージで原因が判別できます。
500 Internal Server Errorサーバーで何らかのエラーが起こりました。
503 Service Unavailableあなたの IP アドレスから非常に多くのリクエストがあった場合、このエラーが発生します。次のリクエストまで少し時間を開けてください。

  {
  "id": 0,
  "bank_account_master_id": 0,
  "is_closed": 0,
  "is_ok": 0,
  "start_timestamp": "2008/07/01 00:00:00 +0900",
  "finish_timestamp": "2008/07/31 00:00:00 +0900",
  "start_balance_fixed": null,
  "start_balance": null,
  "finish_balance": xxxxx,
  "start_balance_cache": xxxxx,
  "finish_balance_cache": xxxxx,
  "is_balanced": true,
  "bank_account_transactions_count": 0,
  "regist_user_code": null,
  "update_user_code": null,
  "start_balance_cache_fc": null,
  "finish_balance_cache_fc": null,
  "start_balance_fixed_fc": null,
  "finish_balance_fc": null,
  "exchange_gl_journal_id": null,
  "created_at": "2017/12/11 17:20:38 +0900",
  "updated_at": "2017/12/11 17:20:38 +0900"
}

パラメータ

パラメータ名 説明
id
必須

レコードId

Validations:

  • Must be a Integer

Returns

コード: 200

説明:

1レコードの銀行口座を返します。

パラメータ名 説明
id
任意

レコードId

Validations:

  • Must be a Integer

bank_account_master_id
任意

銀行口座マスタID

Validations:

  • Must be a Integer

is_closed
任意

締処理ステータス

Validations:

  • Must be a Integer

is_ok
任意

申請・承認ステータス

Validations:

  • Must be a Integer

start_timestamp
任意

開始日

Validations:

  • Must be a String

finish_timestamp
任意

終了日

Validations:

  • Must be a String

start_balance_fixed
任意

期首残高

Validations:

  • Must be a Integer

start_balance
任意

繰入残高

Validations:

  • Must be a Integer

finish_balance
任意

繰越残高

Validations:

  • Must be a Integer

start_balance_cache
任意

繰入残高(自動計算)

Validations:

  • Must be a Integer

finish_balance_cache
任意

繰越残高(自動計算)

Validations:

  • Must be a Integer

is_balanced
任意

残高照合結果

Validations:

  • Must be a String

bank_account_transactions_count
任意

銀行明細数

Validations:

  • Must be a Integer

regist_user_code
任意

登録者

Validations:

  • Must be a String

update_user_code
任意

更新者

Validations:

  • Must be a String

start_balance_cache_fc
任意

繰入残高(自動計算)(外貨建用)

Validations:

  • Must be a Integer

finish_balance_cache_fc
任意

繰越残高(自動計算)(外貨建用)

Validations:

  • Must be a Integer

start_balance_fixed_fc
任意

期首残高(外貨建用)

Validations:

  • Must be a Integer

finish_balance_fc
任意

繰越残高(外貨建用)

Validations:

  • Must be a Integer

exchange_gl_journal_id
任意

為替差損益仕訳ID

Validations:

  • Must be a Integer

created_at
任意

登録日時 (YYYY/MM/DD hh:mm:ss)

Validations:

  • Must be a String

updated_at
任意

更新日時 (YYYY/MM/DD hh:mm:ss)

Validations:

  • Must be a String


POST /bank_accounts/create
1レコードの銀行口座を作成します。

サポートフォーマット

json

エラー

エラーコード エラー説明
401 Not Authorizedアクセストークンが送られていないか正しくありません。もしくはクライアント認証トークンが正しくありません。
403 Forbiddenそのリクエストに必要な権限がありません。
404 Not found指定されたパスは正しくないか、リソースが見つかりません。
422 Unprocessable Entity1つ以上のパラメータが正しくないか不足しています。エラーメッセージで原因が判別できます。
500 Internal Server Errorサーバーで何らかのエラーが起こりました。
503 Service Unavailableあなたの IP アドレスから非常に多くのリクエストがあった場合、このエラーが発生します。次のリクエストまで少し時間を開けてください。

  {
  "id": 0,
  "bank_account_master_id": 0,
  "is_closed": 0,
  "is_ok": 0,
  "start_timestamp": "2008/07/01 00:00:00 +0900",
  "finish_timestamp": "2008/07/31 00:00:00 +0900",
  "start_balance_fixed": null,
  "start_balance": null,
  "finish_balance": xxxxx,
  "start_balance_cache": xxxxx,
  "finish_balance_cache": xxxxx,
  "is_balanced": true,
  "bank_account_transactions_count": 0,
  "regist_user_code": null,
  "update_user_code": null,
  "start_balance_cache_fc": null,
  "finish_balance_cache_fc": null,
  "start_balance_fixed_fc": null,
  "finish_balance_fc": null,
  "exchange_gl_journal_id": null,
  "created_at": "2017/12/11 17:20:38 +0900",
  "updated_at": "2017/12/11 17:20:38 +0900"
}

パラメータ

パラメータ名 説明
bank_account_master_id
必須

銀行口座マスタID

Validations:

  • Must be a Integer

start_timestamp
必須

開始日

Validations:

  • Must be a String

finish_timestamp
必須

終了日

Validations:

  • Must be a String