POST v1/emaileditor/savebodytemplateingroup

Request Information

URI Parameters

None.

Body Parameters

EmailTemplateSaveDTO
NameDescriptionTypeAdditional information
AgentID

globally unique identifier

None.

LayoutID

integer

None.

EmailBodyID

integer

None.

EmailBodyType

string

None.

TemplateName

string

None.

TemplateBody

string

None.

LeadType

LeadType

None.

SettingsID

integer

None.

DisableDefaultAgentLogo

boolean

None.

DefaultFacebookLink

string

None.

DefaultYoutubeLink

string

None.

DefaultTwitterLink

string

None.

DefaultInstagramLink

string

None.

DefaultWebsiteLink

string

None.

DefaultLinkedInLink

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AgentID": "90f890d8-cd16-49cc-ad71-fb3ce7d11d0b",
  "LayoutID": 2,
  "EmailBodyID": 3,
  "EmailBodyType": "sample string 4",
  "TemplateName": "sample string 5",
  "TemplateBody": "sample string 6",
  "LeadType": 0,
  "SettingsID": 7,
  "DisableDefaultAgentLogo": true,
  "DefaultFacebookLink": "sample string 9",
  "DefaultYoutubeLink": "sample string 10",
  "DefaultTwitterLink": "sample string 11",
  "DefaultInstagramLink": "sample string 12",
  "DefaultWebsiteLink": "sample string 13",
  "DefaultLinkedInLink": "sample string 14"
}

application/xml, text/xml

Sample:
<EmailTemplateSaveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Controllers">
  <AgentID>90f890d8-cd16-49cc-ad71-fb3ce7d11d0b</AgentID>
  <DefaultFacebookLink>sample string 9</DefaultFacebookLink>
  <DefaultInstagramLink>sample string 12</DefaultInstagramLink>
  <DefaultLinkedInLink>sample string 14</DefaultLinkedInLink>
  <DefaultTwitterLink>sample string 11</DefaultTwitterLink>
  <DefaultWebsiteLink>sample string 13</DefaultWebsiteLink>
  <DefaultYoutubeLink>sample string 10</DefaultYoutubeLink>
  <DisableDefaultAgentLogo>true</DisableDefaultAgentLogo>
  <EmailBodyID>3</EmailBodyID>
  <EmailBodyType>sample string 4</EmailBodyType>
  <LayoutID>2</LayoutID>
  <LeadType>Rental</LeadType>
  <SettingsID>7</SettingsID>
  <TemplateBody>sample string 6</TemplateBody>
  <TemplateName>sample string 5</TemplateName>
</EmailTemplateSaveDTO>

multipart/form-data

Sample:
<EmailTemplateSaveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Controllers"><AgentID>90f890d8-cd16-49cc-ad71-fb3ce7d11d0b</AgentID><DefaultFacebookLink>sample string 9</DefaultFacebookLink><DefaultInstagramLink>sample string 12</DefaultInstagramLink><DefaultLinkedInLink>sample string 14</DefaultLinkedInLink><DefaultTwitterLink>sample string 11</DefaultTwitterLink><DefaultWebsiteLink>sample string 13</DefaultWebsiteLink><DefaultYoutubeLink>sample string 10</DefaultYoutubeLink><DisableDefaultAgentLogo>true</DisableDefaultAgentLogo><EmailBodyID>3</EmailBodyID><EmailBodyType>sample string 4</EmailBodyType><LayoutID>2</LayoutID><LeadType>Rental</LeadType><SettingsID>7</SettingsID><TemplateBody>sample string 6</TemplateBody><TemplateName>sample string 5</TemplateName></EmailTemplateSaveDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.