List the card-route commands Lerian SLC issued
curl --request GET \
--url https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"commandId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"messageType": "LTR0002",
"payload": "<unknown>",
"receivedAt": "2023-11-07T05:31:56Z",
"status": "RECEIVED",
"tenantId": "<string>",
"acceptedAt": "2023-11-07T05:31:56Z",
"answer": {
"dtMovto": "<string>",
"positions": [
{
"cnpjNLiqdant": "<string>",
"dtHrSit": "<string>",
"ispbIFLiqdant": "<string>",
"numCtrlLTROr": "<string>",
"sitLancLTR": "<string>",
"tpDebCred": "<string>",
"vlrLanc": "<string>",
"hist": "<string>",
"identdPartCamr": "<string>",
"numOpLTR": "<string>",
"vlrCredNLiqdant": "<string>",
"vlrDebNLiqdant": "<string>"
}
],
"dtHrLTR": "<string>"
},
"numCtrlIF": "<string>",
"numCtrlLTR": "<string>",
"outboundMessageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refusalReason": "<string>",
"terminalAt": "2023-11-07T05:31:56Z"
}
]
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}List the card-route commands Lerian SLC issued
Every command received on the card route, newest first, with the outcome the câmara returned. It is the operator half of the card-route alarm: a stalled consumer, a câmara that stopped answering and a broker that went quiet all look the same from outside, and this is where the commands stuck in RECEIVED or ACCEPTED become visible. Readiness is deliberately not the signal — a stalled feed alarms, it does not take the rail out of rotation.
GET
/
api
/
v1
/
siloc
/
outbound
/
card-commands
List the card-route commands Lerian SLC issued
curl --request GET \
--url https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://siloc.sandbox.lerian.net/api/v1/siloc/outbound/card-commands"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"commandId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"messageType": "LTR0002",
"payload": "<unknown>",
"receivedAt": "2023-11-07T05:31:56Z",
"status": "RECEIVED",
"tenantId": "<string>",
"acceptedAt": "2023-11-07T05:31:56Z",
"answer": {
"dtMovto": "<string>",
"positions": [
{
"cnpjNLiqdant": "<string>",
"dtHrSit": "<string>",
"ispbIFLiqdant": "<string>",
"numCtrlLTROr": "<string>",
"sitLancLTR": "<string>",
"tpDebCred": "<string>",
"vlrLanc": "<string>",
"hist": "<string>",
"identdPartCamr": "<string>",
"numOpLTR": "<string>",
"vlrCredNLiqdant": "<string>",
"vlrDebNLiqdant": "<string>"
}
],
"dtHrLTR": "<string>"
},
"numCtrlIF": "<string>",
"numCtrlLTR": "<string>",
"outboundMessageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refusalReason": "<string>",
"terminalAt": "2023-11-07T05:31:56Z"
}
]
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Autorizações
JWT bearer token issued by the identity provider.
Parâmetros de consulta
Narrow to one lifecycle state. Omit for every command.
Opções disponíveis:
RECEIVED, ACCEPTED, ANSWERED, REFUSED, FAILED Maximum commands to return.
Intervalo obrigatório:
1 <= x <= 200Resposta
OK
The commands, newest first (never null).
Show child attributes
Show child attributes
Esta página foi útil?

