GetImportantDateTypes

Overview

Get the list of Important Date types set up for this account (the library), so you can discover the importantdateid values used by the other Important Dates functions.
Important Dates are typed, workflow-driven anniversary dates managed under Settings; they are distinct from the Special Events functions (AddContactSpecialEvent / GetContactSpecialEvents).
Creating, editing and deleting the date types themselves is not available through the API.

URL

POST/api/2/GetImportantDateTypes/       or legacy URL at  /api/2/GetImportantDateTypes.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
includeinactive1falseValues:

0 (default): Return active date types only. This matches the list shown in the application when adding an important date to a contact.

1: Also return date types that have been made inactive