DuliDuli Open Platform
EN
简体中文
繁體中文
English
Quick Start APIs DuliDuli Official Website
模板

Resigned Employees


Request

GET  http://[SERVER:9022]/v1/user/get_user_resignations?access_token={access_token}


Parameters

Parameters

Type

Required

Description

access_token

string

Y

Authentication token

account_id

string

N

Account ID (query employees under the current organization when empty)


Request Example:

{
"code": 0,
"msg": "ok",
"data":[
{
"account_id": "30000435533",
"account": "jack8888",
"nick_name": "13477778888",
"phone": "13477778888",
"status": 3,
"mobile_prefix": "86",
"resign_org": "companyA",
"resign_dept": "deptB",
"resign_time": "2024-08-31 16:48:03"
}
]
}

Return:

Fields

Type

Desc

data


User List

account_id

string

User ID

account

string

User Account

nick_name

string

Nickname

phone

string

Phone number

status

int

User status (1: Enabled, 2: Disabled)

mobile_prefix

string

Country code

resign_org

string

Organization before resignation

resign_dept

string

Department before resignation

resign_time

string

Resignation date


Error Codes

code

message

Desc

More Global Codes