Get the câmara's last session announcements
curl --request GET \
--url https://api.example.com/api/v1/siloc/schedule/camara-session \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/siloc/schedule/camara-session"
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://api.example.com/api/v1/siloc/schedule/camara-session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/siloc/schedule/camara-session"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"closed": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"interrupted": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"opened": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"resumed": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
}
}{
"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"
}
}Get the câmara's last session announcements
The newest LDL0028 (abertura), LDL0029 (fechamento), LDL0030 (interrupção das atividades) and LDL0031 (retomada) the câmara sent, each projected verbatim with the câmara’s OWN announced instant. A kind the câmara has never announced is omitted. No open/closed verdict is derived here: the live verdict is the active CAMARA_CLOSED / CAMARA_INTERRUPTED alert on listAlerts, flipped by the arriving notice. These notices ALARM and never affect readiness.
GET
/
api
/
v1
/
siloc
/
schedule
/
camara-session
Get the câmara's last session announcements
curl --request GET \
--url https://api.example.com/api/v1/siloc/schedule/camara-session \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/siloc/schedule/camara-session"
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://api.example.com/api/v1/siloc/schedule/camara-session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/siloc/schedule/camara-session"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"closed": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"interrupted": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"opened": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
},
"resumed": {
"codMsg": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ispbLDL": "<string>",
"movementDate": "<string>",
"noticedAt": "2023-11-07T05:31:56Z",
"nuop": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"codProdt": "<string>"
}
}{
"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"
}
}Response
OK
Was this page helpful?

