{
"user": {
"name": "{{addEmployeeName}}",
"contact": "{{addEmployeeContact}}",
"contactType": "MOBILE"
}
}
curl --location --request POST 'https://openapi.qiyuesuo.com/v2/employee/detail' \
--header 'x-qys-open-accesstoken: {{x-qys-open-accesstoken}}' \
--header 'x-qys-open-timestamp: {{x-qys-open-timestamp}}' \
--header 'x-qys-open-nonce: {{x-qys-open-nonce}}' \
--header 'x-qys-open-signature: {{x-qys-open-signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"name": "{{addEmployeeName}}",
"contact": "{{addEmployeeContact}}",
"contactType": "MOBILE"
}
}'
{
"result": {
"id": "3053242464719733490",
"name": "曹杰",
"createTime": "2023-01-18 16:15:30",
"mobile": "11084005634",
"realName": false,
"roles": [
"ORDINARY_EMPLOYEE"
]
},
"code": 0,
"message": "SUCCESS"
}