SetDistList

Updates a distribution list to add/delete specific contacts, or to remove all the contacts from the distribution list.

Request

The sample XML shows an example of a request to add a contact to an existing distribution list.

<?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.SetDistList">
            <distList>
                <distListID>7267</distListID>
                <name>new dist</name>
                <desc>updated with setDist</desc>
                <contactID>690587</contactID>
                <contactOperation>ADD</contactOperation>
            </distList>
        </bodyContent>
    </body>
</serv:message>

The following schema diagram shows the structure of the elements in the setDistList request message.

Figure 4-19 • Schema diagram for setDistList

Response

The sample XML document 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">
    <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:setDistListResponse"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
    </serv:body>
</serv:message>

The following schema diagram shows the structure of the elements in the
setDistListResponse message.

Figure 4-20 • Schema diagram for setDistListResponse