POST api/Signature/GeneratePdfFromHtml

Request Information

URI Parameters

None.

Body Parameters

GeneratePdfFromHtmlRequest
NameDescriptionTypeAdditional information
Html

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Html": "sample string 1"
}

application/xml, text/xml

Sample:
<GeneratePdfFromHtmlRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.MobileModel">
  <Html>sample string 1</Html>
</GeneratePdfFromHtmlRequest>

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

Response Information

Resource Description

GeneratePdfFromHtmlResponse
NameDescriptionTypeAdditional information
PdfFile

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "PdfFile": "QEA="
}

application/xml, text/xml

Sample:
<GeneratePdfFromHtmlResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.MobileModel">
  <PdfFile>QEA=</PdfFile>
</GeneratePdfFromHtmlResponse>