schedule list_daily_by_job#
Description#
作業計画から求めたアサイン時間を日ごと・ジョブごとに集計して出力します。
Examples#
以下のコマンドは、2022-01-01以降の日ごとのアサイン時間(ジョブごと)を出力します。
$ annoworkcli schedule list_daily_by_job --workspace_id org --start_date 2022-01-01 \
--format json --output out.json
out.json#
[
{
"date": "2022-01-02",
"job_id": "11d73ea0-ed87-4f24-9ef6-68afcb1fdca7",
"job_name": "MOON",
"assigned_working_hours": 12.0,
"active_user_count": 4
}
]
Usage Details#
作業計画から求めたアサイン時間を日ごと・ジョブごとに集計して出力します。
usage: annoworkcli schedule list_daily_by_job [-h] [--debug]
[--annowork_user_id ANNOWORK_USER_ID]
[--annowork_password ANNOWORK_PASSWORD]
[--endpoint_url ENDPOINT_URL]
[-w WORKSPACE_ID]
[-j JOB_ID [JOB_ID ...]]
[--start_date START_DATE]
[--end_date END_DATE]
[-o OUTPUT] [-f {csv,json}]
Named Arguments#
- -w, --workspace_id
対象のワークスペースID。未指定の場合は環境変数`ANNOWORK_WORKSPACE_ID`を使用します。
- -j, --job_id
集計対象のジョブID
- --start_date
集計開始日(YYYY-mm-dd)
- --end_date
集計終了日(YYYY-mm-dd)
- -o, --output
出力先
- -f, --format
Possible choices: csv, json
出力先のフォーマット
Default:
'csv'
global optional arguments#
- --debug
HTTPリクエストの内容やレスポンスのステータスコードなど、デバッグ用のログが出力されます。
- --annowork_user_id
Annoworkにログインする際のユーザーIDを指定します。
- --annowork_password
Annoworkにログインする際のパスワードを指定します。
- --endpoint_url
Annowork WebAPIのエンドポイントを指定します。指定しない場合は
https://annowork.comです。