Overview
Add a Sources for an account based on information sent via an http form post.
Post Url
https://hyperdrivepro.morethanrewards.com/api/2/AddSources.aspx
- SSL is required
Form Fields
Field | Max Length* | Required | Notes |
response_type | Yes | Set this field value to json to return results in JSON format | |
accountid | Yes | Must be numeric. Account ID for this account. | |
apikey | Yes | API Key for this account. |
Sample Results
Success Message
<results>
<sources>
<source>
<sourceid>10001</sourceid>
<accountid>2</accountid>
<name>Search Engine</name>
</source>
<source>
<sourceid>10002</sourceid>
<accountid>2</accountid>
<name>Walk In</name>
</source>
</categories>
</results>
Sample Failure Message
<?xml version="1.0"?> <results> <error>Authentication failed</error> </results>