All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
otherincome_get_communication_list_v1 | GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList | Retrieve Communication list |
otherincome_get_communication_list_v1(pki_otherincome_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::ObjectOtherincomeApi.new
pki_otherincome_id = 56 # Integer |
begin
# Retrieve Communication list
result = api_instance.otherincome_get_communication_list_v1(pki_otherincome_id)
p result
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectOtherincomeApi->otherincome_get_communication_list_v1: #{e}"
end
This returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> otherincome_get_communication_list_v1_with_http_info(pki_otherincome_id)
begin
# Retrieve Communication list
data, status_code, headers = api_instance.otherincome_get_communication_list_v1_with_http_info(pki_otherincome_id)
p status_code # => 2xx
p headers # => { ... }
p data # => <OtherincomeGetCommunicationListV1Response>
rescue EzmaxApi::ApiError => e
puts "Error when calling ObjectOtherincomeApi->otherincome_get_communication_list_v1_with_http_info: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
pki_otherincome_id | Integer |
OtherincomeGetCommunicationListV1Response
- Content-Type: Not defined
- Accept: application/json