client
Get Client Summary
GET
/
api
/
v1
/
client
/
summary
Get Client Summary
curl --request GET \
--url https://api.emite.do/api/v1/client/summary \
--header 'X-API-Key: <api-key>' \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.emite.do/api/v1/client/summary"
headers = {
"x-api-key": "<x-api-key>",
"X-API-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>', 'X-API-Key': '<api-key>'}};
fetch('https://api.emite.do/api/v1/client/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.emite.do/api/v1/client/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.emite.do/api/v1/client/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.emite.do/api/v1/client/summary")
.header("x-api-key", "<x-api-key>")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.emite.do/api/v1/client/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"documents_total": 123,
"documents_by_status": [
{
"status": "<string>",
"count": 123
}
],
"documents_by_environment": [
{
"environment": "<string>",
"count": 123
}
],
"documents_by_type": [
{
"ecf_type": "<string>",
"count": 123
}
],
"sequence_ranges_total": 123,
"sequence_available_total": 123,
"sequence_alerts": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API key de la empresa. Se muestra una sola vez al crearla.
Headers
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Get Client Summary
curl --request GET \
--url https://api.emite.do/api/v1/client/summary \
--header 'X-API-Key: <api-key>' \
--header 'x-api-key: <x-api-key>'import requests
url = "https://api.emite.do/api/v1/client/summary"
headers = {
"x-api-key": "<x-api-key>",
"X-API-Key": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>', 'X-API-Key': '<api-key>'}};
fetch('https://api.emite.do/api/v1/client/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.emite.do/api/v1/client/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>",
"x-api-key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.emite.do/api/v1/client/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<x-api-key>")
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.emite.do/api/v1/client/summary")
.header("x-api-key", "<x-api-key>")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.emite.do/api/v1/client/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<x-api-key>'
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"documents_total": 123,
"documents_by_status": [
{
"status": "<string>",
"count": 123
}
],
"documents_by_environment": [
{
"environment": "<string>",
"count": 123
}
],
"documents_by_type": [
{
"ecf_type": "<string>",
"count": 123
}
],
"sequence_ranges_total": 123,
"sequence_available_total": 123,
"sequence_alerts": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}