GetLetterTemplates

Overview

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

Post Url

https://hyperdrivepro.morethanrewards.com/api/2/GetTemplates.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.
teammemberid
NoLeave blank or set to 0 (zero) for Account Owner Only
apikey
YesAPI Key for this account.

Sample Results

Success Message

<results>
   <lettertemplates>
     <lettertemplate>
       <id>10001</id>
       <accountid>2</accountid>
       <name>Test Email Template 1</name>
       <description>Email Subject</description>
     </lettertemplate>
     <lettertemplate>
       <id>10024</id>
       <accountid>2</accountid>
       <name>Test Email Template 2</name>
       <description>Email Subject</description>
     </lettertemplate>
   </lettertemplates> 
</results>

Sample Failure Message

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