GetFlags

Overview

Lists Flags for an account based on information sent via an http form post.

Post Url

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

- SSL is required

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. 
apikey
YesAPI Key for this account. 


Success Message

<results>
   <flags>
     <flag>
       <flagid>10001</flagid>
       <accountid>2</accountid>
       <name>Hot Prospect</name>
   <imageurl>http://www.allclients.com/images/flags/flag_red.png</imageurl>
     </flag>
     <flag>
       <flagid>10002</flagid>
       <accountid>2</accountid>
       <name>Past Customer</name>
      <imageurl>http://www.allclients.com/images/flags/money.png</imageurl>
     </flag>
   </flags> 
</results>

Sample Failure Message

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