GET wx_qy/get_code2session?agentId={agentId}&code={code}

临时登录凭证校验

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentId

应用ID

integer

Required

code

临时登录凭证code

string

Required

Body Parameters

None.

Response Information

Resource Description

临时登录凭证校验

LoginUserDto
NameDescriptionTypeAdditional information
UkeyID

ukey id

string

None.

IdentityType

负责类型

integer

None.

TopUnitName

顶级部门

string

None.

UnitName

当前部门

string

None.

PositionName

职务名称

string

None.

CompanyName

公司名称

string

None.

LogoPictureId

所属公司logo 主键

integer

None.

LogoPictureUrl

所属公司logo url

string

None.

PhotoUrl

头像图片url

string

None.

GroupID

集团id

integer

None.

AllowIntranetSign

boolean

None.

SubIdentities

副身份列表

Collection of UserSubIdentityDto

None.

MainCompanyID

主公司id

integer

None.

IsRootUser

是否超管用户

boolean

None.

CompanyIDs

公司ID 合同管理应用,指负责人关联的公司

string

None.

DefaultUserID

默认用户ID

integer

None.

UserType

员工账号类型 2普通员工 3高管 4一把手

integer

None.

g_data_level

数据权限 0、空 1、个人 2、部门 3、公司 4、集团

integer

None.

g_companyids

数据权限 公司id集合

string

None.

ID

自增主键

integer

None.

Marks

是否删除

boolean

None.

Type

在职类型

integer

None.

State

在职状态(在职,离职,集团内转出)

integer

None.

EntryDate

入职日期

date

None.

LeaveReasonType

离职原因

integer

None.

LeaveDate

离职日期

date

None.

PositiveDate

转正日期

date

None.

Number

工号

string

None.

Name

用户名

string

None.

TrueName

姓名

string

None.

Password

密码

string

None.

IdCard

身份证号

string

None.

Birthday

出生日期

date

None.

Sex

性别

integer

None.

CompanyID

所属公司

integer

None.

UnitID

部门id

integer

None.

TopUnitID

最高级部门id

integer

None.

Level

等级

integer

None.

PositionID

职务id

integer

None.

Sort

排序

integer

None.

Mobile

手机

string

None.

Tel

电话

string

None.

Address

家庭住址

string

None.

RegisteredCity

户籍所在地

string

None.

HomeTel

住宅电话

string

None.

InGroupDate

集团转入时间

date

None.

PositionState

是否集团内转入(0是集团内转出;1是集团内转入;null既不是集团转出也不是转入)

integer

None.

Degree

学历

integer

None.

Marriage

婚姻情况

integer

None.

Child

生育情况

integer

None.

Email

Email

string

None.

LoginInternet

是否外网登陆

boolean

None.

Notes

备注

string

None.

PhotoID

头像图片id

integer

None.

IsAdmin

admin

boolean

None.

IsGuide

是否是导游

boolean

None.

LastLoginIp

最后登录ip

string

None.

IntranetIp

内网ip(local_ip)

string

None.

IsMultiLogin

是否同时登陆

boolean

None.

WeChatOpenID

微信openid

string

None.

NativePlace

籍贯

string

None.

Nation

民族

string

None.

Politics

政治面貌

integer

None.

HighestDegree

最高学历

integer

None.

Contact

紧急联系人

string

None.

ContactTel

紧急联系人电话

string

None.

BankName

银行名称

string

None.

BankAccount

银行账号

string

None.

HighestGraduateSchool

最高学历毕业学校

string

None.

HighestDegreeMajor

最高学历专业

string

None.

HighestGraduationTime

最高学历毕业时间

date

None.

GraduateSchool

第一学历毕业学校

string

None.

DegreeMajor

第一学历专业

string

None.

GraduationTime

第一学历毕业时间

date

None.

ContractEffectiveDate

合同生效日期

date

None.

ContractExpirationDate

合同失效日期

date

None.

NVQ

职业资格证书

string

None.

Height

身高(cm)

integer

None.

EntryWay

入职途径

integer

None.

Recommender

推荐人

string

None.

HealthCertExpirationDate

健康证到期日

date

None.

HotelLocker

酒店-更衣柜

string

None.

HotelPhoneCabinet

酒店-手机柜

string

None.

HotelPositionLevel

酒店职级

string

None.

DingUserID

钉钉用户ID

string

None.

Avatar

钉钉用户头像

string

None.

AddUser

添加人

integer

None.

AddTime

添加时间

date

None.

UpdateUser

修改人

integer

None.

UpdateTime

修改时间

date

None.

Response Formats

application/json, text/json

Sample:
{
  "ukeyID": "sample string 1",
  "identityType": 1,
  "topUnitName": "sample string 2",
  "unitName": "sample string 3",
  "positionName": "sample string 4",
  "companyName": "sample string 5",
  "logoPictureId": 1,
  "logoPictureUrl": "sample string 6",
  "photoUrl": "sample string 7",
  "groupID": 8,
  "allowIntranetSign": true,
  "subIdentities": [
    {
      "id": 1,
      "positionName": "sample string 2",
      "companyName": "sample string 3",
      "unitName": "sample string 4",
      "topUnitName": "sample string 5",
      "groupID": 1,
      "path": "sample string 6",
      "isMainIdentity": true,
      "userID": 8,
      "companyID": 9,
      "unitID": 10,
      "topUnitID": 11,
      "positionID": 12
    },
    {
      "id": 1,
      "positionName": "sample string 2",
      "companyName": "sample string 3",
      "unitName": "sample string 4",
      "topUnitName": "sample string 5",
      "groupID": 1,
      "path": "sample string 6",
      "isMainIdentity": true,
      "userID": 8,
      "companyID": 9,
      "unitID": 10,
      "topUnitID": 11,
      "positionID": 12
    }
  ],
  "mainCompanyID": 9,
  "isRootUser": true,
  "companyIDs": "sample string 11",
  "defaultUserID": 12,
  "userType": 13,
  "g_data_level": 14,
  "g_companyids": "sample string 15",
  "id": 16,
  "marks": true,
  "type": 18,
  "state": 19,
  "entryDate": "2025-05-17T21:37:39.0392228+08:00",
  "leaveReasonType": 20,
  "leaveDate": "2025-05-17T21:37:39.0392228+08:00",
  "positiveDate": "2025-05-17T21:37:39.0392228+08:00",
  "number": "sample string 21",
  "name": "sample string 22",
  "trueName": "sample string 23",
  "password": "sample string 24",
  "idCard": "sample string 25",
  "birthday": "2025-05-17T21:37:39.0392228+08:00",
  "sex": 1,
  "companyID": 26,
  "unitID": 27,
  "topUnitID": 28,
  "level": 29,
  "positionID": 30,
  "sort": 31,
  "mobile": "sample string 32",
  "tel": "sample string 33",
  "address": "sample string 34",
  "registeredCity": "sample string 35",
  "homeTel": "sample string 36",
  "inGroupDate": "2025-05-17T21:37:39.0392228+08:00",
  "positionState": 38,
  "degree": 1,
  "marriage": 1,
  "child": 1,
  "email": "sample string 39",
  "loginInternet": true,
  "notes": "sample string 41",
  "photoID": 1,
  "isAdmin": true,
  "isGuide": true,
  "lastLoginIp": "sample string 44",
  "intranetIp": "sample string 45",
  "isMultiLogin": true,
  "weChatOpenID": "sample string 47",
  "nativePlace": "sample string 48",
  "nation": "sample string 49",
  "politics": 50,
  "highestDegree": 1,
  "contact": "sample string 51",
  "contactTel": "sample string 52",
  "bankName": "sample string 53",
  "bankAccount": "sample string 54",
  "highestGraduateSchool": "sample string 55",
  "highestDegreeMajor": "sample string 56",
  "highestGraduationTime": "2025-05-17T21:37:39.0431684+08:00",
  "graduateSchool": "sample string 57",
  "degreeMajor": "sample string 58",
  "graduationTime": "2025-05-17T21:37:39.0431684+08:00",
  "contractEffectiveDate": "2025-05-17T21:37:39.0431684+08:00",
  "contractExpirationDate": "2025-05-17T21:37:39.0431684+08:00",
  "nvq": "sample string 59",
  "height": 60,
  "entryWay": 61,
  "recommender": "sample string 62",
  "healthCertExpirationDate": "2025-05-17T21:37:39.0431684+08:00",
  "hotelLocker": "sample string 63",
  "hotelPhoneCabinet": "sample string 64",
  "hotelPositionLevel": "sample string 65",
  "dingUserID": "sample string 66",
  "avatar": "sample string 67",
  "addUser": 68,
  "addTime": "2025-05-17T21:37:39.0431684+08:00",
  "updateUser": 70,
  "updateTime": "2025-05-17T21:37:39.0431684+08:00"
}