OAIMissedEmailControllerApi

All URIs are relative to https://api.mailslurp.com

MethodHTTP requestDescription
getAllMissedEmailsGET /missed-emailsGet all MissedEmails in paginated format
getMissedEmailGET /missed-emails/{MissedEmailId}Get MissedEmail

getAllMissedEmails

-(NSURLSessionTask*) getAllMissedEmailsWithPage: (NSNumber*) page
    searchFilter: (NSString*) searchFilter
    size: (NSNumber*) size
    sort: (NSString*) sort
        completionHandler: (void (^)(OAIPageMissedEmailProjection* output, NSError* error)) handler;

Get all MissedEmails in paginated format

Example

OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig];

// Configure API key authorization: (authentication scheme: API_KEY)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];


NSNumber* page = @0; // Optional page  in inbox list pagination (optional) (default to @0)
NSString* searchFilter = @"searchFilter_example"; // Optional search filter (optional)
NSNumber* size = @20; // Optional page size in inbox list pagination (optional) (default to @20)
NSString* sort = @"ASC"; // Optional createdAt sort direction ASC or DESC (optional) (default to @"ASC")

OAIMissedEmailControllerApi*apiInstance = [[OAIMissedEmailControllerApi alloc] init];

// Get all MissedEmails in paginated format
[apiInstance getAllMissedEmailsWithPage:page
              searchFilter:searchFilter
              size:size
              sort:sort
          completionHandler: ^(OAIPageMissedEmailProjection* output, NSError* error) {
                        if (output) {
                            NSLog(@"%@", output);
                        }
                        if (error) {
                            NSLog(@"Error calling OAIMissedEmailControllerApi->getAllMissedEmails: %@", error);
                        }
                    }];

Parameters

NameTypeDescriptionNotes
pageNSNumber*Optional page in inbox list pagination[optional] [default to @0]
searchFilterNSString*Optional search filter[optional]
sizeNSNumber*Optional page size in inbox list pagination[optional] [default to @20]
sortNSString*Optional createdAt sort direction ASC or DESC[optional] [default to @“ASC”]

Return type

OAIPageMissedEmailProjection*

Authorization

API_KEY

HTTP request headers

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

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

getMissedEmail

-(NSURLSessionTask*) getMissedEmailWithMissedEmailId: (NSString*) missedEmailId
        completionHandler: (void (^)(OAIMissedEmail* output, NSError* error)) handler;

Get MissedEmail

Example

OAIDefaultConfiguration *apiConfig = [OAIDefaultConfiguration sharedConfig];

// Configure API key authorization: (authentication scheme: API_KEY)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"x-api-key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"x-api-key"];


NSString* missedEmailId = @"missedEmailId_example"; // MissedEmailId

OAIMissedEmailControllerApi*apiInstance = [[OAIMissedEmailControllerApi alloc] init];

// Get MissedEmail
[apiInstance getMissedEmailWithMissedEmailId:missedEmailId
          completionHandler: ^(OAIMissedEmail* output, NSError* error) {
                        if (output) {
                            NSLog(@"%@", output);
                        }
                        if (error) {
                            NSLog(@"Error calling OAIMissedEmailControllerApi->getMissedEmail: %@", error);
                        }
                    }];

Parameters

NameTypeDescriptionNotes
missedEmailIdNSString*MissedEmailId

Return type

OAIMissedEmail*

Authorization

API_KEY

HTTP request headers

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

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