Skip to main content
GET
/
broker
/
alert
cURL
curl --request GET \
  --url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/alert \
  --header 'Content-Type: <content-type>' \
  --header 'access_token: <access_token>' \
  --header 'client_id: <client_id>'
{
  "id": 308,
  "customerId": 10000,
  "terminalId": null,
  "contractId": null,
  "msisdn": null,
  "eventType": "CONSUMPTION",
  "field": "consumptionCurrentDay",
  "operator": ">",
  "thresholdValue": 31457280,
  "name": "Teste",
  "active": true,
  "createdAt": "2025-01-02T19:10:16.354",
  "createdBy": "vanilson_etica",
  "updatedAt": null,
  "updatedBy": null
}

Headers

Content-Type
string
default:application/json
required

Define o formato da requisição.

🔹 Valor padrão:

application/json

📌 Dica: Copie e cole esse valor no campo Content-Type.

Example:

"application/json"

client_id
string
required

Identificador do client id do sensedia

Example:

"123"

access_token
string
required

Token gerado

Example:

"Basic MzQ4OSozNDMyLTMOMzItMTIz"

Query Parameters

page
integer
default:1

Página

Example:

"1"

pageSize
integer
default:30

Tamanho da página

Example:

"30"

msisdn
string

Numero do MSISDN do dispositivo

Example:

"5534991026676"

status
enum<string>

Status da ação

Available options:
0,
1,
99,
98,
97
cratedBy
string

Usuário que criou a ação

Example:

"user.teste"

startDate
string

Data inicial para filtro

Example:

"yyyy-MM-dd"

endDate
string

Data final para filtro

Example:

"yyyy-MM-dd"

customerId
number

Identificador do cliente

Example:

"546454"

Response

Busca realizada com sucesso!

OK
string
Example:
{
"id": 308,
"customerId": 10000,
"terminalId": null,
"contractId": null,
"msisdn": null,
"eventType": "CONSUMPTION",
"field": "consumptionCurrentDay",
"operator": ">",
"thresholdValue": 31457280,
"name": "Teste",
"active": true,
"createdAt": "2025-01-02T19:10:16.354",
"createdBy": "vanilson_etica",
"updatedAt": null,
"updatedBy": null
}