Managing lists of email with api
-
Hi, There is a API to dinamically manage a list? that is add a user to the list (read only or normal), and delete a user from a list? i see only list creations and delete.
Regards,
Giovanni Tomassini
-
Arron Staff
Yes, there is an updatelist operation. Here is a example from the documentation:
<?xml version="1.0" encoding="utf-8"?> <MDaemon> <API productversion="23.5.0" serviceversion="23.5.0.2"> <Request version="23.5" echo="1" verbose="0"> <Operation>UpdateList</Operation> <Parameters> <Domain>sample.int</Domain> <ListName>Property-Recovery</ListName> <Members> <Member action="remove" id="John.Wraith@weapon-x.int"/> <Member action="add" id="Nightcrawler@xmen.int" displayname="Nightcrawler" type="1"/> <Member action="add" id="Terry.Luigi.Kallberg@aim.int" displayname="Terry Luigi Kallberg" type="2"/> <Member action="add" id="Ikaris@eternals.int" displayname="Ikaris" type="4"/> <Member action="add" id="Viola.Reichardt@hammer.int" displayname="Viola Reichardt" type="3"/> <Member action="edit" id="Dr.Charline.Celia.Keesling@crosstech.int" type="2"/> <Member action="edit" id="Jack.Rollins@shield.int" type="3"/> <Member action="edit" id="Medusa@attilan.int" type="1"/> <Member action="edit" id="Jay.Anacleto@newyorkbulletin.int" type="4"/> </Members> </Parameters> </Request> <Response version="23.5" et="1.326235"> <Status id="0" value="0x00000000" message="The operation completed successfully."/> </Response> </API> </MDaemon>
Please login to reply this topic!