查询单个 LDAP 节点条目信息
查询单个 LDAP 节点条目的详细信息。
请求 URL
GET {base_url}/{api_path}/ldap_nodes/get?access_token={access_token}
请求参数
| 参数 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| id | 是 | Integer | LDAP 节点条目的唯一 ID。 注: 可通过 搜索 LDAP 节点条目 接口查询 LDAP 节点条目的 ID。 |
响应参数
| 参数 | 类型 | 说明 |
|---|---|---|
| errcode | Integer | 返回错误码。
注: 更多错误码和错误信息说明,请参见 错误码 & 错误信息。
|
| errmsg | String | 返回信息。
|
| node_entry | Object<LDAP_Node_Entry> | LDAP 节点条目的详细信息。 |
- LDAP_Node_Entry
-
参数 类型 说明 id Integer 条目的唯一 ID。 display_name String 条目的显示名称。 first_name String 名。 last_name String 姓。 sn String SN 属性值。 company String 公司名称。 email String 电子邮箱地址。 business String 办公号码 1。 business2 String 办公号码 2。 business_fax String 公司传真。 mobile String 手机号码。 mobile2 String 手机号码 2。 home String 家庭号码。 home2 String 家庭号码 2。 home_fax String 家庭传真。 other String 其他号码。 extension_number String 分机号码。 department String 部门。 title String 职位。 job_title String 职位。 position String 岗位。 organization String 组织。 industry String 行业。 report_to String 上级。 remark String 备注。 street String 街道。 city String 市。 state String 州(省)。 country String 国家/地区。 zip_code String 邮政编码。
示例
请求示例
GET /openapi/v1.0/ldap_nodes/get?id=159&access_token=KHlhDSbuZ75OsFLDUbZHdkE5cIQEcIlK HTTP/1.1
Host: yeastardocs.example.yeastarcloud.com
响应示例
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS",
"node_entry": {
"id": 159,
"display_name": "Leo Ball",
"company": "",
"email": "leoball@sample.com",
"business": "",
"mobile": "",
"home": "",
"first_name": "Leo Ball",
"last_name": "",
"remark": "",
"sn": "",
"business2": "",
"business_fax": "",
"mobile2": "",
"home2": "",
"home_fax": "",
"other": "",
"zip_code": "",
"street": "",
"city": "",
"state": "",
"country": "",
"extension_number": "1000",
"title": "",
"department": "",
"organization": "",
"job_title": "",
"position": "",
"industry": "",
"report_to": ""
}
}