curl --request POST \
--url https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure"
payload := strings.NewReader("{\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure"
payload = { "reason": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"caseId": "<string>",
"closedAt": "2023-11-07T05:31:56Z",
"resolution": "<string>"
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}Acknowledge an invalid-dispatch case
Acknowledges an open invalid_outbound operator case. Lerian SRC opens this case when it refuses to send a message that does not conform to BACEN’s specification, and the consultation fails with code SRC-OUTBOUND-INVALID. Acknowledging the case repairs nothing and sends nothing. To consult again, create a new consultation.
The request carries a reason. Closing appends an operator_case_closure record to the evidence trail. A case that is not open returns 404 with code SRC-0301.
curl --request POST \
--url https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure"
payload := strings.NewReader("{\n \"reason\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({reason: '<string>'})
};
fetch('https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/src/operator/invalid-dispatches/{caseId}/closure"
payload = { "reason": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"caseId": "<string>",
"closedAt": "2023-11-07T05:31:56Z",
"resolution": "<string>"
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}{
"correlationId": "req-7a3f9c2e",
"detail": "check digits are invalid for the declared documentType",
"instance": "/v1/src/consultations",
"status": 400,
"title": "Bad Request",
"traceId": "a1b2c3d4",
"type": "<string>",
"violations": [
{
"field": "document",
"reason": "check digits are invalid for the declared documentType",
"code": "<string>"
}
],
"code": "<string>",
"details": {}
}Autorizaciones
The access token received from the authorization server in the OAuth 2.0 flow.
Encabezados
Optional correlation id (UUID) propagated through logs/traces.
Parámetros de ruta
The open operator case to close, on the leg this operation addresses.
Cuerpo
Required. Why the case needs no further operator action.
1 - 2000¿Esta página le ayudó?

