All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
permissionCreateObjectV1 | POST /1/object/permission | Create a new Permission |
permissionDeleteObjectV1 | DELETE /1/object/permission/{pkiPermissionID} | Delete an existing Permission |
permissionEditObjectV1 | PUT /1/object/permission/{pkiPermissionID} | Edit an existing Permission |
permissionGetObjectV2 | GET /2/object/permission/{pkiPermissionID} | Retrieve an existing Permission |
-(NSURLSessionTask*) permissionCreateObjectV1WithPermissionCreateObjectV1Request: (PermissionCreateObjectV1Request*) permissionCreateObjectV1Request
completionHandler: (void (^)(PermissionCreateObjectV1Response* output, NSError* error)) handler;
Create a new Permission
The endpoint allows to create 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"];
PermissionCreateObjectV1Request* permissionCreateObjectV1Request = [[PermissionCreateObjectV1Request alloc] init]; //
ObjectPermissionApi*apiInstance = [[ObjectPermissionApi alloc] init];
// Create a new Permission
[apiInstance permissionCreateObjectV1WithPermissionCreateObjectV1Request:permissionCreateObjectV1Request
completionHandler: ^(PermissionCreateObjectV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectPermissionApi->permissionCreateObjectV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
permissionCreateObjectV1Request | PermissionCreateObjectV1Request* |
PermissionCreateObjectV1Response*
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) permissionDeleteObjectV1WithPkiPermissionID: (NSNumber*) pkiPermissionID
completionHandler: (void (^)(PermissionDeleteObjectV1Response* output, NSError* error)) handler;
Delete an existing Permission
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"];
NSNumber* pkiPermissionID = @56; // The unique ID of the Permission
ObjectPermissionApi*apiInstance = [[ObjectPermissionApi alloc] init];
// Delete an existing Permission
[apiInstance permissionDeleteObjectV1WithPkiPermissionID:pkiPermissionID
completionHandler: ^(PermissionDeleteObjectV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectPermissionApi->permissionDeleteObjectV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
pkiPermissionID | NSNumber* | The unique ID of the Permission |
PermissionDeleteObjectV1Response*
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) permissionEditObjectV1WithPkiPermissionID: (NSNumber*) pkiPermissionID
permissionEditObjectV1Request: (PermissionEditObjectV1Request*) permissionEditObjectV1Request
completionHandler: (void (^)(PermissionEditObjectV1Response* output, NSError* error)) handler;
Edit an existing Permission
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"];
NSNumber* pkiPermissionID = @56; // The unique ID of the Permission
PermissionEditObjectV1Request* permissionEditObjectV1Request = [[PermissionEditObjectV1Request alloc] init]; //
ObjectPermissionApi*apiInstance = [[ObjectPermissionApi alloc] init];
// Edit an existing Permission
[apiInstance permissionEditObjectV1WithPkiPermissionID:pkiPermissionID
permissionEditObjectV1Request:permissionEditObjectV1Request
completionHandler: ^(PermissionEditObjectV1Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectPermissionApi->permissionEditObjectV1: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
pkiPermissionID | NSNumber* | The unique ID of the Permission | |
permissionEditObjectV1Request | PermissionEditObjectV1Request* |
PermissionEditObjectV1Response*
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
-(NSURLSessionTask*) permissionGetObjectV2WithPkiPermissionID: (NSNumber*) pkiPermissionID
completionHandler: (void (^)(PermissionGetObjectV2Response* output, NSError* error)) handler;
Retrieve an existing Permission
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"];
NSNumber* pkiPermissionID = @56; // The unique ID of the Permission
ObjectPermissionApi*apiInstance = [[ObjectPermissionApi alloc] init];
// Retrieve an existing Permission
[apiInstance permissionGetObjectV2WithPkiPermissionID:pkiPermissionID
completionHandler: ^(PermissionGetObjectV2Response* output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error calling ObjectPermissionApi->permissionGetObjectV2: %@", error);
}
}];
Name | Type | Description | Notes |
---|---|---|---|
pkiPermissionID | NSNumber* | The unique ID of the Permission |
PermissionGetObjectV2Response*
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]