REST API Documentation
An API call is made by sending an HTTP request with parameters passed as POST data to the
Pdf2PowerPoint
service API URI:
http://do.convertapi.com/Pdf2PowerPoint
Converted file is returned as HTTP response stream, additional data are available
in HTTP response header. If API call is succeeded HTTP response status code will be 200 OK, if fail then 400 Bad Request.
http://do.convertapi.com/Pdf2PowerPoint/json
Converted file and additional data are returned as JSon object. A file is encoded
using Base64 encoding.
Below are properties supported by conversion api. The properties marked with "›"
are write properties, they accepts values. The properties which has "‹" marker
are read properties, they returns values.
Properties
| Name | Type | Summary |
| 9 |
|
›
OutputFormat
= pptx
|
string (collention)
pptx - powerpoint presentation
| The Api produce PowerPoint presentation files. |
| Authentication |
|
›
ApiKey
|
integer
| API Key should be passed if you purchased membership with credits. Please login to your control panel to find out your API Key http://www.convertapi.com/control-panel |
| Conversion Parameters |
|
›
Timeout
= 300
|
integer
| Conversion timeout in seconds. The minimum value is 5 seconds and maximum is 600 seconds (10 minutes) |
|
›
InputFormat
|
string (collention)
pdf - portable document formatpdfa - portable document format specialized for the digital preservation of electronic documents.
| The Api accept Pdf files. |
| Credits Information |
|
‹
CreditsLeft
|
integer
| Return number of remaining credits. Only available when ApiKey is provided. |
|
‹
CreditsCost
= 5
|
integer
| The cost of credits for one conversion. |
| Output Result |
|
‹
Result
|
boolean
| Conversion result. Return True if conversion successful, otherwise False. |
|
‹
Error
|
string
| Contain information about conversion failure. Only available when Result = False. |
|
‹
FileSize
|
integer
| Converted file size in bytes. |
|
›
StoreFile
= false
|
boolean
| Store file on server and return url to file instead of file stream response. File will be available for 24 hours. |
|
‹
FileUrl
|
string
| Converted file url to download from a server. Only available when StoreFile = True. |
|
‹
File
|
bytes
| If JSon object is used as output then a file will be encoded using Base64 encoding. |
|
›
OutputFileName
|
string
| Converted output file name. If parameter is not set the filename will be generated automatically. |