RChilli DocumentConverter API converts any document resume into another type of document. Like pdf to doc or doc to pdf.
To convert doc file into pdf, you just need to give pdf in the output type parameter to get the resume in the pdf format.
The API response will return the converted document in the base 64 data.
The endpoints indicate how you access the resource, while the method indicates the allowed interactions (such as GET, POST, or DELETE) with the resource.
The RChilli Document Converter API endpoint returns the parsed data in the JSON format. The endpoint is mentioned below:
/documentConversion
The RChilli Document Converter API uses only the POST method.
Header | Data Type | Description |
---|---|---|
Content-Type | string | Indicates the input type of the incoming request body. The only supported value is application/json. |
The RChilli Document Converter API requires the following parameters in the JSON request format:
Name | Type | Description | Remarks |
---|---|---|---|
filedata | String | Required | Resume binary data in base64 |
filename | String | Required | Resume with name extension (e.g. resumeSample.docx). Supported extensions are doc/docx/dot/rtf/pdf/otd/dotx/docm/txt/htm/html |
configuration | Array | Optional | Configuration can be used for features |
outputtype | String | Optional | Supported extensions are doc/docx/rtf/pdf/html type. If outputtype is not given, pdf is selected by default. |
facedetection | String | Optional | true/false. facedetection default value is false. |
Error Code | Error Message |
---|---|
1004 | Filename with file extension is required |
1008 | Not Text Content |
1009 | Resume File Extension Not Supported |
1014 | Corrupted data/ No Content Found |
1015 | Unable to parse the content |
1020 | Unable to open PDF Parser |
1021 | File conversion error |
1035 | Invalid request. Please check api parameters. |
2202 | Output type extension not supported. It support only doc, docx, rtf, pdf and html type. |