use EzmaxApi::Object::ObjectDiscussionmembershipApi;
All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
discussionmembership_create_object_v1 | POST /1/object/discussionmembership | Create a new Discussionmembership |
discussionmembership_delete_object_v1 | DELETE /1/object/discussionmembership/{pkiDiscussionmembershipID} | Delete an existing Discussionmembership |
DiscussionmembershipCreateObjectV1Response discussionmembership_create_object_v1(discussionmembership_create_object_v1_request => $discussionmembership_create_object_v1_request)
Create a new Discussionmembership
The endpoint allows to create one or many elements at once.
use Data::Dumper;
use EzmaxApi::ObjectDiscussionmembershipApi;
my $api_instance = EzmaxApi::ObjectDiscussionmembershipApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $discussionmembership_create_object_v1_request = EzmaxApi::Object::DiscussionmembershipCreateObjectV1Request->new(); # DiscussionmembershipCreateObjectV1Request |
eval {
my $result = $api_instance->discussionmembership_create_object_v1(discussionmembership_create_object_v1_request => $discussionmembership_create_object_v1_request);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectDiscussionmembershipApi->discussionmembership_create_object_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
discussionmembership_create_object_v1_request | DiscussionmembershipCreateObjectV1Request |
DiscussionmembershipCreateObjectV1Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DiscussionmembershipDeleteObjectV1Response discussionmembership_delete_object_v1(pki_discussionmembership_id => $pki_discussionmembership_id)
Delete an existing Discussionmembership
use Data::Dumper;
use EzmaxApi::ObjectDiscussionmembershipApi;
my $api_instance = EzmaxApi::ObjectDiscussionmembershipApi->new(
# Configure API key authorization: Authorization
api_key => {'Authorization' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Authorization' => 'Bearer'},
);
my $pki_discussionmembership_id = 56; # int | The unique ID of the Discussionmembership
eval {
my $result = $api_instance->discussionmembership_delete_object_v1(pki_discussionmembership_id => $pki_discussionmembership_id);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ObjectDiscussionmembershipApi->discussionmembership_delete_object_v1: $@\n";
}
Name | Type | Description | Notes |
---|---|---|---|
pki_discussionmembership_id | 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]