Pular para o conteúdo principal
GET
/
v1
/
inbound-source-configs
/
{id}
Ler uma configuração de fonte de entrada
curl --request GET \
  --url https://sta.sandbox.lerian.net/v1/inbound-source-configs/{id} \
  --header 'Authorization: <api-key>'
import requests

url = "https://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}"

headers = {"Authorization": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};

fetch('https://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}', 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://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<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://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}")
.header("Authorization", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://sta.sandbox.lerian.net/v1/inbound-source-configs/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "bacenSystemCode": "<string>",
  "bacenSystemFilterCode": "<string>",
  "createdAt": "<string>",
  "credentialId": "<string>",
  "deletedAt": "<string>",
  "displayName": "<string>",
  "id": "<string>",
  "intervalSeconds": 123,
  "isEnabled": true,
  "maxFileSizeBytes": 123,
  "retentionDays": 123,
  "sourceProduct": "<string>",
  "updatedAt": "<string>",
  "urgencyEnabled": true
}
{}
{}
{}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Parâmetros de caminho

id
string
obrigatório

Inbound source config UUID

Resposta

OK

bacenSystemCode
string
bacenSystemFilterCode
string
createdAt
string
credentialId
string

CredentialID is the UUID string of the BACEN credential bound to this inbound source (mandatory and always present).

deletedAt
string
displayName
string
id
string
intervalSeconds
integer
isEnabled
boolean
maxFileSizeBytes
integer
retentionDays
integer
sourceProduct
string
updatedAt
string
urgencyEnabled
boolean