POST api/Answer/createPdfAnswer

Request Information

URI Parameters

None.

Body Parameters

htmlPageAnswer
NameDescriptionTypeAdditional information
answer_code

integer

None.

content

string

None.

css

string

None.

Request Formats

application/json, text/json

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

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>
</AnswersController.htmlPageAnswer>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.