POST v1/emaileditor/savebodytemplate
Request Information
URI Parameters
None.
Body Parameters
EmailTemplateSaveDTOName | Description | Type | Additional 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": "e87a0ea1-e3f8-4444-acc6-91a089a28531", "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>e87a0ea1-e3f8-4444-acc6-91a089a28531</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>e87a0ea1-e3f8-4444-acc6-91a089a28531</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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, multipart/form-data
Sample:
Sample not available.