ja
予約›予約可能枠の取得

予約可能枠の取得

スケジューリングエンジンによるリアルタイムの予約可用性です: テクニシャンのキャパシティ、勤務時間、サービス地域のカバレッジに基づき、予約可能な日付 + 時間帯ウィンドウを返します。ジョブリクエストを作成する前に呼び出し、返されたウィンドウのみを顧客に提示してください。スケジュール不可能な予約を防止できます。

引数

X-Timezonestringheader必須
顧客の IANA タイムゾーン
fromstringquery任意
開始日 YYYY-MM-DD
tostringquery任意
終了日 YYYY-MM-DD
emergencybooleanquery任意
true = the calendar for an emergency (P0) booking: emergency-only days stay bookable and on-call windows outside business hours are offered
job_type_idstringquery任意
Optional job type: a period whose working time cannot hold that type's default visit (duration + set-up + clean-up) from its start is left out. Ignored when the type is unknown or has no default duration, and when the visit is longer than any single stretch of working time (it is then split across days).
GET/v1/job-requests/booking-windows
curl -X GET "https://api.crisphive.com/v1/job-requests/booking-windows" \
  -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \
  -H "X-Timezone: America/New_York"

レスポンス