All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
| Method | HTTP request | Description |
|---|---|---|
| tranqcontract_get_communication_count_v1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount | Retrieve Communication count |
| tranqcontract_get_communication_list_v1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList | Retrieve Communication list |
| tranqcontract_get_communicationrecipients_v1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients | Retrieve Tranqcontract's Communicationrecipient |
| tranqcontract_get_communicationsenders_v1 | GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationsenders | Retrieve Tranqcontract's Communicationsender |
| tranqcontract_import_into_edmv1 | POST /1/object/tranqcontract/{pkiTranqcontractID}/importIntoEDM | Import attachments into the Tranqcontract |
tranqcontract_get_communication_count_v1(pki_tranqcontract_id)
Retrieve Communication count
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectTranqcontractApi.new
pki_tranqcontract_id = 56 # Integer |
begin
# Retrieve Communication count
result = api_instance.tranqcontract_get_communication_count_v1(pki_tranqcontract_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communication_count_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> tranqcontract_get_communication_count_v1_with_http_info(pki_tranqcontract_id)
begin
# Retrieve Communication count
data, status_code, headers = api_instance.tranqcontract_get_communication_count_v1_with_http_info(pki_tranqcontract_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <TranqcontractGetCommunicationCountV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communication_count_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_tranqcontract_id | Integer |
TranqcontractGetCommunicationCountV1Response
- Content-Type: Not defined
- Accept: application/json
tranqcontract_get_communication_list_v1(pki_tranqcontract_id)
Retrieve Communication list
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectTranqcontractApi.new
pki_tranqcontract_id = 56 # Integer |
begin
# Retrieve Communication list
result = api_instance.tranqcontract_get_communication_list_v1(pki_tranqcontract_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communication_list_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> tranqcontract_get_communication_list_v1_with_http_info(pki_tranqcontract_id)
begin
# Retrieve Communication list
data, status_code, headers = api_instance.tranqcontract_get_communication_list_v1_with_http_info(pki_tranqcontract_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <TranqcontractGetCommunicationListV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communication_list_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_tranqcontract_id | Integer |
TranqcontractGetCommunicationListV1Response
- Content-Type: Not defined
- Accept: application/json
tranqcontract_get_communicationrecipients_v1(pki_tranqcontract_id)
Retrieve Tranqcontract's Communicationrecipient
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectTranqcontractApi.new
pki_tranqcontract_id = 56 # Integer |
begin
# Retrieve Tranqcontract's Communicationrecipient
result = api_instance.tranqcontract_get_communicationrecipients_v1(pki_tranqcontract_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communicationrecipients_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> tranqcontract_get_communicationrecipients_v1_with_http_info(pki_tranqcontract_id)
begin
# Retrieve Tranqcontract's Communicationrecipient
data, status_code, headers = api_instance.tranqcontract_get_communicationrecipients_v1_with_http_info(pki_tranqcontract_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <TranqcontractGetCommunicationrecipientsV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communicationrecipients_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_tranqcontract_id | Integer |
TranqcontractGetCommunicationrecipientsV1Response
- Content-Type: Not defined
- Accept: application/json
tranqcontract_get_communicationsenders_v1(pki_tranqcontract_id)
Retrieve Tranqcontract's Communicationsender
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectTranqcontractApi.new
pki_tranqcontract_id = 56 # Integer |
begin
# Retrieve Tranqcontract's Communicationsender
result = api_instance.tranqcontract_get_communicationsenders_v1(pki_tranqcontract_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communicationsenders_v1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> tranqcontract_get_communicationsenders_v1_with_http_info(pki_tranqcontract_id)
begin
# Retrieve Tranqcontract's Communicationsender
data, status_code, headers = api_instance.tranqcontract_get_communicationsenders_v1_with_http_info(pki_tranqcontract_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <TranqcontractGetCommunicationsendersV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_get_communicationsenders_v1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_tranqcontract_id | Integer |
TranqcontractGetCommunicationsendersV1Response
- Content-Type: Not defined
- Accept: application/json
tranqcontract_import_into_edmv1(pki_tranqcontract_id, tranqcontract_import_into_edmv1_request)
Import attachments into the Tranqcontract
require 'time'
require 'Ezmaxapi'
# setup authorization
EzmaxApi.configure do |config|
# Configure API key authorization: Authorization
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
# config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = EzmaxApi::ObjectTranqcontractApi.new
pki_tranqcontract_id = 56 # Integer |
tranqcontract_import_into_edmv1_request = EzmaxApi::TranqcontractImportIntoEDMV1Request.new({a_obj_attachment: [EzmaxApi::CustomAttachmentImportIntoEDMRequest.new({e_attachment_source: 'Attachment', s_attachment_name: 'Document.pdf', s_attachment_category: 'Inscription', e_attachment_privacy: EzmaxApi::FieldEAttachmentPrivacy::ALL})]}) # TranqcontractImportIntoEDMV1Request |
begin
# Import attachments into the Tranqcontract
result = api_instance.tranqcontract_import_into_edmv1(pki_tranqcontract_id, tranqcontract_import_into_edmv1_request)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_import_into_edmv1: #{e}"
endThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> tranqcontract_import_into_edmv1_with_http_info(pki_tranqcontract_id, tranqcontract_import_into_edmv1_request)
begin
# Import attachments into the Tranqcontract
data, status_code, headers = api_instance.tranqcontract_import_into_edmv1_with_http_info(pki_tranqcontract_id, tranqcontract_import_into_edmv1_request)
p status_code # => 2xx
p headers # => { ... }
p data # => <TranqcontractImportIntoEDMV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectTranqcontractApi->tranqcontract_import_into_edmv1_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| pki_tranqcontract_id | Integer | ||
| tranqcontract_import_into_edmv1_request | TranqcontractImportIntoEDMV1Request |
TranqcontractImportIntoEDMV1Response
- Content-Type: application/json
- Accept: application/json