Query Information of an LDAP Node Entry
Query the detailed information of an LDAP node entry.
Request URL
GET {base_url}/{api_path}/ldap_nodes/get?access_token={access_token}
Request parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| id | Yes | Integer | The unique ID of an LDAP node entry. Note: You can query
LDAP node entry ID using the Search LDAP Node Entries
interface. |
Response parameters
| Parameter | Type | Description |
|---|---|---|
| errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
| errmsg | String | Returned message.
|
| node_entry | Object<LDAP_Node_Entry> | The detailed information of the LDAP node entry. |
- LDAP_Node_Entry
-
Parameter Type Description id Integer The unique ID of the entry. display_name String The display name of the entry. first_name String The first name. last_name String The last name. sn String The value of the SN attribute. company String The company name. email String The email address. business String The primary company phone number. business2 String The secondary company phone number. business_fax String The business fax number. mobile String The mobile phone number. mobile2 String The secondary mobile phone number. home String The home phone number. home2 String The second home phone number. home_fax String The home fax number. other String The other phone number. extension_number String The extension number. department String The department. title String The title. job_title String The job title. position String The position. organization String The organization. industry String The industry. report_to String The superior. remark String The remark. street String The street address. city String The city. state String The state or province. country String The country or region. zip_code String The postal code.
Example
Request example
GET /openapi/v1.0/ldap_nodes/get?id=159&access_token=KHlhDSbuZ75OsFLDUbZHdkE5cIQEcIlK HTTP/1.1
Host: yeastardocs.example.yeastarcloud.com
Response example
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": ""
}
}