URL

http://webapi.leadmaster.com/api/LMWebAPI/GetEmailTemplates?access_token={access_token}

Description

Get Email Templates from the accesstoken

HttpMethod

GET

Request Information

Parameters

NameDescriptionAdditional information
access_token
Token required for the authentication.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "templateIDField": 1,
    "templateNameField": "sample string 2",
    "templateSubjectField": "sample string 3",
    "templateDescField": "sample string 4",
    "templateFormatField": "sample string 5",
    "templateMessageField": "sample string 6"
  },
  {
    "templateIDField": 1,
    "templateNameField": "sample string 2",
    "templateSubjectField": "sample string 3",
    "templateDescField": "sample string 4",
    "templateFormatField": "sample string 5",
    "templateMessageField": "sample string 6"
  },
  {
    "templateIDField": 1,
    "templateNameField": "sample string 2",
    "templateSubjectField": "sample string 3",
    "templateDescField": "sample string 4",
    "templateFormatField": "sample string 5",
    "templateMessageField": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTypeEmailTemplateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.LMService">
  <TypeEmailTemplateData>
    <templateDescField>sample string 4</templateDescField>
    <templateFormatField>sample string 5</templateFormatField>
    <templateIDField>1</templateIDField>
    <templateMessageField>sample string 6</templateMessageField>
    <templateNameField>sample string 2</templateNameField>
    <templateSubjectField>sample string 3</templateSubjectField>
  </TypeEmailTemplateData>
  <TypeEmailTemplateData>
    <templateDescField>sample string 4</templateDescField>
    <templateFormatField>sample string 5</templateFormatField>
    <templateIDField>1</templateIDField>
    <templateMessageField>sample string 6</templateMessageField>
    <templateNameField>sample string 2</templateNameField>
    <templateSubjectField>sample string 3</templateSubjectField>
  </TypeEmailTemplateData>
  <TypeEmailTemplateData>
    <templateDescField>sample string 4</templateDescField>
    <templateFormatField>sample string 5</templateFormatField>
    <templateIDField>1</templateIDField>
    <templateMessageField>sample string 6</templateMessageField>
    <templateNameField>sample string 2</templateNameField>
    <templateSubjectField>sample string 3</templateSubjectField>
  </TypeEmailTemplateData>
</ArrayOfTypeEmailTemplateData>