LstDistList
Queries contact distribution lists by a distribution list name or ID. Allows users to query other hosts for their contact lists along with company wide lists.
Request
The sample XML shows an example of a request that searches for a specified distribution list ID (distListID
).
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<webExID>hostid</webExID>
<password>hostpassword</password>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.ep.LstDistList">
<distListID>15987</distListID>
<name>Dis1</name>
<addressType>PERSONAL</addressType>
<hostWebExID>test1</hostWebExID>
</bodyContent>
</body>
</serv:message>
The following schema diagram shows the structure of the elements in the lstDistList
request message.
Figure 4-11 • Schema diagram for lstDistList
Response
The sample XML shows an example of a possible response to the preceding XML request document.
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"
xmlns:com="http://www.webex.com/schemas/2002/06/common"
xmlns:ep="http://www.webex.com/schemas/2002/06/service/ep"
xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting">
<serv:header>
<serv:response>
<serv:result>SUCCESS</serv:result>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent xsi:type="ep:lstDistListResponse"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ep:distList>
<ep:distListID>15987</ep:distListID>
<ep:name>Dis1</ep:name>
<ep:desc>This is Distribution list 1</ep:desc>
<ep:addressType>PERSONAL</ep:addressType>
</ep:distList>
</serv:bodyContent>
</serv:body>
</serv:message>
The following schema diagram shows the structure of the elements in the lstDistListResponse
message.
Figure 4-12 • Schema diagram for lstDistListResponse