directoryIdnListGet
Operação de reconstrução de cache
/directory/idn-list
Usage and SDK Samples
curl -X GET "https://localhost/directory/idn-list?startDate=&endDate="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DiretrioApi;
import java.io.File;
import java.util.*;
public class DiretrioApiExample {
public static void main(String[] args) {
DiretrioApi apiInstance = new DiretrioApi();
Integer startDate = 56; // Integer | UNIX Timestamp UTC
Integer endDate = 56; // Integer | UNIX Timestamp UTC
try {
IdnList result = apiInstance.directoryIdnListGet(startDate, endDate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiretrioApi#directoryIdnListGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.DiretrioApi;
public class DiretrioApiExample {
public static void main(String[] args) {
DiretrioApi apiInstance = new DiretrioApi();
Integer startDate = 56; // Integer | UNIX Timestamp UTC
Integer endDate = 56; // Integer | UNIX Timestamp UTC
try {
IdnList result = apiInstance.directoryIdnListGet(startDate, endDate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DiretrioApi#directoryIdnListGet");
e.printStackTrace();
}
}
}
Integer *startDate = 56; // UNIX Timestamp UTC (optional)
Integer *endDate = 56; // UNIX Timestamp UTC (optional)
DiretrioApi *apiInstance = [[DiretrioApi alloc] init];
[apiInstance directoryIdnListGetWith:startDate
endDate:endDate
completionHandler: ^(IdnList output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var DocIcp0503 = require('doc_icp_0503');
var api = new DocIcp0503.DiretrioApi()
var opts = {
'startDate': 56, // {Integer} UNIX Timestamp UTC
'endDate': 56 // {Integer} UNIX Timestamp UTC
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.directoryIdnListGet(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class directoryIdnListGetExample
{
public void main()
{
var apiInstance = new DiretrioApi();
var startDate = 56; // Integer | UNIX Timestamp UTC (optional)
var endDate = 56; // Integer | UNIX Timestamp UTC (optional)
try
{
IdnList result = apiInstance.directoryIdnListGet(startDate, endDate);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DiretrioApi.directoryIdnListGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\Api\DiretrioApi();
$startDate = 56; // Integer | UNIX Timestamp UTC
$endDate = 56; // Integer | UNIX Timestamp UTC
try {
$result = $api_instance->directoryIdnListGet($startDate, $endDate);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DiretrioApi->directoryIdnListGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DiretrioApi;
my $api_instance = WWW::SwaggerClient::DiretrioApi->new();
my $startDate = 56; # Integer | UNIX Timestamp UTC
my $endDate = 56; # Integer | UNIX Timestamp UTC
eval {
my $result = $api_instance->directoryIdnListGet(startDate => $startDate, endDate => $endDate);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DiretrioApi->directoryIdnListGet: $@\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.DiretrioApi()
startDate = 56 # Integer | UNIX Timestamp UTC (optional)
endDate = 56 # Integer | UNIX Timestamp UTC (optional)
try:
api_response = api_instance.directory_idn_list_get(startDate=startDate, endDate=endDate)
pprint(api_response)
except ApiException as e:
print("Exception when calling DiretrioApi->directoryIdnListGet: %s\n" % e)
Parameters
Query parameters
Name | Description |
---|---|
startDate |
Integer
UNIX Timestamp UTC
|
endDate |
Integer
UNIX Timestamp UTC
|