Web API Core | ComponentOne
Services / PDF Services / Supported Formats
In This Topic
    Supported Formats
    In This Topic

    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.

    Supported Formats Service Request Schema

    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 Parameters

    Supported 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.

    For more information on PDF Services, see WebApiExplorer demo.