GET /sites/{siteId}/members/{personId}
基本信息
获取sites siteId上人员personId的sites成员资格信息。
您可以使用-me-
字符串代替<personid>
来代表当前通过身份验证的用户。
请求方式 :GET
请求API: / sites / {siteId} / members / {personId}
响应等级(状态200)
成功回应
{ "entry": { "id": "string", "person": { "id": "string", "firstName": "string", "lastName": "string", "description": "string", "avatarId": "string", "email": "string", "skypeId": "string", "googleId": "string", "instantMessageId": "string", "jobTitle": "string", "location": "string", "company": { "organization": "string", "address1": "string", "address2": "string", "address3": "string", "postcode": "string", "telephone": "string", "fax": "string", "email": "string" }, "mobile": "string", "telephone": "string", "statusUpdatedAt": "2021-01-08T08:52:11.821Z", "userStatus": "string", "enabled": true, "emailNotificationsEnabled": true, "aspectNames": [ "string" ], "properties": {}, "capabilities": {} }, "role": "SiteConsumer" } }
响应内容类型 applicaiton/json
Query参数
Path参数
名称 | 类型 | 是否必填 | 示例值 | 描述 |
siteId | string | 是 | sites的标识符。 | |
personId | string | 是 | 个人的标识符。 |
错误信息描述
状态码 | 原因 |
401 | 验证失败 |
404 | siteId或personId不存在 |
default | 意外错误 |
返回结果示例
{ "error": { "errorKey": "string", "statusCode": 0, "briefSummary": "string", "stackTrace": "string", "descriptionURL": "string", "logId": "string" } }