EMUN1 ASP.NET

<back to all web services

GetTemplates

The following routes are available for this service:
All Verbs/service/GetTemplates

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/GetTemplates HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mandrill" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfMandrillTemplateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mandrill.Model">
  <MandrillTemplateInfo>
    <Code>String</Code>
    <CreatedAt>0001-01-01T00:00:00</CreatedAt>
    <FromEmail>String</FromEmail>
    <FromName>String</FromName>
    <Labels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </Labels>
    <Name>String</Name>
    <PublishCode>String</PublishCode>
    <PublishFromEmail>String</PublishFromEmail>
    <PublishFromName>String</PublishFromName>
    <PublishName>String</PublishName>
    <PublishSubject>String</PublishSubject>
    <PublishText>String</PublishText>
    <PublishedAt>0001-01-01T00:00:00</PublishedAt>
    <Slug>String</Slug>
    <Subject>String</Subject>
    <Text>String</Text>
    <UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
  </MandrillTemplateInfo>
</ArrayOfMandrillTemplateInfo>