应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 开发者后台申请 | 调试 |
第三方企业应用 | 否 | — | — |
第三方个人应用 | 否 | — | — |
{
"userid": "user123"
}
curl --location --request POST 'http://127.0.0.1/topapi/attendance/getusergroup?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"userid": "user123"
}'
{
"result": {
"name": "string",
"group_id": 0,
"type": "string",
"classes": [
{
"class_id": 0,
"name": "string",
"sections": [
{
"times": [
{
"check_time": "string",
"check_type": "string",
"across": 0,
"begin_min": 0,
"end_min": 0
}
]
}
],
"setting": {
"rest_begin_time": {
"across": 0,
"begin_min": 0,
"end_min": 0,
"check_time": "string",
"check_type": "string"
},
"rest_end_time": {
"across": 0,
"begin_min": 0,
"end_min": 0,
"check_time": "string",
"check_type": "string"
}
}
}
]
},
"errcode": 0,
"errmsg": "string",
"request_id": "string"
}