ContactFlags

Overview

Update a contact in the database via an http form post.

URL

POST/api/2/ContactFlags.aspx

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
identifymethod1trueValues:

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)
identifyvalue75trueValue changes based on identifymethod.
Must be integer if contactid, otherwise must be an email address on file
mode1trueValues:

1: Add Flag (If flag already exists for the contact, success will be reported.)

2: Remove Flag (If flag does not exist for the contact, sucess will be reported.)
flag50trueMust match flag "Name" exactly