最近更新时间:2023-07-14 10:30:04
每个客户只能获取该客户的联系人信息
GET
请求需包含公共参数
名称 | 类型 | 说明 | 是否必填 |
---|---|---|---|
Action | string | GetAlertUser | 是 |
Version | string | 2021-01-01 | 是 |
UserGrpId | []int | 联系组ID,用于批量获取,如果用户需要获取两个联系组的人员信息,示例:UserGrpId.1=xxx&UserGrpId.2=xxxx,如果不填,表示全部;详见 获取联系组 | 否 |
请求2个联系组
/?Action=GetAlertUser&Version=2021-01-01&UserGrpId.1=879&UserGrpId.2=880
返回值
支持XML和JSON
{
"data": {
"userList": [
{
"userId": 1,
"userName": "test_001",
"userEmail": "test@xxx.com",
"userPhone": "185XXXXXXXX",
"userGroups": [
{
"userGrpId": 1,
"groupName": "test",
}
],
"userStatus": 2
},
{
"userId": 2,
"userName": "test_002",
"userEmail": "test1@xxx.com",
"userPhone": "158XXXXXXXX",
"userGroups": [
{
"userGrpId": 1,
"groupName": "test",
}
],
"userStatus": 1
}
]
},
"totalCount": 2,
"requestId": "xxxxx"
}
<Data>
<UserList>
<Id>1</Id>
<UserName>test_001</UserName>
<Email>test@xxx.com</Email>
<Phone>185XXXXXXXX</Phone>
<UserGroups>
<UserGrpId>1</UserGrpId>
<GroupName>test</GroupName>
</UserGroups>
<Status>2</Status>
</UserList>
<UserList>
<Id>1</Id>
<UserName>test_002</UserName>
<Email>test_002@kingsoft.com</Email>
<Phone>158XXXXXXXX</Phone>
<UserGroups>
<UserGrpId>1</UserGrpId>
<GroupName>test</GroupName>
</UserGroups>
<Status>1</Status>
</UserList>
</Data>
<TotalCount>1</TotalCount>
<RequestId>xxxxx</RequestId>
纯净模式