Skip to main content
GET
/
broker
/
plans
cURL
curl --request GET \
  --url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/plans \
  --header 'Content-Type: <content-type>' \
  --header 'access_token: <access_token>' \
  --header 'client_id: <client_id>'
[
  {
    "id": 784,
    "customer": {
      "id": 45645,
      "name": "Cliente Teste",
      "type": "CUSTOMER"
    },
    "planDesc": "Silver plan",
    "franchise": 10,
    "price": 5.99,
    "operatorDiffChargeFlag": "T",
    "payPerUseFlag": "T",
    "sharingType": 1,
    "sharedFranchise": 0,
    "activationPrice": 2.01,
    "megabyteExcPrice": 0,
    "automaticBlocking": false,
    "loyaltyType": 0,
    "loyaltyTime": 1,
    "penalty": "0",
    "nbVirtualAccounts": 1,
    "automaticRenewal": true,
    "roaming": true,
    "motOperators": [
      {
        "name": "TESTE OPERADORA",
        "baseName": "BASE OPERADORA",
        "idOperator": 1
      }
    ],
    "planExpirationMonths": 12,
    "planType": "ALLOWANCE",
    "iscaDurationInDays": 0,
    "iscaMaxRenewal": 0,
    "chargeIscaOnTransfer": true,
    "motOperatorId": 1,
    "creditMB": 2,
    "externalId": 64564564
  }
]

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
Example:

"client_id"

access_token
string
required

Token gerado.

Example:

"access_token"

Query Parameters

id
number

Identificador do plano

Example:

"id"

planDesc
string

Descrição do plano

Example:

"planDesc"

lastAlertDateFrom
string<date-time>

Filtro de alerta de consumo

Example:

"lastAlertDateFrom"

showContracted
boolean

Contratos a pagar e a receber

Example:

" true (Contratos a pagar), false (Contrato a receber)"

unit
string
default:MB, B, KB, GB

Unidade que deseja retorno

Example:

"MB"

page
integer<int32>
default:0

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

Example:

0

pageSize
integer<int32>
default:24

Tamanho da página para paginação.

Example:

24

Response

OK