Appendix A Push XML API
Push XML Reference
ManageDistributionLists
The following sample XML for ManageDistributionLists and its child elements illustrates creating the distribution list named “accounting” and adding several devices to that list.
<ManageDistributionLists>
<DistributionList id="2" name="accounting" action="create"> </DistributionList>
<DistributionList id="2" name="accounting" action="add"> <Member device_id="000E8349D6ED"/>
<Member device_id="0009B7F3FA1D"/> <Member device_id="000821381711"/>
</DistributionList>
</ManageDistributionLists>
The following table describes the ManageDistributionLists element and its child elements.
Element | Parent Element | Attributes | Enumeration | Description |
|
|
|
|
|
ManageDistributionLists | none | none |
| Parent element of one or more |
|
|
|
| DistributionList elements. |
|
|
|
|
|
DistributionList | ManageDistributionLists |
|
| Parent element of zero or more |
|
|
|
| Member elements. |
|
|
|
|
|
|
| id |
| A numeric value that uniquely |
|
|
|
| identifies the distribution list. |
|
|
|
|
|
|
| name |
| A text string that identifies the |
|
|
|
| distribution list. |
|
|
|
|
|
|
| operation | create | Creates a distribution list. |
|
|
| add | Adds the specified members to |
|
|
|
| the distribution list. |
|
|
| remove | Removes the specified |
|
|
|
| members from the distribution |
|
|
|
| list. |
|
|
| delete | Deletes the distribution list. |
|
|
|
|
|
Member | DistributionList | device_id |
| The MAC address of the |
|
|
|
| device. |
|
|
|
|
|