Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.37 KB

ObjectCommunicationApi.md

File metadata and controls

66 lines (44 loc) · 2.37 KB

ObjectCommunicationApi

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

communicationSendV1

-(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.

Example

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);
                        }
                    }];

Parameters

Name Type Description Notes
communicationSendV1Request CommunicationSendV1Request*

Return type

CommunicationSendV1Response*

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]