POST api/customDocuments/CreatePdfCustomDocument

Request Information

URI Parameters

None.

Body Parameters

htmlPageCustDoc
NameDescriptionTypeAdditional information
documentCode

integer

None.

html

string

None.

css

string

None.

footerText

string

None.

email

string

None.

mode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "documentCode": 1,
  "html": "sample string 2",
  "css": "sample string 3",
  "footerText": "sample string 4",
  "email": "sample string 5",
  "mode": "sample string 6"
}

application/xml, text/xml

Sample:
<htmlPageCustDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.CustomDocuments">
  <css>sample string 3</css>
  <documentCode>1</documentCode>
  <email>sample string 5</email>
  <footerText>sample string 4</footerText>
  <html>sample string 2</html>
  <mode>sample string 6</mode>
</htmlPageCustDoc>

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

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.