All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
discussionmessageCreateObjectV1 | POST /1/object/discussionmessage | Create a new Discussionmessage |
discussionmessageDeleteObjectV1 | DELETE /1/object/discussionmessage/{pkiDiscussionmessageID} | Delete an existing Discussionmessage |
discussionmessagePatchObjectV1 | PATCH /1/object/discussionmessage/{pkiDiscussionmessageID} | Patch an existing Discussionmessage |
DiscussionmessageCreateObjectV1Response discussionmessageCreateObjectV1(discussionmessageCreateObjectV1Request)
Create a new Discussionmessage
The endpoint allows to create one or many elements at once.
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectDiscussionmessageApi()
val discussionmessageCreateObjectV1Request : DiscussionmessageCreateObjectV1Request = // DiscussionmessageCreateObjectV1Request |
try {
val result : DiscussionmessageCreateObjectV1Response = apiInstance.discussionmessageCreateObjectV1(discussionmessageCreateObjectV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectDiscussionmessageApi#discussionmessageCreateObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectDiscussionmessageApi#discussionmessageCreateObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
discussionmessageCreateObjectV1Request | DiscussionmessageCreateObjectV1Request |
DiscussionmessageCreateObjectV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
DiscussionmessageDeleteObjectV1Response discussionmessageDeleteObjectV1(pkiDiscussionmessageID)
Delete an existing Discussionmessage
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectDiscussionmessageApi()
val pkiDiscussionmessageID : kotlin.Int = 56 // kotlin.Int | The unique ID of the Discussionmessage
try {
val result : DiscussionmessageDeleteObjectV1Response = apiInstance.discussionmessageDeleteObjectV1(pkiDiscussionmessageID)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectDiscussionmessageApi#discussionmessageDeleteObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectDiscussionmessageApi#discussionmessageDeleteObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionmessageID | kotlin.Int | The unique ID of the Discussionmessage |
DiscussionmessageDeleteObjectV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
DiscussionmessagePatchObjectV1Response discussionmessagePatchObjectV1(pkiDiscussionmessageID, discussionmessagePatchObjectV1Request)
Patch an existing Discussionmessage
// Import classes:
//import eZmaxApi.infrastructure.*
//import eZmaxApi.models.*
val apiInstance = ObjectDiscussionmessageApi()
val pkiDiscussionmessageID : kotlin.Int = 56 // kotlin.Int | The unique ID of the Discussionmessage
val discussionmessagePatchObjectV1Request : DiscussionmessagePatchObjectV1Request = // DiscussionmessagePatchObjectV1Request |
try {
val result : DiscussionmessagePatchObjectV1Response = apiInstance.discussionmessagePatchObjectV1(pkiDiscussionmessageID, discussionmessagePatchObjectV1Request)
println(result)
} catch (e: ClientException) {
println("4xx response calling ObjectDiscussionmessageApi#discussionmessagePatchObjectV1")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling ObjectDiscussionmessageApi#discussionmessagePatchObjectV1")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionmessageID | kotlin.Int | The unique ID of the Discussionmessage | |
discussionmessagePatchObjectV1Request | DiscussionmessagePatchObjectV1Request |
DiscussionmessagePatchObjectV1Response
Configure Authorization: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json