All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
addDocumentWorkflow | POST /documents/{documentId}/workflows | Add document workflow |
addDocumentWorkflowDecisions | POST /documents/{documentId}/workflow/{workflowId}/decisions | Approve/Reject document in approval queue |
addQueue | POST /queues | Add queue |
addWorkflow | POST /workflows | Add workflow |
deleteQueue | DELETE /queues/{queueId} | Delete queue |
deleteWorkflow | DELETE /workflows/{workflowId} | Delete workflow |
getDocumentWorkflow | GET /documents/{documentId}/workflows/{workflowId} | Get document workflow |
getDocumentWorkflows | GET /documents/{documentId}/workflows | Get document workflows |
getQueue | GET /queues/{queueId} | Get queue |
getQueues | GET /queues | Get queues |
getWorkflow | GET /workflows/{workflowId} | Get workflow |
getWorkflowDocuments | GET /workflows/{workflowId}/documents | Get list of documents in workflow |
getWorkflowQueueDocuments | GET /queues/{queueId}/documents | Get list of documents in queue |
getWorkflows | GET /workflows | Get workflows |
setWorkflow | PUT /workflows/{workflowId} | Set workflow |
updateWorkflow | PATCH /workflows/{workflowId} | Update workflow |
AddDocumentWorkflowResponse addDocumentWorkflow(documentId, addDocumentWorkflowRequest, siteId)
Add document workflow
Creates a document workflow; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String documentId = "documentId_example"; // String | Document Identifier
AddDocumentWorkflowRequest addDocumentWorkflowRequest = new AddDocumentWorkflowRequest(); // AddDocumentWorkflowRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
AddDocumentWorkflowResponse result = apiInstance.addDocumentWorkflow(documentId, addDocumentWorkflowRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#addDocumentWorkflow");
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 | |
addDocumentWorkflowRequest | AddDocumentWorkflowRequest | ||
siteId | String | Site Identifier | [optional] |
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 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
AddDocumentWorkflowDecisionsResponse addDocumentWorkflowDecisions(documentId, workflowId, addDocumentWorkflowDecisionsRequest, siteId)
Approve/Reject document in approval queue
Approve/Reject document in approval queue; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String documentId = "documentId_example"; // String | Document Identifier
String workflowId = "workflowId_example"; // String | Workflow Identifier
AddDocumentWorkflowDecisionsRequest addDocumentWorkflowDecisionsRequest = new AddDocumentWorkflowDecisionsRequest(); // AddDocumentWorkflowDecisionsRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
AddDocumentWorkflowDecisionsResponse result = apiInstance.addDocumentWorkflowDecisions(documentId, workflowId, addDocumentWorkflowDecisionsRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#addDocumentWorkflowDecisions");
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 | |
workflowId | String | Workflow Identifier | |
addDocumentWorkflowDecisionsRequest | AddDocumentWorkflowDecisionsRequest | ||
siteId | String | Site Identifier | [optional] |
AddDocumentWorkflowDecisionsResponse
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 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
AddQueueResponse addQueue(addQueueRequest, siteId)
Add queue
Creates a new Queue; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
AddQueueRequest addQueueRequest = new AddQueueRequest(); // AddQueueRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
AddQueueResponse result = apiInstance.addQueue(addQueueRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#addQueue");
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 |
---|---|---|---|
addQueueRequest | AddQueueRequest | ||
siteId | String | Site Identifier | [optional] |
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 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
AddWorkflowResponse addWorkflow(addWorkflowRequest, siteId)
Add workflow
Creates a new Workflow; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
AddWorkflowRequest addWorkflowRequest = new AddWorkflowRequest(); // AddWorkflowRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
AddWorkflowResponse result = apiInstance.addWorkflow(addWorkflowRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#addWorkflow");
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 |
---|---|---|---|
addWorkflowRequest | AddWorkflowRequest | ||
siteId | String | Site Identifier | [optional] |
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 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
DeleteQueueResponse deleteQueue(queueId, siteId)
Delete queue
Delete a Queue; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String queueId = "queueId_example"; // String | Queue Id
String siteId = "siteId_example"; // String | Site Identifier
try {
DeleteQueueResponse result = apiInstance.deleteQueue(queueId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#deleteQueue");
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 |
---|---|---|---|
queueId | String | Queue Id | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
DeleteWorkflowResponse deleteWorkflow(workflowId, siteId)
Delete workflow
Delete a Workflow; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String workflowId = "workflowId_example"; // String | Workflow Identifier
String siteId = "siteId_example"; // String | Site Identifier
try {
DeleteWorkflowResponse result = apiInstance.deleteWorkflow(workflowId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#deleteWorkflow");
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 |
---|---|---|---|
workflowId | String | Workflow Identifier | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetDocumentWorkflowResponse getDocumentWorkflow(documentId, workflowId, siteId)
Get document workflow
Gets a document workflow; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String documentId = "documentId_example"; // String | Document Identifier
String workflowId = "workflowId_example"; // String | Workflow Identifier
String siteId = "siteId_example"; // String | Site Identifier
try {
GetDocumentWorkflowResponse result = apiInstance.getDocumentWorkflow(documentId, workflowId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getDocumentWorkflow");
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 | |
workflowId | String | Workflow Identifier | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 CREATED | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
400 | 400 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetDocumentWorkflowsResponse getDocumentWorkflows(documentId, siteId)
Get document workflows
Gets a document workflows; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String documentId = "documentId_example"; // String | Document Identifier
String siteId = "siteId_example"; // String | Site Identifier
try {
GetDocumentWorkflowsResponse result = apiInstance.getDocumentWorkflows(documentId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getDocumentWorkflows");
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 | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 CREATED | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
400 | 400 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetQueueResponse getQueue(queueId, siteId)
Get queue
Get a queue; 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String queueId = "queueId_example"; // String | Queue Id
String siteId = "siteId_example"; // String | Site Identifier
try {
GetQueueResponse result = apiInstance.getQueue(queueId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getQueue");
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 |
---|---|---|---|
queueId | String | Queue Id | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetQueuesResponse getQueues(siteId, next, limit)
Get queues
Get a listing of queues; 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String siteId = "siteId_example"; // String | Site Identifier
String next = "next_example"; // String | Next page of results token
String limit = "10"; // String | Limit Results
try {
GetQueuesResponse result = apiInstance.getQueues(siteId, next, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getQueues");
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 |
---|---|---|---|
siteId | String | Site Identifier | [optional] |
next | String | Next page of results token | [optional] |
limit | String | Limit Results | [optional] [default to 10] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetWorkflowResponse getWorkflow(workflowId, siteId)
Get workflow
Get a workflow; 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String workflowId = "workflowId_example"; // String | Workflow Identifier
String siteId = "siteId_example"; // String | Site Identifier
try {
GetWorkflowResponse result = apiInstance.getWorkflow(workflowId, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getWorkflow");
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 |
---|---|---|---|
workflowId | String | Workflow Identifier | |
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetWorkflowDocumentsResponse getWorkflowDocuments(workflowId, siteId, limit, next)
Get list of documents in workflow
List documents in Workflow; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String workflowId = "workflowId_example"; // String | Workflow Identifier
String siteId = "siteId_example"; // String | Site Identifier
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetWorkflowDocumentsResponse result = apiInstance.getWorkflowDocuments(workflowId, siteId, limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getWorkflowDocuments");
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 |
---|---|---|---|
workflowId | String | Workflow Identifier | |
siteId | String | Site Identifier | [optional] |
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetWorkflowQueueDocumentsResponse getWorkflowQueueDocuments(queueId, siteId, limit, next)
Get list of documents in queue
List documents in Workflow Queue; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String queueId = "queueId_example"; // String | Queue Id
String siteId = "siteId_example"; // String | Site Identifier
String limit = "10"; // String | Limit Results
String next = "next_example"; // String | Next page of results token
try {
GetWorkflowQueueDocumentsResponse result = apiInstance.getWorkflowQueueDocuments(queueId, siteId, limit, next);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getWorkflowQueueDocuments");
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 |
---|---|---|---|
queueId | String | Queue Id | |
siteId | String | Site Identifier | [optional] |
limit | String | Limit Results | [optional] [default to 10] |
next | String | Next page of results token | [optional] |
GetWorkflowQueueDocumentsResponse
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
GetWorkflowsResponse getWorkflows(siteId, next, limit, status)
Get workflows
Get a listing of workflows; 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String siteId = "siteId_example"; // String | Site Identifier
String next = "next_example"; // String | Next page of results token
String limit = "10"; // String | Limit Results
String status = "ACTIVE"; // String | Filters Status
try {
GetWorkflowsResponse result = apiInstance.getWorkflows(siteId, next, limit, status);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#getWorkflows");
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 |
---|---|---|---|
siteId | String | Site Identifier | [optional] |
next | String | Next page of results token | [optional] |
limit | String | Limit Results | [optional] [default to 10] |
status | String | Filters Status | [optional] [enum: ACTIVE, INACTIVE] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
SetWorkflowResponse setWorkflow(workflowId, setWorkflowRequest, siteId)
Set workflow
Set a Workflow details; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String workflowId = "workflowId_example"; // String | Workflow Identifier
SetWorkflowRequest setWorkflowRequest = new SetWorkflowRequest(); // SetWorkflowRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
SetWorkflowResponse result = apiInstance.setWorkflow(workflowId, setWorkflowRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#setWorkflow");
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 |
---|---|---|---|
workflowId | String | Workflow Identifier | |
setWorkflowRequest | SetWorkflowRequest | ||
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 20) OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
400 | 400 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
UpdateWorkflowResponse updateWorkflow(workflowId, updateWorkflowRequest, siteId)
Update workflow
Update a Workflow details; ONLY available with FormKiQ Pro and 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.DocumentWorkflowsApi;
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")
DocumentWorkflowsApi apiInstance = new DocumentWorkflowsApi(defaultClient);
String workflowId = "workflowId_example"; // String | Workflow Identifier
UpdateWorkflowRequest updateWorkflowRequest = new UpdateWorkflowRequest(); // UpdateWorkflowRequest |
String siteId = "siteId_example"; // String | Site Identifier
try {
UpdateWorkflowResponse result = apiInstance.updateWorkflow(workflowId, updateWorkflowRequest, siteId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DocumentWorkflowsApi#updateWorkflow");
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 |
---|---|---|---|
workflowId | String | Workflow Identifier | |
updateWorkflowRequest | UpdateWorkflowRequest | ||
siteId | String | Site Identifier | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | 20) OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
400 | 400 BAD REQUEST | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |