Skip to content

Latest commit

 

History

History
159 lines (107 loc) · 5.93 KB

ObjectDiscussionmessageApi.md

File metadata and controls

159 lines (107 loc) · 5.93 KB

openapi.api.ObjectDiscussionmessageApi

Load the API package

import 'package:openapi/api.dart';

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

discussionmessageCreateObjectV1

DiscussionmessageCreateObjectV1Response discussionmessageCreateObjectV1(discussionmessageCreateObjectV1Request)

Create a new Discussionmessage

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

Example

import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';

final api_instance = ObjectDiscussionmessageApi();
final discussionmessageCreateObjectV1Request = DiscussionmessageCreateObjectV1Request(); // DiscussionmessageCreateObjectV1Request | 

try {
    final result = api_instance.discussionmessageCreateObjectV1(discussionmessageCreateObjectV1Request);
    print(result);
} catch (e) {
    print('Exception when calling ObjectDiscussionmessageApi->discussionmessageCreateObjectV1: $e\n');
}

Parameters

Name Type Description Notes
discussionmessageCreateObjectV1Request DiscussionmessageCreateObjectV1Request

Return type

DiscussionmessageCreateObjectV1Response

Authorization

Authorization

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

discussionmessageDeleteObjectV1

DiscussionmessageDeleteObjectV1Response discussionmessageDeleteObjectV1(pkiDiscussionmessageID)

Delete an existing Discussionmessage

Example

import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';

final api_instance = ObjectDiscussionmessageApi();
final pkiDiscussionmessageID = 56; // int | The unique ID of the Discussionmessage

try {
    final result = api_instance.discussionmessageDeleteObjectV1(pkiDiscussionmessageID);
    print(result);
} catch (e) {
    print('Exception when calling ObjectDiscussionmessageApi->discussionmessageDeleteObjectV1: $e\n');
}

Parameters

Name Type Description Notes
pkiDiscussionmessageID int The unique ID of the Discussionmessage

Return type

DiscussionmessageDeleteObjectV1Response

Authorization

Authorization

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

discussionmessagePatchObjectV1

DiscussionmessagePatchObjectV1Response discussionmessagePatchObjectV1(pkiDiscussionmessageID, discussionmessagePatchObjectV1Request)

Patch an existing Discussionmessage

Example

import 'package:openapi/api.dart';
// TODO Configure API key authorization: Authorization
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKey = 'YOUR_API_KEY';
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//defaultApiClient.getAuthentication<ApiKeyAuth>('Authorization').apiKeyPrefix = 'Bearer';

final api_instance = ObjectDiscussionmessageApi();
final pkiDiscussionmessageID = 56; // int | The unique ID of the Discussionmessage
final discussionmessagePatchObjectV1Request = DiscussionmessagePatchObjectV1Request(); // DiscussionmessagePatchObjectV1Request | 

try {
    final result = api_instance.discussionmessagePatchObjectV1(pkiDiscussionmessageID, discussionmessagePatchObjectV1Request);
    print(result);
} catch (e) {
    print('Exception when calling ObjectDiscussionmessageApi->discussionmessagePatchObjectV1: $e\n');
}

Parameters

Name Type Description Notes
pkiDiscussionmessageID int The unique ID of the Discussionmessage
discussionmessagePatchObjectV1Request DiscussionmessagePatchObjectV1Request

Return type

DiscussionmessagePatchObjectV1Response

Authorization

Authorization

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]