Skip to main content
GET
/
broker
/
{customerId}
/
invoices
/
{invoiceId}
/
usage
cURL
curl --request GET \
  --url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/{customerId}/invoices/{invoiceId}/usage \
  --header 'Content-Type: <content-type>' \
  --header 'access_token: <access_token>' \
  --header 'client_id: <client_id>'
{
  "totalItens": 2,
  "totalPages": 5,
  "lastPage": 0,
  "listaItens": [
    {
      "msisdn": "34999991234",
      "consumoTotal": 12.3
    }
  ]
}

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

Id do cliente

Example:

"client_id"

access_token
string
required

Token gerado.

Example:

"access_token"

Path Parameters

customerId
string
required

Identificador do cliente.

Example:

"123654"

invoiceId
string
required

Identificador da fatura.

Example:

"123654"

Query Parameters

subInvoiceId
number

id da SubFatura (nivel Account)

Example:

"subInvoiceId"

page
integer<int32>
default:0
required

Número da página para paginação.

Example:

0

pageSize
integer<int32>
default:24
required

Tamanho da página para paginação.

Example:

24

Response

OK