GET api/Documents/{id}/CanConvertToPdf

Determines whether a document supports conversion to PDF.

Request

Parameters

Name Description Default
id Document number (unique ID).

Response

Body

Content Type: application/xml or application/json
Boolean result or an error message.

XML JSON
<Response>                     
  <Result>bool</Result>        <!--Whether the document supports conversion to PDF--> 
  <Message>string</Message>    <!--Error message--> 
</Response>                    
{                        
   "Result": "bool",     // Whether the document supports conversion to PDF
   "Message": "string"   // Error message
}                        
                         

Status Codes

Code Condition
200 OK The operation completed successfully.
400 Bad RequestInvalid document number.
401 Unauthorized Access token is invalid, expired or not specified.
403 ForbiddenUser does not have permission to view metadata for the document.
404 Not FoundDocument not found.
406 Not Acceptable Content type specified in the Accept header isn't supported.
500 Internal Server Error An internal error occurred.

Remarks

PDF conversion is dependant on the plug-ins installed on the server, however the following formats are usually supported: