Skip to main content

How to update my Networks Lists?

Update your Network List(s) via the Network Lists tab in our app or via our API.

L
Written by Laurent Wijgergangs
Updated over 2 weeks ago

Environment

Question

  • How to update my Networks Lists?

  • How can I update Networks Lists?

Answer

Edit the list(s) in the Onomondo app.

  1. Go to the Network Lists tab.

  2. Find the relevant network list(s).

  3. Click 'Edit' on the right side the menu.

  4. Click 'Select Networks' on the right side the menu.

  5. Select the network(s) you want to include.

  6. Click 'Save Selection' in the bottom right of the menu.

  7. Click 'Save Changes' at the top right.

Workaround

Edit the list(s) using the Onomondo API.

  1. Send a PATCH request to https://api.onomondo.com/network-whitelists/{{whitelist-name}} containing:

    • name of the list,

    • tags,

    • mcc and mnc codes of the networks to be included in the list.

Example body of the request:

{
"name": "test",
"tags": [],
"networks": [
{
"mcc": "242",
"mnc": "01"
},
{
"mcc": "240",
"mnc": "02"
},
{
"mcc": "238",
"mnc": "20"
}
]
}

Generally, it is much easier and more convenient to update lists via the Network Marketplace. The API method requires you to have a prepared array of correct MCC (Mobile Country Code) and MNC (Mobile Network Code).

Did this answer your question?