Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.7 KB

ObjectCommunicationApi.md

File metadata and controls

59 lines (41 loc) · 1.7 KB

ObjectCommunicationApi

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

communicationSendV1

CommunicationSendV1Response communicationSendV1(communicationSendV1Request)

Send a new Communication

The endpoint allows to send one or many elements at once.

Example

// 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()
}

Parameters

Name Type Description Notes
communicationSendV1Request CommunicationSendV1Request

Return type

CommunicationSendV1Response

Authorization

Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

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