All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
| Method | HTTP request | Description |
|---|---|---|
| tranqcontractGetCommunicationCountV1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount | Retrieve Communication count |
| tranqcontractGetCommunicationListV1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList | Retrieve Communication list |
| tranqcontractGetCommunicationrecipientsV1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients | Retrieve Tranqcontract's Communicationrecipient |
| tranqcontractGetCommunicationsendersV1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders | Retrieve Tranqcontract's Communicationsender |
| tranqcontractImportIntoEDMV1 | POST /1/object/tranqcontract/{pkiTranqcontractID}/importIntoEDM | Import attachments into the Tranqcontract |
TranqcontractGetCommunicationCountV1Response tranqcontractGetCommunicationCountV1(pkiTranqcontractID)
Retrieve Communication count
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.auth.*;
import eZmaxAPI.models.*;
import com.ezmax.api.ObjectTranqcontractApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
ObjectTranqcontractApi apiInstance = new ObjectTranqcontractApi(defaultClient);
Integer pkiTranqcontractID = 56; // Integer |
try {
TranqcontractGetCommunicationCountV1Response result = apiInstance.tranqcontractGetCommunicationCountV1(pkiTranqcontractID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectTranqcontractApi#tranqcontractGetCommunicationCountV1");
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 |
|---|---|---|---|
| pkiTranqcontractID | Integer |
TranqcontractGetCommunicationCountV1Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful response | - |
| 404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
TranqcontractGetCommunicationListV1Response tranqcontractGetCommunicationListV1(pkiTranqcontractID)
Retrieve Communication list
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.auth.*;
import eZmaxAPI.models.*;
import com.ezmax.api.ObjectTranqcontractApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
ObjectTranqcontractApi apiInstance = new ObjectTranqcontractApi(defaultClient);
Integer pkiTranqcontractID = 56; // Integer |
try {
TranqcontractGetCommunicationListV1Response result = apiInstance.tranqcontractGetCommunicationListV1(pkiTranqcontractID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectTranqcontractApi#tranqcontractGetCommunicationListV1");
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 |
|---|---|---|---|
| pkiTranqcontractID | Integer |
TranqcontractGetCommunicationListV1Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful response | - |
| 404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
TranqcontractGetCommunicationrecipientsV1Response tranqcontractGetCommunicationrecipientsV1(pkiTranqcontractID)
Retrieve Tranqcontract's Communicationrecipient
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.auth.*;
import eZmaxAPI.models.*;
import com.ezmax.api.ObjectTranqcontractApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
ObjectTranqcontractApi apiInstance = new ObjectTranqcontractApi(defaultClient);
Integer pkiTranqcontractID = 56; // Integer |
try {
TranqcontractGetCommunicationrecipientsV1Response result = apiInstance.tranqcontractGetCommunicationrecipientsV1(pkiTranqcontractID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectTranqcontractApi#tranqcontractGetCommunicationrecipientsV1");
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 |
|---|---|---|---|
| pkiTranqcontractID | Integer |
TranqcontractGetCommunicationrecipientsV1Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful response | - |
| 404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
TranqcontractGetCommunicationsendersV1Response tranqcontractGetCommunicationsendersV1(pkiTranqcontractID)
Retrieve Tranqcontract's Communicationsender
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.auth.*;
import eZmaxAPI.models.*;
import com.ezmax.api.ObjectTranqcontractApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
ObjectTranqcontractApi apiInstance = new ObjectTranqcontractApi(defaultClient);
Integer pkiTranqcontractID = 56; // Integer |
try {
TranqcontractGetCommunicationsendersV1Response result = apiInstance.tranqcontractGetCommunicationsendersV1(pkiTranqcontractID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectTranqcontractApi#tranqcontractGetCommunicationsendersV1");
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 |
|---|---|---|---|
| pkiTranqcontractID | Integer |
TranqcontractGetCommunicationsendersV1Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful response | - |
| 404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |
TranqcontractImportIntoEDMV1Response tranqcontractImportIntoEDMV1(pkiTranqcontractID, tranqcontractImportIntoEDMV1Request)
Import attachments into the Tranqcontract
// Import classes:
import eZmaxAPI.ApiClient;
import eZmaxAPI.ApiException;
import eZmaxAPI.Configuration;
import eZmaxAPI.auth.*;
import eZmaxAPI.models.*;
import com.ezmax.api.ObjectTranqcontractApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://prod.api.appcluster01.ca-central-1.ezmax.com/rest");
// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");
ObjectTranqcontractApi apiInstance = new ObjectTranqcontractApi(defaultClient);
Integer pkiTranqcontractID = 56; // Integer |
TranqcontractImportIntoEDMV1Request tranqcontractImportIntoEDMV1Request = new TranqcontractImportIntoEDMV1Request(); // TranqcontractImportIntoEDMV1Request |
try {
TranqcontractImportIntoEDMV1Response result = apiInstance.tranqcontractImportIntoEDMV1(pkiTranqcontractID, tranqcontractImportIntoEDMV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectTranqcontractApi#tranqcontractImportIntoEDMV1");
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 |
|---|---|---|---|
| pkiTranqcontractID | Integer | ||
| tranqcontractImportIntoEDMV1Request | TranqcontractImportIntoEDMV1Request |
TranqcontractImportIntoEDMV1Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful response | - |
| 404 | The request failed. The element on which you were trying to work does not exists. Look for detail about the error in the body | - |