All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
communicationSendV1 | POST /1/object/communication/send | Send a new Communication |
CommunicationSendV1Response communicationSendV1(communicationSendV1Request)
Send a new Communication
The endpoint allows to send one or many elements at once.
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectCommunicationApi()
val communicationSendV1Request : CommunicationSendV1Request = // CommunicationSendV1Request |
try {
val result : CommunicationSendV1Response = apiInstance.communicationSendV1(communicationSendV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectCommunicationApi#communicationSendV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectCommunicationApi#communicationSendV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
communicationSendV1Request | CommunicationSendV1Request |
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json