SupportedFormats API enables the end users to get the supported export formats for a PDF document. Your client application sends an HTTP request to the service application for using GetPdfSupportedFormats API to obtain the information about the supported export formats for a PDF document.
To get the supported export formats for a PDF document through client, you need to use GET method. PDF document file path is specified in the request URL, as:
GET: http://<host>[:port]/api/pdf/{pdfpath}/$pdf/supportedformats
Here, pdfpath refers to full path of the pdf file.
URL ParametersSupported formats service URL accepts pdf file path as parameter.
Response Messages
HTTP Status Code | Reason |
---|---|
200 | Json string contains a collection of IExportDescription. |
404 | The pdf path does not exist. |