cdp.switch.configure.list

The cdp.switch.configure.list command is used to view the CDP Switch allowed networks, family codes, and cost control plans that are currently configured.

Requires Super Ops rights.

TR50 Request

{
  "1": {
    "command": "cdp.switch.configure.list",
    "params": {
      "configType": "allowedNetworks"
    }
  }
}

Request Parameters

Name Type Required Description
configType String Yes The CDP configuration type. Valid types are allowedNetworks, familyCodes, or costControlPlan.
offset Integer The starting list offset, used for pagination. Defaults to 0 if not specified.
limit Integer Limits the number of results returned. Defaults to 2000.
sort String sort is an optional parameter that defines the sort order of the result set. It allows to arrange the list in either ascending(+) or descending(-) order. It is possible to sort cdp.switch.configure.list in any of the following categories: commPlanCode, country, allowedNetworks, familyCode, accountName, roamingFamily, priority, and apn

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.

{
  "1": {
    "success": true,
    "params": {
      "count": 3,
      "result": [
        {
          "commPlanCode": "274406",
          "country": "Israel",
          "allowedNetworks": "-"
        },
        {
          "commPlanCode": "274406",
          "country": "Germany",
          "allowedNetworks": "Eplus, O2, T-Mobile, Vodafone"
        },
        {
          "commPlanCode": "274406",
          "country": "France",
          "allowedNetworks": "Bouygues, SFR, Orange, Free"
        }
      ]
    }
  }
}