All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
communicationSendV1 | POST /1/object/communication/send | Send a new Communication |
-(NSURLSessionTask*) communicationSendV1WithCommunicationSendV1Request: (CommunicationSendV1Request*) communicationSendV1Request
completionHandler: (void (^)(CommunicationSendV1Response* output, NSError* error)) handler;
Send a new Communication
The endpoint allows to send one or many elements at once.
DefaultConfiguration *apiConfig = [DefaultConfiguration sharedConfig];
// Configure API key authorization: (authentication scheme: Authorization)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"Authorization"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"Authorization"];
CommunicationSendV1Request* communicationSendV1Request = [[CommunicationSendV1Request alloc] init]; //
ObjectCommunicationApi*apiInstance = [[ObjectCommunicationApi alloc] init];
// Send a new Communication
[apiInstance communicationSendV1WithCommunicationSendV1Request:communicationSendV1Request
completionHandler: ^(CommunicationSendV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectCommunicationApi->communicationSendV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
communicationSendV1Request | CommunicationSendV1Request* |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]