Skip to content

api_client.api.BaseAuditTrailApi

Load the API package

import 'package:api_client/api.dart';

All URIs are relative to https://localhost

Method HTTP request Description
deleteAuditTrail POST /deleteAuditTrail
getAuditTrail GET /getAuditTrail
getAuditTrails POST /getAuditTrails
saveAuditTrail POST /saveAuditTrail

deleteAuditTrail

deleteAuditTrail(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAuditTrailApi();
var id = id_example; // String | 

try { 
    api_instance.deleteAuditTrail(id);
} catch (e) {
    print("Exception when calling BaseAuditTrailApi->deleteAuditTrail: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

getAuditTrail

AuditTrailServiceModel getAuditTrail(id)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAuditTrailApi();
var id = id_example; // String | 

try { 
    var result = api_instance.getAuditTrail(id);
    print(result);
} catch (e) {
    print("Exception when calling BaseAuditTrailApi->getAuditTrail: $e\n");
}

Parameters

Name Type Description Notes
id String [optional]

Return type

AuditTrailServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

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

getAuditTrails

QueryResultAuditTrailServiceModel getAuditTrails(request)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAuditTrailApi();
var request = new AuditTrailQueryRequest(); // AuditTrailQueryRequest | 

try { 
    var result = api_instance.getAuditTrails(request);
    print(result);
} catch (e) {
    print("Exception when calling BaseAuditTrailApi->getAuditTrails: $e\n");
}

Parameters

Name Type Description Notes
request AuditTrailQueryRequest [optional]

Return type

QueryResultAuditTrailServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

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

saveAuditTrail

AuditTrailServiceModel saveAuditTrail(model)

Example

import 'package:api_client/api.dart';

var api_instance = new BaseAuditTrailApi();
var model = new AuditTrailServiceModel(); // AuditTrailServiceModel | 

try { 
    var result = api_instance.saveAuditTrail(model);
    print(result);
} catch (e) {
    print("Exception when calling BaseAuditTrailApi->saveAuditTrail: $e\n");
}

Parameters

Name Type Description Notes
model AuditTrailServiceModel [optional]

Return type

AuditTrailServiceModel

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json-patch+json, application/json, text/json, application/_*+json
  • Accept: Not defined

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


Last update: July 4, 2020