POST api/v3/messaging

Request Information

URI Parameters

None.

Body Parameters

EmailRequestModel
NameDescriptionTypeAdditional information
TemplateName

string

None.

LayoutName

string

None.

CandidateEmail

string

None.

Data

string

None.

ProgramCode

string

None.

ExamCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateName": "sample string 1",
  "LayoutName": "sample string 2",
  "CandidateEmail": "sample string 3",
  "Data": "sample string 4",
  "ProgramCode": "sample string 5",
  "ExamCode": "sample string 6"
}

application/xml, text/xml

Sample:
<EmailRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Messaging.Api.Models">
  <CandidateEmail>sample string 3</CandidateEmail>
  <Data>sample string 4</Data>
  <ExamCode>sample string 6</ExamCode>
  <LayoutName>sample string 2</LayoutName>
  <ProgramCode>sample string 5</ProgramCode>
  <TemplateName>sample string 1</TemplateName>
</EmailRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmailRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.