GET api/EmailTemplate/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

EmailTemplate
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SuperAffiliateId

globally unique identifier

None.

Subject

string

None.

Body

string

None.

TimeStamp

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "bc05ce44-0d02-418f-9c7b-198d90cc6325",
  "super-affiliate-id": "2826e652-b41c-4c91-a248-df2623621b19",
  "subject": "sample string 3",
  "body": "sample string 4",
  "time-stamp": "QEA="
}

application/xml, text/xml

Sample:
<EmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models">
  <Body>sample string 4</Body>
  <Id>bc05ce44-0d02-418f-9c7b-198d90cc6325</Id>
  <Subject>sample string 3</Subject>
  <SuperAffiliateId>2826e652-b41c-4c91-a248-df2623621b19</SuperAffiliateId>
  <TimeStamp>QEA=</TimeStamp>
</EmailTemplate>