{"action":"created","issue":{"url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/96","repository_url":"https://api.github.com/repos/ubiregiinc/ubiregi-api","labels_url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/96/comments","events_url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/96/events","html_url":"https://github.com/ubiregiinc/ubiregi-api/issues/96","id":117714156,"number":96,"title":"GET /Checkout でclosed_atを元に取得できる手段がほしい","user":{"login":"mgtae","id":15916655,"avatar_url":"https://avatars.githubusercontent.com/u/15916655?v=3","gravatar_id":"","url":"https://api.github.com/users/mgtae","html_url":"https://github.com/mgtae","followers_url":"https://api.github.com/users/mgtae/followers","following_url":"https://api.github.com/users/mgtae/following{/other_user}","gists_url":"https://api.github.com/users/mgtae/gists{/gist_id}","starred_url":"https://api.github.com/users/mgtae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgtae/subscriptions","organizations_url":"https://api.github.com/users/mgtae/orgs","repos_url":"https://api.github.com/users/mgtae/repos","events_url":"https://api.github.com/users/mgtae/events{/privacy}","received_events_url":"https://api.github.com/users/mgtae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/labels/Request","name":"Request","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-19T00:33:59Z","updated_at":"2016-05-18T04:45:12Z","closed_at":null,"body":"/accounts/account_id/checkouts?since= で会計情報を取得する際\r\nupdated_at(更新日)を元にしているとの事だが\r\nupdated_atは事前に確認できる術がないので\r\n別途、意図した会計データが取れるよう closed_atを元に取得できる手段がほしい。"},"comment":{"url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/comments/219923953","html_url":"https://github.com/ubiregiinc/ubiregi-api/issues/96#issuecomment-219923953","issue_url":"https://api.github.com/repos/ubiregiinc/ubiregi-api/issues/96","id":219923953,"user":{"login":"kubibon","id":5874867,"avatar_url":"https://avatars.githubusercontent.com/u/5874867?v=3","gravatar_id":"","url":"https://api.github.com/users/kubibon","html_url":"https://github.com/kubibon","followers_url":"https://api.github.com/users/kubibon/followers","following_url":"https://api.github.com/users/kubibon/following{/other_user}","gists_url":"https://api.github.com/users/kubibon/gists{/gist_id}","starred_url":"https://api.github.com/users/kubibon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubibon/subscriptions","organizations_url":"https://api.github.com/users/kubibon/orgs","repos_url":"https://api.github.com/users/kubibon/repos","events_url":"https://api.github.com/users/kubibon/events{/privacy}","received_events_url":"https://api.github.com/users/kubibon/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T04:45:12Z","updated_at":"2016-05-18T04:45:12Z","body":"弊社担当者が変わりましたため、別アカウントから質問させていただきます。\r\n\r\nまず、弊社では、ユビレジサーバから会計データを期間指定で基幹システムへ取り込んでおります。\r\nこの際、前回取得時の時刻を保持しておき、次回取得時にはその時刻以降の会計データを取り込むようにしております。\r\n\r\nところが、ユビレジサーバ内で会計データの updated_at の値が、過去の日時に勝手に変わってしまう場合があり、\r\n保持しておいた時刻以降の会計データの取り込み対象から外れてしまい、\r\n基幹システムに取り込まれないことが起きています。\r\n\r\nこのように、ユビレジサーバ内で updated_at の値が勝手に変更されてしまった場合は、\r\n取りこぼしが起きたかどうかも気づかず、月次締めの際のチェックで、\r\n基幹システムに取り込まれていないことに気づき、\r\nどの会計データが取り込まれていないのかを調査することも非常に困難なのです。\r\n\r\n最初にご回答いただいている「business_date」で期間指定をして取得できれば、\r\n弊社の要求は満たせると考えております。\r\n\r\nご検討のほどよろしくお願いいたします。"}}