cURL
curl --request POST \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>' \
--data '
{
"id": 0,
"customerId": 0,
"deviceId": "string",
"activationDate": "2025-08-11",
"status": "ACTIVE",
"serialNumber": "string",
"showContracted": false,
"stock": true,
"consumptionGte": 0,
"consumptionLte": 0,
"page": 0,
"pageSize": 20
}
'import requests
url = "https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report"
payload = {
"id": 0,
"customerId": 0,
"deviceId": "string",
"activationDate": "2025-08-11",
"status": "ACTIVE",
"serialNumber": "string",
"showContracted": False,
"stock": True,
"consumptionGte": 0,
"consumptionLte": 0,
"page": 0,
"pageSize": 20
}
headers = {
"Content-Type": "<content-type>",
"client_id": "<client_id>",
"access_token": "<access_token>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Content-Type': '<content-type>',
client_id: '<client_id>',
access_token: '<access_token>'
},
body: JSON.stringify({
id: 0,
customerId: 0,
deviceId: 'string',
activationDate: '2025-08-11',
status: 'ACTIVE',
serialNumber: 'string',
showContracted: false,
stock: true,
consumptionGte: 0,
consumptionLte: 0,
page: 0,
pageSize: 20
})
};
fetch('https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report', 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://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 0,
'customerId' => 0,
'deviceId' => 'string',
'activationDate' => '2025-08-11',
'status' => 'ACTIVE',
'serialNumber' => 'string',
'showContracted' => false,
'stock' => true,
'consumptionGte' => 0,
'consumptionLte' => 0,
'page' => 0,
'pageSize' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"access_token: <access_token>",
"client_id: <client_id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report"
payload := strings.NewReader("{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("client_id", "<client_id>")
req.Header.Add("access_token", "<access_token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report")
.header("Content-Type", "<content-type>")
.header("client_id", "<client_id>")
.header("access_token", "<access_token>")
.body("{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = '<content-type>'
request["client_id"] = '<client_id>'
request["access_token"] = '<access_token>'
request.body = "{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}"
response = http.request(request)
puts response.read_body{
"id": 77614,
"message": "Request report created successfully!"
}{
"error": "Requisição mal formada."
}{
"error": "Requisição requer autenticação."
}{
"error": "O acesso ao recurso foi negado."
}{
"error": "URI de API/Recurso inexiste para processamento."
}{
"errors": "Parameter not found"
}Satellital
Solicita relatório do inventário Satelital
Faz a solicitação do relatório do inventário satelital
POST
/
satellite
/
devices
/
report
cURL
curl --request POST \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>' \
--data '
{
"id": 0,
"customerId": 0,
"deviceId": "string",
"activationDate": "2025-08-11",
"status": "ACTIVE",
"serialNumber": "string",
"showContracted": false,
"stock": true,
"consumptionGte": 0,
"consumptionLte": 0,
"page": 0,
"pageSize": 20
}
'import requests
url = "https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report"
payload = {
"id": 0,
"customerId": 0,
"deviceId": "string",
"activationDate": "2025-08-11",
"status": "ACTIVE",
"serialNumber": "string",
"showContracted": False,
"stock": True,
"consumptionGte": 0,
"consumptionLte": 0,
"page": 0,
"pageSize": 20
}
headers = {
"Content-Type": "<content-type>",
"client_id": "<client_id>",
"access_token": "<access_token>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Content-Type': '<content-type>',
client_id: '<client_id>',
access_token: '<access_token>'
},
body: JSON.stringify({
id: 0,
customerId: 0,
deviceId: 'string',
activationDate: '2025-08-11',
status: 'ACTIVE',
serialNumber: 'string',
showContracted: false,
stock: true,
consumptionGte: 0,
consumptionLte: 0,
page: 0,
pageSize: 20
})
};
fetch('https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report', 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://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 0,
'customerId' => 0,
'deviceId' => 'string',
'activationDate' => '2025-08-11',
'status' => 'ACTIVE',
'serialNumber' => 'string',
'showContracted' => false,
'stock' => true,
'consumptionGte' => 0,
'consumptionLte' => 0,
'page' => 0,
'pageSize' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"access_token: <access_token>",
"client_id: <client_id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report"
payload := strings.NewReader("{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("client_id", "<client_id>")
req.Header.Add("access_token", "<access_token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report")
.header("Content-Type", "<content-type>")
.header("client_id", "<client_id>")
.header("access_token", "<access_token>")
.body("{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/satellite/devices/report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = '<content-type>'
request["client_id"] = '<client_id>'
request["access_token"] = '<access_token>'
request.body = "{\n \"id\": 0,\n \"customerId\": 0,\n \"deviceId\": \"string\",\n \"activationDate\": \"2025-08-11\",\n \"status\": \"ACTIVE\",\n \"serialNumber\": \"string\",\n \"showContracted\": false,\n \"stock\": true,\n \"consumptionGte\": 0,\n \"consumptionLte\": 0,\n \"page\": 0,\n \"pageSize\": 20\n}"
response = http.request(request)
puts response.read_body{
"id": 77614,
"message": "Request report created successfully!"
}{
"error": "Requisição mal formada."
}{
"error": "Requisição requer autenticação."
}{
"error": "O acesso ao recurso foi negado."
}{
"error": "URI de API/Recurso inexiste para processamento."
}{
"errors": "Parameter not found"
}Headers
Define o formato da requisição.
🔹 Valor padrão:
application/json
📌 Dica: Copie e cole esse valor no campo Content-Type.
Example:
"application/json"
Identificador do client id do sensedia
Example:
"123"
Token gerado
Example:
"Basic MzQ4OSozNDMyLTMOMzItMTIz"
Body
application/json
Informações necessárias para fazer a solicitação do relatório.
Example:
0
Example:
0
Example:
"string"
Example:
"2025-08-11"
Example:
"ACTIVE"
Example:
"string"
Example:
false
Example:
true
Example:
0
Example:
0
Example:
0
Example:
20
Response
Request report created successfully
Example:
{
"id": 77614,
"message": "Request report created successfully!"
}

