PdfFillerClient/API/Document.cs
/// <summary>
/// Uploads a new document to your PDFfiller account by file URL or file base64 string.
/// </summary>
/// <param name="newFile">DocumentCreateRequest object filled with file URL or file base64 string.</param>
/// <returns>Returns uploaded document info object.</returns>
/// <exception cref="PdfFillerApiException">If api request went bad.</exception>
/// <exception cref="PdfFillerAppException">If client app crashed.</exception>
Uploads a new document to your PDFfiller account by file URL or file base64 string.
Uploads a new document to your PDFfiller account by file URL or file base64 string .
public DocumentCreateResponse CreateDocument(DocumentCreateRequest newFile)
        {
            var response = _apiClient.Call(ApiPath, "POST", newFile);
            var fileInfo = _apiClient.GetResponseBody<DocumentCreateResponse>(response);
            return fileInfo;
        }
public DocumentCreateResponse CreateDocument ( DocumentCreateRequest newFile ) { var response = _apiClient . Call ( ApiPath , " " , newFile ) ; var fileInfo = _apiClient . GetResponseBody < DocumentCreateResponse > ( response ) ; return fileInfo ; }
Uploads a new document to your PDFfiller account by file URL or file base64 string.
Uploads a new document to your PDFfiller account by file URL or file base64 string .
Returns uploaded document info object.
Returns uploaded document info object .
If api request went bad.
If api request went bad .
If client app crashed.
If client app crashed .
newFile
DocumentCreateRequest
DocumentCreateRequest object filled with file URL or file base64 string.
DocumentCreateRequest object filled with file URL or file base64 string .