Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 2.39 KB

ObjectOtherincomeApi.md

File metadata and controls

79 lines (54 loc) · 2.39 KB

EzmaxApi::ObjectOtherincomeApi

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

otherincome_get_communication_list_v1(pki_otherincome_id)

Retrieve Communication list

Examples

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

Using the otherincome_get_communication_list_v1_with_http_info variant

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

Parameters

Name Type Description Notes
pki_otherincome_id Integer

Return type

OtherincomeGetCommunicationListV1Response

Authorization

Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json