AssignToDoPlan

Overview

Assign an To-Do Plan to a contact in the database via an http form post.

Post Url

https://hyperdrivepro.morethanrewards.com/api/2/AssignToDoPlan.aspx

- SSL is required

Important Notes

Contact’s email must be “Opt In” before an Autoresponder can be assigned

Form Fields

FieldMax Length*RequiredNotes
response_type
YesSet this field value to json to return results in JSON format
accountid
YesMust be numeric. Account ID for this account. 
apikey
YesAPI Key for this account.
identifymethod1YesValues:

1 : By contactid (It’s recommended that you use this method and store our contactid in your system)

2 : By primary email on file. If there are multiple matches for the email address, we will choose the first one (by add date)

3: By email or other email on file.  If there are multiple matches for the email address, we will choose the first one (by add date)

identifyvalue75YesValue changes based on indentifymethod. Must be integer if contactid, otherwise must be an email address on file
todoplanid50Yes
defaultassign50NoSpecify “owner” if you would like the To-Dos to be assigned to the contact owner in cases where the To Do Plan item is set to “(Default) The user that assigns this To Do Plan”

* An error will not result if Max Length is exceeded. Data will be trimmed to this length.

Sample Results

Success Messages

<?xml version="1.0"?> 
<results>
     <message>Success</message>
     <details>To-Do Plan assigned</details> 
</results>

Sample Failure Messages

<?xml version="1.0"?> 
<results>
     <error>Authentication failed</error> 
</results>