POST api/SendInBlueEmail/CreateEmailTemplate

Request Information

URI Parameters

None.

Body Parameters

CreateEmailTemplate
NameDescriptionTypeAdditional information
tag

string

None.

sender

EmailTemplateSender

None.

templateName

string

None.

htmlContent

string

None.

subject

string

None.

replyTo

string

None.

toField

string

None.

attachmentUrl

string

None.

isActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "tag": "sample string 1",
  "sender": {
    "name": "sample string 1",
    "email": "sample string 2"
  },
  "templateName": "sample string 2",
  "htmlContent": "sample string 3",
  "subject": "sample string 4",
  "replyTo": "sample string 5",
  "toField": "sample string 6",
  "attachmentUrl": "sample string 7",
  "isActive": true
}

application/xml, text/xml

Sample:
<CreateEmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <attachmentUrl>sample string 7</attachmentUrl>
  <htmlContent>sample string 3</htmlContent>
  <isActive>true</isActive>
  <replyTo>sample string 5</replyTo>
  <sender>
    <email>sample string 2</email>
    <name>sample string 1</name>
  </sender>
  <subject>sample string 4</subject>
  <tag>sample string 1</tag>
  <templateName>sample string 2</templateName>
  <toField>sample string 6</toField>
</CreateEmailTemplate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2020/08/01 06:08:58",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>