红小豆数字   ->   API

提取机构用户信息


通过这个API,用户可以获得机构用户信息。

名称: {{baseuri}}/groupContact/listPeople

参数:

http方法: GET/POST

步骤


下面是使用步骤


@baseuri = http://localhost:8080/cubedrive-webapp
@username= admin
@password= abcabc
@xAuthToken=bbb6c793-832c-4733-9601-a023366d918f

###
GET {{baseuri}}/getLogin?j_username={{username}}&j_password={{password}}

###
POST {{baseuri}}/groupContact/listPeople
X-Auth-Token: {{xAuthToken}}
Content-Type: application/json

{
    "groupId": "p_TYFwLSOdg",
    "start": 0,
    "limit": 200
}
    

查询结果


{
    success: true
    totalCount: "8",
    results: [
        {contactUserId: "tZFXlfK4dIo", info: "fzhuang@cubedrive.com", self: false, firstname: "奋强",…},
        {contactUserId: "xQbYouJnPpI", info: "yss@cubedrive.com", self: false, firstname: "士琳", lastname: "严",…}
        ...
    ]
}