POST api/Answer/SendAnswerOnEmail

Request Information

URI Parameters

None.

Body Parameters

pdfAnswer
NameDescriptionTypeAdditional information
emailTo

string

None.

emailFrom

string

None.

emailSubject

string

None.

pNumAnswer

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "emailTo": "sample string 1",
  "emailFrom": "sample string 2",
  "emailSubject": "sample string 3",
  "pNumAnswer": 4
}

application/xml, text/xml

Sample:
<Answers.pdfAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Answers">
  <emailFrom>sample string 2</emailFrom>
  <emailSubject>sample string 3</emailSubject>
  <emailTo>sample string 1</emailTo>
  <pNumAnswer>4</pNumAnswer>
</Answers.pdfAnswer>

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 'pdfAnswer'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.