POST api/questionnaire/createPdfQuestionnaire

Request Information

URI Parameters

None.

Body Parameters

htmlPageQuestionnaire
NameDescriptionTypeAdditional information
questCode

integer

None.

html

string

None.

css

string

None.

footerText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "questCode": 1,
  "html": "sample string 2",
  "css": "sample string 3",
  "footerText": "sample string 4"
}

application/xml, text/xml

Sample:
<htmlPageQuestionnaire xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLMedical.Visits">
  <css>sample string 3</css>
  <footerText>sample string 4</footerText>
  <html>sample string 2</html>
  <questCode>1</questCode>
</htmlPageQuestionnaire>

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

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.