POST api/Answer/createPdfAnswer

Request Information

URI Parameters

None.

Body Parameters

htmlPageAnswer
NameDescriptionTypeAdditional information
answer_code

integer

None.

content

string

None.

css

string

None.

footerText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "answer_code": 1,
  "content": "sample string 2",
  "css": "sample string 3",
  "footerText": "sample string 4"
}

application/xml, text/xml

Sample:
<AnswersController.htmlPageAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMedical.Controllers">
  <answer_code>1</answer_code>
  <content>sample string 2</content>
  <css>sample string 3</css>
  <footerText>sample string 4</footerText>
</AnswersController.htmlPageAnswer>

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

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.