UpdateToDo

Overview

Update a To-Do (assigned to a contact) based on information sent via an http form post.

Post Url

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

- SSL is requred

Important Note

Submitting a blank field (for all non-required fields) will result in clearing the data for that field out of the database. If you don’t want to change a field, do not submit it with the form.

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.
teammemberid
NoDefault is 0 for Account Owner
apikey
YesAPI Key for this account.
todoid
YesYou can find the todoid in the GetToDos function
contactid
No
priority 1NoPossible Values
1 – High
3 – Normal
5 – Low
summary 50No
details 250No
duedate
NoDate in the following format: MM/DD/YYYY
category
NoPossible Values
1 – Email
2
– Letter
3
– Phone Call
(blank)
– No Category
status
NoPossible Values
0 – Open/Incomplete
1
– Closed/Complete
emailtemplateid
NoNeeded for category “Email” only
lettertemplateid
NoNeeded for “Letter” only

Sample Results

 

Success Message

<results>
   <message>Success</message>
   <todoid>1233112</todoid> 
</results>

Sample Failure Message

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