import 'package:openapi/api.dart';
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
discussionmembershipCreateObjectV1 | POST /1/object/discussionmembership | Create a new Discussionmembership |
discussionmembershipDeleteObjectV1 | DELETE /1/object/discussionmembership/{pkiDiscussionmembershipID} | Delete an existing Discussionmembership |
DiscussionmembershipCreateObjectV1Response discussionmembershipCreateObjectV1(discussionmembershipCreateObjectV1Request)
Create a new Discussionmembership
The endpoint allows to create one or many elements at once.
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 = ObjectDiscussionmembershipApi();
final discussionmembershipCreateObjectV1Request = DiscussionmembershipCreateObjectV1Request(); // DiscussionmembershipCreateObjectV1Request |
try {
final result = api_instance.discussionmembershipCreateObjectV1(discussionmembershipCreateObjectV1Request);
print(result);
} catch (e) {
print('Exception when calling ObjectDiscussionmembershipApi->discussionmembershipCreateObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
discussionmembershipCreateObjectV1Request | DiscussionmembershipCreateObjectV1Request |
DiscussionmembershipCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscussionmembershipDeleteObjectV1Response discussionmembershipDeleteObjectV1(pkiDiscussionmembershipID)
Delete an existing Discussionmembership
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 = ObjectDiscussionmembershipApi();
final pkiDiscussionmembershipID = 56; // int | The unique ID of the Discussionmembership
try {
final result = api_instance.discussionmembershipDeleteObjectV1(pkiDiscussionmembershipID);
print(result);
} catch (e) {
print('Exception when calling ObjectDiscussionmembershipApi->discussionmembershipDeleteObjectV1: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
pkiDiscussionmembershipID | int | The unique ID of the Discussionmembership |
DiscussionmembershipDeleteObjectV1Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]