仕訳を参照します。
■API通信プロトコル
HTTP GET
■URL
http://tsubaiso.net/journals/show
■事前認証
このメソッドは事前に CL_JOURNAL_STAFF ドメインを所有する権限での認証が必要です。
■パラメータ形式
HTTP REQUEST
■パラメータ
id : 識別番号
* id が必須です。
■レスポンス形式
json
※パラメータに format=json を指定して下さい。
■リクエスト・レスポンス例
◆リクエスト
[URL]
http://tsubaiso.net/journals/show?id=12345678&format=xml
◆レスポンス
{"created_at":"2015/01/07 13:56:40 +0900", "dept_code":null, "id":2702, "is_closed":0, "journal_no":0, "journal_timestamp":"2014/04/30 00:00:00 +0900", "journal_usage":null,"memo":"", "regist_user_code":null, "sort_no":null, "update_user_code":null, "updated_at":"2015/01/07 13:56:40 +0900", "journal_dcs":[{"account_code_c":"500", "account_code_d":"135~999", "created_at":"2015/01/07 13:56:41 +0900", "currency_code_c":null, "currency_code_d":null, "dept_code":null, "exchange_rate_c":null, "exchange_rate_d":null, "id":2825, "input_price_c":null, "input_price_d":null, "journal_dc_no":null, "journal_id":2702, "memo":"ABCDEFG", "price_c":29703704, "price_d":32080000, "regist_user_code":null, "sales_tax_c":2376296, "sales_tax_d":0, "tax_type_c":1007, "tax_type_d":0, "update_user_code":null, "updated_at":"2015/01/07 13:56:41 +0900"}]}
※実際のレスポンスデータには改行コードは含まれません。