...
- idList: list identifier
- listGuid: GUID of the list
- xmlDoc: XML string containing the contacts to be imported (see Appendix Asee paragraph "XML feed" below)
- groupsIDs: group identifiers separated by comma (more than a group for each list is possible)
- importType: import type (default value=3)
- mobileInputType: mobile number input type (see Appendix A(see paragraph "XML feed" below)
- 1= include international code
- 2=international code and phone number in two different fields
- asPending: subscribes users as pending, if true (default value=false)
- ConfirmEmail: sends confirmation request email (default value=false)
- asOptOut: imports users as unsubscribed (default value=false)
- forceOptIn: forces subscription of users (default value=false)
- replaceGroups: replaces groups (default value=false)
...
The XML structure for importing subscribers is shown below:
Code Block | ||||
---|---|---|---|---|
| ||||
<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 | ||||
---|---|---|---|---|
| ||||
<subscriber email="user@myprovider.com" Prefix="" Number="+0018889624587" Name=""> |
- Two fields
Code Block | ||||
---|---|---|---|---|
| ||||
<subscriber email="user@myprovider.com" Prefix="+001" Number="8889624587" Name=""> |