修改用户详细信息
正式环境
https://accounts.zwsoft.cn
正式环境
https://accounts.zwsoft.cn
POST
/api/v1.0/manage/users/details
最后修改时间:2024-02-04 03:52:09
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示 例:
Authorization: Bearer ********************
Header 参数
Authorization
string
必需
示例值:
Bearer eyJhbGciB5DZtTWYVqa9A
Body 参数application/json
guid
string
用户guid
firstName
string | null
名字
lastName
string | null
姓氏
displayName
string | null
显示名称
preferredLanguage
string | null
偏好语言
dateOfBirth
string | null
出生日期
address
object
联系地址
street
string | null
街道
postalCode
string | null
邮政编码
city
string | null
城市
provinceName
string | null
省份
countryName
string | null
国家地区名
countryCode
string | null
国家地区代号
jobInfo
object
工作信息
company
string | null
公司名称
industry
string | null
行业
department
string | null
部门
title
string | null
职位
isPhoneReceiveInfo
boolean | null
手机号是否接收营销通知
isEmailReceiveInfo
string | null
邮箱是否接收营销通知
示例
{
"dateOfBirth": "1997-01-01",
"address": {
"street": "珠江西路15号",
"postalCode": "510623",
"countryCode": "CN"
},
"jobInfo": {
"company": "广州中望龙腾软件股份有限公司",
"industry": "计算机软件",
"department": "研发中台",
"title": "测试工程师"
},
"isEmailReceiveInfo": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://accounts.zwsoft.cn/api/v1.0/manage/users/details' \
--header 'Authorization: Bearer eyJhbGciB5DZtTWYVqa9A' \
--header 'Content-Type: application/json' \
--data-raw '{
"dateOfBirth": "1997-01-01",
"address": {
"street": "珠江西路15号",
"postalCode": "510623",
"countryCode": "CN"
},
"jobInfo": {
"company": "广州中望龙腾软件股份有限公司",
"industry": "计算机软件",
"department": "研发中台",
"title": "测试工程师"
},
"isEmailReceiveInfo": true
}'
返回响应
🟢200成功
application/json
Body
status
integer
返回码
message
string
错误详细信息
error
string | null
错误代号
data
array[object (用户详细信息) {23}]
返回数据
guid
string
用户GUID
userName
string
用户名
firstName
string | null
名字
lastName
string | null
姓氏
displayName
string
显示名称
profileImage
string
头像链接
preferredLanguage
string
偏好语言
itc
string | null
手机国别号
phone
string | null
手机号
email
string | null