queryList6
Gets all audit list
/audits/list
Usage and SDK Samples
curl -X GET\
-H "Accept: application/json"\
"http://gwinfradev.bulut.ai/authorization/audits/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AuditAPIApi;
import java.io.File;
import java.util.*;
public class AuditAPIApiExample {
public static void main(String[] args) {
AuditAPIApi apiInstance = new AuditAPIApi();
try {
HvlResponseListHvlOAuthAuditModel result = apiInstance.queryList6();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuditAPIApi#queryList6");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AuditAPIApi;
public class AuditAPIApiExample {
public static void main(String[] args) {
AuditAPIApi apiInstance = new AuditAPIApi();
try {
HvlResponseListHvlOAuthAuditModel result = apiInstance.queryList6();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuditAPIApi#queryList6");
e.printStackTrace();
}
}
}
AuditAPIApi *apiInstance = [[AuditAPIApi alloc] init];
// Gets all audit list
[apiInstance queryList6WithCompletionHandler:
^(HvlResponseListHvlOAuthAuditModel output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var HvlAuthorizationServer = require('hvl_authorization_server');
var api = new HvlAuthorizationServer.AuditAPIApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.queryList6(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class queryList6Example
{
public void main()
{
var apiInstance = new AuditAPIApi();
try
{
// Gets all audit list
HvlResponseListHvlOAuthAuditModel result = apiInstance.queryList6();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AuditAPIApi.queryList6: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAuditAPIApi();
try {
$result = $api_instance->queryList6();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AuditAPIApi->queryList6: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AuditAPIApi;
my $api_instance = WWW::SwaggerClient::AuditAPIApi->new();
eval {
my $result = $api_instance->queryList6();
print Dumper($result);
};
if ($@) {
warn "Exception when calling AuditAPIApi->queryList6: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AuditAPIApi()
try:
# Gets all audit list
api_response = api_instance.query_list6()
pprint(api_response)
except ApiException as e:
print("Exception when calling AuditAPIApi->queryList6: %s\n" % e)