| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 是 | 开发者后台申请 | 调试 |
| 第三方企业应用 | 是 | 开发者后台申请 | 调试 |
| 第三方个人应用 | 否 | — | — |
{
"apply_userid": "dd_dd",
"target_userid": "aa_aa",
"apply_shift_id": "123",
"reback_target_shift_id": "897",
"target_shift_id": "456",
"reback_apply_shift_id": "789",
"approve_id": "asdasdjashd",
"userid": "dd_dd",
"switch_date": "2019-09-08",
"reback_date": "2019-09-09"
}curl --location --request POST 'http://127.0.0.1/topapi/attendance/approve/schedule/switch?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"apply_userid": "dd_dd",
"target_userid": "aa_aa",
"apply_shift_id": "123",
"reback_target_shift_id": "897",
"target_shift_id": "456",
"reback_apply_shift_id": "789",
"approve_id": "asdasdjashd",
"userid": "dd_dd",
"switch_date": "2019-09-08",
"reback_date": "2019-09-09"
}'{
"errcode": 0,
"errmsg": "string"
}