コンテンツにスキップ

勤怠削除

DELETE
/shifts/{shift_result_id}

勤怠を削除します

対象

  • プラン
    • プレミアム
    • プレミアムプラス
    • エンタープライズ、旧有料

対象ユーザー権限

  • シフト編集
  • 実績編集
shift_result_id
required
string

シフト実績ID

Example
1
object
division
required

シフト/実績区分

  • schedule: シフト
  • result: 実績
string
Allowed values: schedule result
Example
{
"division": "result"
}

削除成功

object
shiftResultId

シフト実績ID

string
division

シフト/実績区分

  • schedule: シフト
  • result: 実績
string
Allowed values: schedule result
Example
{
"shiftResultId": "1",
"division": "result"
}
  • 削除に失敗した場合
  • object
    type

    エラータイプを識別するURI、もしくはabout:blank

    string
    title

    エラーの概要

    string
    detail

    エラーの詳細

    string
    Example
    {
    "type": "about:blank",
    "title": "Bad Request",
    "detail": "勤務パターンと勤務時刻を同時に指定することはできません。"
    }
    • 指定したIDのデータが存在しない場合
    object
    type

    エラータイプを識別するURI、もしくはabout:blank

    string
    title

    エラーの概要

    string
    detail

    エラーの詳細

    string
    Example
    {
    "type": "about:blank",
    "title": "Not Found",
    "detail": "該当する実績情報が存在しません。ID:9999"
    }