Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

Method parameters

CreateList method allows to create a new list in MailUp, using default values for lists.

...

  • string CreateList(string accessKey, string name, stringautoId)
    • accessKey: access key obtained using the Login method
    • name: list identifier
    • autoId: identifier which allows MailUp to know if a list was created in an automated context or not. In the Microsoft Dynamics CRM it corresponds to the ORGUNIQUENAME. If this value is null, or an empty string, the list will not be associated to an automatic creation

Sample CreateList response

The method returns a string in XML format containing the list identifier and the GUID of the List created in the MailUp console.

Code Block
languagehtml/xml
linenumberstrue
<CreateList>

       <Lists>

<List Guid="Guid" Id ="X" Name="nome"/>

       </Lists>

</CreateList >

The XML string will have the following features:

  • A root node <CreateLists>.
  • A node <Lists>, contained in the root node.
  • A node <List> with the attributes Guid, Id and Name. These contain respectively the GUID of the list, the ID of the list and the name of the list provided at entrance. 

...

Code Block
languagehtml/xml
linenumberstrue
<CreateList>

       <Lists>

<List Guid="Guid" Id ="X" Name="nome"/>

       </Lists>

</CreateList >

The XML string will have the following features:

  • A root node <CreateList>.
  • A node <Error>, contained in the root node, returning the error message.

...