All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
addGoogleDocumentExport | POST /integrations/google/drive/documents/{documentId}/export | Add Google Document Export |
AddGoogleDocumentExportResponse addGoogleDocumentExport(documentId, addGoogleDocumentExportRequest, siteId)
Add Google Document Export
Exports a Google Document; ONLY available with FormKiQ Enterprise
// Import classes:
import com.formkiq.client.invoker.ApiClient;
import com.formkiq.client.invoker.ApiException;
import com.formkiq.client.invoker.Configuration;
import com.formkiq.client.invoker.auth.*;
import com.formkiq.client.invoker.models.*;
import com.formkiq.client.api.GoogleIntegrationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
GoogleIntegrationApi apiInstance = new GoogleIntegrationApi(defaultClient);
String documentId = "documentId_example"; // String | Document Identifier
AddGoogleDocumentExportRequest addGoogleDocumentExportRequest = new AddGoogleDocumentExportRequest(); // AddGoogleDocumentExportRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
AddGoogleDocumentExportResponse result = apiInstance.addGoogleDocumentExport(documentId, addGoogleDocumentExportRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GoogleIntegrationApi#addGoogleDocumentExport");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
documentId | String | Document Identifier | |
addGoogleDocumentExportRequest | AddGoogleDocumentExportRequest | ||
siteId | String | Site Identifier | [optional] |
AddGoogleDocumentExportResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | 201 CREATED | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
400 | 400 OK | - |