Clone an existing contact list, along with all its options.


XML Request Example:      

<?xml version="1.0" encoding="UTF-8"?>
<xmlrequest>
   <username>cesystem</username>
   <usertoken>abc123abc123abc123abc123abc123abc123abc123abc123</usertoken>
   <requesttype>databases</requesttype>
   <requestmethod>copylist</requestmethod>
   <details>
      <listid>5</listid>
      <name>new contact list name 2</name>
      <ownername>bob test</ownername>
      <owneremail>bob@test.com</owneremail>
      <replytoemail>reply@test.com</replytoemail>
   </details>
</xmlrequest>

   <xmlrequest> element


Field Name Description
username Username used to login to Pinpointe
usertoken Unique token assigned to Pinpointe account
requesttype Name of API set to be used
requestmethod Function being called


<details> element


Field Name Description
listid ID of the contact list to clone
name Name for new contact list
ownername Name of the owner of new contact list
owneremail Email address for the owner of new contact list
replytoemail

Reply-to email address for new contact list


Successful Response:


<response> element


Field Name Description
status Will return SUCCESS if user was successfully added
data Includes job ID (<jobid> element) and number of subscribers who were sent message (<subscribercount> element)
version API version used


Successful Response Example:

 

<response>
   <status>SUCCESS</status>
   <data>
      <jobid>18095469</jobid>
      <subscribercount>1</subscribercount>
   </data>
   <version>3.0</version>
</response>

 


Unsuccessful Response:


<response> element


Field Name Description
status Will return ERROR if unsuccessful
errormessage Text explaining why request failed