Versions Compared

Key

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

...

Code Block
languagehtml/xml
linenumberstrue
<mailupMessage>
    <mailupBody>
        <ReturnCode>0</ReturnCode>
        <processes>
            <process>
                <processID>0</processID>
                <listID>84</listID>
                <ReturnCode>-410</ReturnCode>
</process>
            <process>
                <processID>18</processID>
                <listID>85</listID>
                <ReturnCode>0</ReturnCode>
</process>
            <process>
                <processID>19</processID>
                <listID>86</listID>
                <ReturnCode>0</ReturnCode>
</process>
        </processes>
    </mailupBody>
</mailupMessage>

...

Error codes

Error codeDescription
-400unrecognized error
-401xmlDoc is empty
-402convert xml to csv failed
-403create new import process failed
-410can not create confirmation email
-450listsIDs and listsGUIDs must contain the same number of elements
-600unrecognized error
-601an import process is already running for the list
-602an import process is already running for a different list
-603error checking process status
-604error starting the process job

XML feed

The XML structure for importing subscribers is shown below:

Code Block
languagehtml/xml
linenumberstrue
<subscribers>
<subscriber email="user@myprovider.com" Prefix="+001" Number="8889624587" Name="">
<campo1>first name</campo1>
<campo2>last name</campo2>
<campo3>Nweb SRL</campo3>
</subscriber>
</subscribers>

Phone numbers can be specified in two ways:

  • Single field
Code Block
languagehtml/xml
linenumberstrue
<subscriber email="user@myprovider.com" Prefix="" Number="+0018889624587" Name="">
  • Two fields
Code Block
languagehtml/xml
linenumberstrue
<subscriber email="user@myprovider.com" Prefix="+001" Number="8889624587" Name="">

 

...