認証
ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。
このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。
試してみる
アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。
curl -X PATCH https://api.zinndigital.com/v1/agency/time/tasks/{taskId} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く
詳細
⛔ Archives; never deletes, and the database enforces it — `TimeEntry.task` is `PROTECT`ed, so a task with hours against it cannot be removed. Deleting one would orphan the record of what those hours were for.
パラメータ
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
taskId (path) | string | はい | — |
リクエスト本文
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
name | string | いいえ | — |
archived | boolean | いいえ | — |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
id | string | はい | — |
project_id | string | はい | — |
name | string | はい | — |
archived | boolean | はい | — |
fixed_price_billed | boolean | はい | Whether this task's FIXED price has already been invoiced. Surfaced so the screen can say "already billed" rather than showing further hours on it as free work. |
このエンドポイントが返すエラー
401 · 403 · 404