代理查询

  • 接口:common/agent
  • Method:POST
  • 数据格式:JSON

参数

请求参数

字段名称 字段类型 字段描述 是否必填 长度限制
bizId String 唯一标识 TRUE 36
timestamp Long 时间戳 TRUE 13
data Object 请求数据 TRUE /
data.department_code String 被代理人部门 FALSE 64
data.user_code String 被代理人员工号 FALSE 64
data.agent_user_code String 代理人员工号 FALSE 64
data.start_datetime String 代理开始时间 FALSE 64
data.end_datetime Long 代理结束时间 FALSE 64
data.enabled_flag String 被代理人状态, Y/N FALSE 1
data.resignation_flag String 被代理人离职状态, Y/N FALSE 1

返回参数

字段名称 字段类型 字段描述
resCode Integer 响应状态码
resMsg String 返回信息描述
date Object 返回主体

示例

请求示例

{
    "bizId": "4aba2901-8b53-40f5-91fc-e8f375cddc84",
    "timestamp": 1614053054469,
    "data": {
        "enabled_flag": "Y",
        "page_num": 1,
        "page_size": 10,
        "start_datetime_from": 1747756800000
    }
}

返回示例

{
    "resCode": 200000,
    "resMsg": "success",
    "data": {
        "page_size": 1,
        "page_num": 1,
        "total_count": 48,
        "total_page": 48,
        "is_first_page": true,
        "is_last_page": false,
        "page_info": [
            {
                "log_id": 1997,
                "user_vo": {
                    "id": 223556,
                    "code": "lyl@qq.com",
                    "mobile": "1057196866",
                    "gender": "M",
                    "surname": "li",
                    "nationality": "CHN",
                    "column1": "123",
                    "column3": "2021-01",
                    "column5": "3456789876543",
                    "column6": "Y",
                    "column7": "14151",
                    "column9": "5",
                    "column10": "1627574400000",
                    "column14": "0",
                    "parent_id": 224157,
                    "position_id": 7163,
                    "company_id": 3809,
                    "level_id": 1067,
                    "department_id": 36579,
                    "supervisor_id": 224157,
                    "cost_center_id": 87028,
                    "email_address": "lyl@qq.com",
                    "full_name": "李永磊66",
                    "employee_number": "lyl@qq.com",
                    "user_name": "lyl@qq.com",
                    "given_name": "lei",
                    "user_type": "1",
                    "start_work_date": "2021-06-01",
                    "credit_level": 246,
                    "credit_score": -1100,
                    "creation_date": 1605842071000,
                    "last_update_date": 1741573566000,
                    "approval_level": 2,
                    "default_language": "zh_CN",
                    "base_city": "1",
                    "equipment_type": "",
                    "equipment_id": "",
                    "sub_account_name": "123",
                    "description": "1222344",
                    "attachment_url": "b92b9be9-d2bb-45d0-a974-0d04a279bee9.png"
                },
                "agent_user_vo": {
                    "id": 223564,
                    "code": "yw1@qq.com",
                    "mobile": "2125551234",
                    "gender": "F",
                    "nationality": "CHN",
                    "column1": "900",
                    "column2": "86909",
                    "column3": "3055616",
                    "column4": "3121405",
                    "column5": "021-838934992",
                    "column6": "Y",
                    "column7": "223057",
                    "column8": "19009",
                    "column9": "8667",
                    "column10": "INVT00006640",
                    "column11": "79",
                    "column12": "1712851200000",
                    "column13": "1713084480000",
                    "column14": "0",
                    "column15": "肿瘤免疫治疗",
                    "column36": "code1",
                    "column50": "59168",
                    "parent_id": 212989,
                    "position_id": 2464,
                    "company_id": 3809,
                    "level_id": 1067,
                    "department_id": 85926,
                    "supervisor_id": 212989,
                    "cost_center_id": 85926,
                    "email_address": "yw1@qq.com",
                    "full_name": "杨伊",
                    "country_calling_code": "1",
                    "employee_number": "yw1@qq.com",
                    "user_name": "yw1@qq.com",
                    "user_type": "1",
                    "start_work_date": "2021-06-03",
                    "credit_score": -9,
                    "creation_date": 1610676443000,
                    "last_update_date": 1748412621000,
                    "default_language": "zh_CN",
                    "base_city": "0",
                    "equipment_type": "",
                    "equipment_id": "",
                    "attachment_url": "d3836121-7763-4544-92cb-65f91ae4b83b.png"
                },
                "start_datetime": 1748249820000,
                "end_datetime": 1748487679000,
                "created_user_vo": {
                    "id": 223556,
                    "code": "lyl@qq.com",
                    "mobile": "1057196866",
                    "gender": "M",
                    "surname": "li",
                    "nationality": "CHN",
                    "column1": "123",
                    "column3": "2021-01",
                    "column5": "3456789876543",
                    "column6": "Y",
                    "column7": "14151",
                    "column9": "5",
                    "column10": "1627574400000",
                    "column14": "0",
                    "parent_id": 224157,
                    "position_id": 7163,
                    "company_id": 3809,
                    "level_id": 1067,
                    "department_id": 36579,
                    "supervisor_id": 224157,
                    "cost_center_id": 87028,
                    "email_address": "lyl@qq.com",
                    "full_name": "李永磊66",
                    "employee_number": "lyl@qq.com",
                    "user_name": "lyl@qq.com",
                    "given_name": "lei",
                    "user_type": "1",
                    "start_work_date": "2021-06-01",
                    "credit_level": 246,
                    "credit_score": -1100,
                    "creation_date": 1605842071000,
                    "last_update_date": 1741573566000,
                    "approval_level": 2,
                    "default_language": "zh_CN",
                    "base_city": "1",
                    "equipment_type": "",
                    "equipment_id": "",
                    "sub_account_name": "123",
                    "description": "1222344",
                    "attachment_url": "b92b9be9-d2bb-45d0-a974-0d04a279bee9.png"
                },
                "creation_date": 1748249875000,
                "audit_flag": "Y"
            }
        ]
    }
}

results matching ""

    No results matching ""