v1からの移行について
認証
トークン発行時に、v2権限を付与することでhokan api v2を利用することができます。
詳しくは、こちらをご覧ください。
エンドポイント 変更点
https://api.hokan.io/api/ext/v1/
v2:
https://api.hokan.io/api/ext/v2/
機能 | v1 | v2 | 説明 |
---|---|---|---|
顧客取得 | GET /customers/{id} | GET /customers/{id} | 変更無し |
顧客作成 | POST /customers | POST /customers | 変更無し |
顧客更新 | PUT /customers/{id} | PATCH /customers/{id} | メソッドを変更 |
メモ作成 | POST /memos | POST /memos | 変更無し |
予定状況取得 | GET /schedules/free_busy | GET /calendar/free_busy | パスを変更 |
予定作成 | POST /schedules | POST /calendar/events | パスを変更 |
チケット作成 | POST /projects/{id}/tickets | POST /project_tickets | パスを変更 |
世帯作成 | POST /customer_groups | POST /customer_groups | 変更無し |
オブジェクト 変更点
フィールド | v1 | v2 |
---|---|---|
会社電話番号 | corporation_tel | corporate_tel |
会社Eメール | corporation_email | corporate_email |
会社携帯 | corporation_mobile | corporate_mobile |
Modified at 2024-03-19 17:13:30