GET api/email/templates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmailTemplate
NameDescriptionTypeAdditional information
Id

integer

None.

Tipo

string

None.

Description

string

None.

Subject

string

None.

From

string

None.

To

string

None.

Cc

string

None.

Bcc

string

None.

ShowInAction

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Tipo": "sample string 2",
    "Description": "sample string 3",
    "Subject": "sample string 4",
    "From": "sample string 5",
    "To": "sample string 6",
    "Cc": "sample string 7",
    "Bcc": "sample string 8",
    "ShowInAction": true
  },
  {
    "Id": 1,
    "Tipo": "sample string 2",
    "Description": "sample string 3",
    "Subject": "sample string 4",
    "From": "sample string 5",
    "To": "sample string 6",
    "Cc": "sample string 7",
    "Bcc": "sample string 8",
    "ShowInAction": true
  }
]

text/html

Sample:
[{"Id":1,"Tipo":"sample string 2","Description":"sample string 3","Subject":"sample string 4","From":"sample string 5","To":"sample string 6","Cc":"sample string 7","Bcc":"sample string 8","ShowInAction":true},{"Id":1,"Tipo":"sample string 2","Description":"sample string 3","Subject":"sample string 4","From":"sample string 5","To":"sample string 6","Cc":"sample string 7","Bcc":"sample string 8","ShowInAction":true}]

application/xml, text/xml

Sample:
<ArrayOfEmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Generic">
  <EmailTemplate>
    <Bcc>sample string 8</Bcc>
    <Cc>sample string 7</Cc>
    <Description>sample string 3</Description>
    <From>sample string 5</From>
    <Id>1</Id>
    <ShowInAction>true</ShowInAction>
    <Subject>sample string 4</Subject>
    <Tipo>sample string 2</Tipo>
    <To>sample string 6</To>
  </EmailTemplate>
  <EmailTemplate>
    <Bcc>sample string 8</Bcc>
    <Cc>sample string 7</Cc>
    <Description>sample string 3</Description>
    <From>sample string 5</From>
    <Id>1</Id>
    <ShowInAction>true</ShowInAction>
    <Subject>sample string 4</Subject>
    <Tipo>sample string 2</Tipo>
    <To>sample string 6</To>
  </EmailTemplate>
</ArrayOfEmailTemplate>