io.formapi.PdfApi Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of FormAPI Show documentation
Show all versions of FormAPI Show documentation
Java API client for the FormAPI PDF generation service
The newest version!
package io.formapi;
import io.formapi.CollectionFormats.*;
import retrofit2.Call;
import retrofit2.http.*;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import okhttp3.MultipartBody;
import io.formapi.AuthenticationError;
import io.formapi.AuthenticationSuccessResponse;
import io.formapi.CombinePdfsData;
import io.formapi.CombinedSubmission;
import io.formapi.CombinedSubmissionData;
import io.formapi.CreateCombinedSubmissionResponse;
import io.formapi.CreateCustomFileData;
import io.formapi.CreateCustomFileResponse;
import io.formapi.CreateFolderData;
import io.formapi.CreateSubmissionBatchResponse;
import io.formapi.CreateSubmissionDataRequestTokenResponse;
import io.formapi.CreateSubmissionResponse;
import io.formapi.CreateTemplateData;
import io.formapi.Error;
import java.io.File;
import io.formapi.Folder;
import io.formapi.InvalidRequest;
import io.formapi.MoveFolderData;
import io.formapi.MoveTemplateData;
import io.formapi.PendingTemplate;
import io.formapi.RenameFolderData;
import io.formapi.Submission;
import io.formapi.SubmissionBatch;
import io.formapi.SubmissionBatchData;
import io.formapi.SubmissionData;
import io.formapi.SubmissionDataRequest;
import io.formapi.Template;
import io.formapi.UpdateDataRequestResponse;
import io.formapi.UpdateSubmissionDataRequestData;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public interface PdfApi {
/**
* Generates multiple PDFs
*
* @param templateId (required)
* @param requestBody (required)
* @return Call<List<CreateSubmissionResponse>>
*/
@Headers({
"Content-Type:application/json"
})
@POST("templates/{template_id}/submissions/batch")
Call> batchGeneratePdfV1(
@retrofit2.http.Path("template_id") String templateId, @retrofit2.http.Body List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy