POST api/Answer/createPdfAnswer
Request Information
URI Parameters
None.
Body Parameters
htmlPageAnswer| Name | Description | Type | Additional 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:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
booleanResponse 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.