UpdateContactImportantDate

Overview

Update the event date or the notes on an Important Date already assigned to a contact, via an http form post.
Important Dates are typed, workflow-driven anniversary dates managed under Settings; they are distinct from the Special Events functions (AddContactSpecialEvent / GetContactSpecialEvents).
The date type cannot be changed here - to change the type, delete the assignment and add it again.
The next run date is recalculated by us only when the event date actually changes.

URL

POST/api/2/UpdateContactImportantDate/       or legacy URL at  /api/2/UpdateContactImportantDate.aspx

form-data Parameters

FieldMax LengthRequiredNotes
response_typefalseDefault results will be returned in XML.
Set this field value to json to return results in JSON format
accountidtrueMust be numeric. Account ID for this account.
Found in Settings > API Settings or for White Label CRM in the Admin control panel
apikeytrueAPI Key for this account.
Found in Settings > API Settings or for White Label CRM in the Admin control panel
contactimportantdateidtrueMust be numeric. The assignment to update, as returned by AddContactImportantDate or GetContactImportantDates.
This is NOT the importantdateid of the date type
eventdate10conditionalThe actual anniversary or event date, in MM/DD/YYYY format. A 4 digit year is required.
The year must be between 1900 and two years from now.
Leave this field out to keep the current event date.

Either eventdate or notes must be supplied
notes500conditionalNotes for this date on this contact. Longer values are truncated to 500 characters.
Leave this field out to keep the current notes. Send it empty to clear the notes.

Either eventdate or notes must be supplied