All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
discussionCreateObjectV1 | POST /1/object/discussion | Create a new Discussion |
discussionDeleteObjectV1 | DELETE /1/object/discussion/{pkiDiscussionID} | Delete an existing Discussion |
discussionGetObjectV2 | GET /2/object/discussion/{pkiDiscussionID} | Retrieve an existing Discussion |
discussionPatchObjectV1 | PATCH /1/object/discussion/{pkiDiscussionID} | Patch an existing Discussion |
discussionUpdateDiscussionreadstatusV1 | POST /1/object/discussion/{pkiDiscussionID}/updateDiscussionreadstatus | Update the read status of the discussion |
DiscussionCreateObjectV1Response discussionCreateObjectV1(discussionCreateObjectV1Request)
Create a new Discussion
The endpoint allows to create one or many elements at once.
// Import classes:
//import org.openapitools.client.api.ObjectDiscussionApi;
ObjectDiscussionApi apiInstance = new ObjectDiscussionApi();
DiscussionCreateObjectV1Request discussionCreateObjectV1Request = new DiscussionCreateObjectV1Request(); // DiscussionCreateObjectV1Request |
try {
DiscussionCreateObjectV1Response result = apiInstance.discussionCreateObjectV1(discussionCreateObjectV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectDiscussionApi#discussionCreateObjectV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
discussionCreateObjectV1Request | DiscussionCreateObjectV1Request |
DiscussionCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
DiscussionDeleteObjectV1Response discussionDeleteObjectV1(pkiDiscussionID)
Delete an existing Discussion
// Import classes:
//import org.openapitools.client.api.ObjectDiscussionApi;
ObjectDiscussionApi apiInstance = new ObjectDiscussionApi();
Integer pkiDiscussionID = null; // Integer | The unique ID of the Discussion
try {
DiscussionDeleteObjectV1Response result = apiInstance.discussionDeleteObjectV1(pkiDiscussionID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectDiscussionApi#discussionDeleteObjectV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionID | Integer | The unique ID of the Discussion | [default to null] |
DiscussionDeleteObjectV1Response
- Content-Type: Not defined
- Accept: application/json
DiscussionGetObjectV2Response discussionGetObjectV2(pkiDiscussionID)
Retrieve an existing Discussion
// Import classes:
//import org.openapitools.client.api.ObjectDiscussionApi;
ObjectDiscussionApi apiInstance = new ObjectDiscussionApi();
Integer pkiDiscussionID = null; // Integer | The unique ID of the Discussion
try {
DiscussionGetObjectV2Response result = apiInstance.discussionGetObjectV2(pkiDiscussionID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectDiscussionApi#discussionGetObjectV2");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionID | Integer | The unique ID of the Discussion | [default to null] |
- Content-Type: Not defined
- Accept: application/json
DiscussionPatchObjectV1Response discussionPatchObjectV1(pkiDiscussionID, discussionPatchObjectV1Request)
Patch an existing Discussion
// Import classes:
//import org.openapitools.client.api.ObjectDiscussionApi;
ObjectDiscussionApi apiInstance = new ObjectDiscussionApi();
Integer pkiDiscussionID = null; // Integer | The unique ID of the Discussion
DiscussionPatchObjectV1Request discussionPatchObjectV1Request = new DiscussionPatchObjectV1Request(); // DiscussionPatchObjectV1Request |
try {
DiscussionPatchObjectV1Response result = apiInstance.discussionPatchObjectV1(pkiDiscussionID, discussionPatchObjectV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectDiscussionApi#discussionPatchObjectV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionID | Integer | The unique ID of the Discussion | [default to null] |
discussionPatchObjectV1Request | DiscussionPatchObjectV1Request |
DiscussionPatchObjectV1Response
- Content-Type: application/json
- Accept: application/json
DiscussionUpdateDiscussionreadstatusV1Response discussionUpdateDiscussionreadstatusV1(pkiDiscussionID, discussionUpdateDiscussionreadstatusV1Request)
Update the read status of the discussion
// Import classes:
//import org.openapitools.client.api.ObjectDiscussionApi;
ObjectDiscussionApi apiInstance = new ObjectDiscussionApi();
Integer pkiDiscussionID = null; // Integer |
DiscussionUpdateDiscussionreadstatusV1Request discussionUpdateDiscussionreadstatusV1Request = new DiscussionUpdateDiscussionreadstatusV1Request(); // DiscussionUpdateDiscussionreadstatusV1Request |
try {
DiscussionUpdateDiscussionreadstatusV1Response result = apiInstance.discussionUpdateDiscussionreadstatusV1(pkiDiscussionID, discussionUpdateDiscussionreadstatusV1Request);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ObjectDiscussionApi#discussionUpdateDiscussionreadstatusV1");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionID | Integer | [default to null] | |
discussionUpdateDiscussionreadstatusV1Request | DiscussionUpdateDiscussionreadstatusV1Request |
DiscussionUpdateDiscussionreadstatusV1Response
- Content-Type: application/json
- Accept: application/json