Add a new "Flag" to settings based on information sent via an http form post.
(Add the Flag to Settings > Flags. Function does not assign the flag to a contact)
Field | Max Length | Required | Notes |
---|---|---|---|
response_type | false | Default results will be returned in XML. Set this field value to json to return results in JSON format | |
accountid | true | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
apikey | true | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
name | 50 | true | Display name for the new flag |
imagefilename | 50 | true | Image filename. Image location must point to an existing image in the images/flags/ folder. See source HTML in Settings > Flags for available image filenames. Only give the filename. Do not give any path or URLs information. Example: flag-blue.gif |
color | 1 | false | Background color for flag (Number 0-6). Available options: 0: White (Default) 1: Red 2: Orange 3: Yellow 4: Green 5: Blue 6: Violet |