use EzmaxApi::Object::ObjectCommunicationApi;
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
communication_send_v1 | POST /1/object/communication/send | Send a new Communication |
CommunicationSendV1Response communication_send_v1(communication_send_v1_request => $communication_send_v1_request)
Send a new Communication
The endpoint allows to send one or many elements at once.
use Data::Dumper;
use EzmaxApi::ObjectCommunicationApi;
my $api_instance = EzmaxApi::ObjectCommunicationApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $communication_send_v1_request = EzmaxApi::Object::CommunicationSendV1Request->new(); # CommunicationSendV1Request |
eval {
my $result = $api_instance->communication_send_v1(communication_send_v1_request => $communication_send_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectCommunicationApi->communication_send_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
communication_send_v1_request | CommunicationSendV1Request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]