POST api/Document/ConvertToPdfAndSaveOutput
Converts a document to pdf and saves it to a list
Request Information
URI Parameters
None.
Body Parameters
Input parameter
WorkPoint365.WebAPI.Model.Document+ConvertToPdfAndSaveOutputParameterName | Description | Type | Additional information |
---|---|---|---|
DocumentSiteUrl |
The absolute url of the site where the document is saved |
string |
None. |
DocumentUrl |
The absolute url of the document to be converted to pdf |
string |
None. |
OutputSiteUrl |
The absolute url of the site where the output document should be saved |
string |
None. |
OutputUrl |
The url of the location where the converted pdf should be saved |
string |
None. |
OutputExistsBehaviour |
The override behaviour |
WorkPoint365.WebAPI.Model.Document+OutputExistsBehaviour |
None. |
PdfFormat |
The PDF conversion format. If not specified the default PDF format will be used |
WorkPoint365.WebAPI.Model.Document+PdfFormat |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocumentSiteUrl": "sample string 1", "DocumentUrl": "sample string 2", "OutputSiteUrl": "sample string 3", "OutputUrl": "sample string 4", "OutputExistsBehaviour": 10, "PdfFormat": 0 }
application/xml, text/xml
Sample:
<Document.ConvertToPdfAndSaveOutputParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model"> <DocumentSiteUrl>sample string 1</DocumentSiteUrl> <DocumentUrl>sample string 2</DocumentUrl> <OutputExistsBehaviour>Cancel</OutputExistsBehaviour> <OutputSiteUrl>sample string 3</OutputSiteUrl> <OutputUrl>sample string 4</OutputUrl> <PdfFormat>PDF_A_1A</PdfFormat> </Document.ConvertToPdfAndSaveOutputParameter>
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.