POST api/email-template-config/save

Request Information

URI Parameters

None.

Body Parameters

EmailTemplateConfigRequest
NameDescriptionTypeAdditional information
Template

string

None.

PrimaryColor

string

None.

TicketFormat

string

None.

AttachmentMode

string

None.

ShowHeader

boolean

None.

ShowFooter

boolean

None.

ShowPrice

boolean

None.

ShowSeatClass

boolean

None.

ShowBookingCode

boolean

None.

ShowDob

boolean

None.

ShowGender

boolean

None.

CustomHeader

string

None.

HeaderImageUrl

string

None.

CustomRemark

string

None.

CustomFooter

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Template": "sample string 1",
  "PrimaryColor": "sample string 2",
  "TicketFormat": "sample string 3",
  "AttachmentMode": "sample string 4",
  "ShowHeader": true,
  "ShowFooter": true,
  "ShowPrice": true,
  "ShowSeatClass": true,
  "ShowBookingCode": true,
  "ShowDob": true,
  "ShowGender": true,
  "CustomHeader": "sample string 12",
  "HeaderImageUrl": "sample string 13",
  "CustomRemark": "sample string 14",
  "CustomFooter": "sample string 15"
}

application/xml, text/xml

Sample:
<EmailTemplateConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmiletripB2B.API.Models">
  <AttachmentMode>sample string 4</AttachmentMode>
  <CustomFooter>sample string 15</CustomFooter>
  <CustomHeader>sample string 12</CustomHeader>
  <CustomRemark>sample string 14</CustomRemark>
  <HeaderImageUrl>sample string 13</HeaderImageUrl>
  <PrimaryColor>sample string 2</PrimaryColor>
  <ShowBookingCode>true</ShowBookingCode>
  <ShowDob>true</ShowDob>
  <ShowFooter>true</ShowFooter>
  <ShowGender>true</ShowGender>
  <ShowHeader>true</ShowHeader>
  <ShowPrice>true</ShowPrice>
  <ShowSeatClass>true</ShowSeatClass>
  <Template>sample string 1</Template>
  <TicketFormat>sample string 3</TicketFormat>
</EmailTemplateConfigRequest>

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

Sample:

Sample not available.