POST api/TimeTableManagement/SendPdfOnEmail

Request Information

URI Parameters

None.

Body Parameters

htmlPageToMail
NameDescriptionTypeAdditional information
emailTo

Collection of string

None.

content

string

None.

css

string

None.

emailFrom

string

None.

emailSubject

string

None.

emailContent

string

None.

nameAttach

string

None.

footerText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "emailTo": [
    "sample string 1",
    "sample string 2"
  ],
  "content": "sample string 1",
  "css": "sample string 2",
  "emailFrom": "sample string 3",
  "emailSubject": "sample string 4",
  "emailContent": "sample string 5",
  "nameAttach": "sample string 6",
  "footerText": "sample string 7"
}

application/xml, text/xml

Sample:
<SystemManagement.htmlPageToMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.SystemManagement">
  <content>sample string 1</content>
  <css>sample string 2</css>
  <emailContent>sample string 5</emailContent>
  <emailFrom>sample string 3</emailFrom>
  <emailSubject>sample string 4</emailSubject>
  <emailTo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </emailTo>
  <footerText>sample string 7</footerText>
  <nameAttach>sample string 6</nameAttach>
</SystemManagement.htmlPageToMail>

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

application/bson

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

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