Skip to main content

Set up CPE location

In order for the device location to be displayed on the support portal in the Location section on the map, you need to modify the "location" field for the CPE record in the database. It is important to enter the data in a specific format.

The format has the following structure:

Between the slashes, there is information in a human-readable format, and at the end, coordinates are REQUIRED in the format N latitude E longitude, otherwise information about the location will not be displayed in the section.

  • /Country/City/Street/House/N 0 E 0
  • /OLT:XXX/SLOT:YYY/PORT:WWW/ONTID:32/N 0 E 0

To access the CPEs table, you can use the administrator portal or do it through the API.

Admin support portal

  1. Open the admin portal admin portal
  2. Go to the CPEs section CPEs section
  3. Find the device with search How to use search
  4. Click on "Edit Record" icon edit_icon
  5. In the opened window, find the Location field and enter a string that corresponds to the format described earlier. window

After that, the location will be displayed on the map, and the message above the map will contain information about where it is located, according to what was specified between the slashes. map

API

note

To edit the device record, first find out its CPE id.

  1. Open Swagger UI or use any other method to send HTTP requests.
  2. Use the /method/UpdateCPEs method with the following request body.
warning

Replace the values of the "cpe_id" and "location" fields with the ones relevant to you.

{
"search_options": {
"cpe_id": "DMS_DEVICE"
},
"parameters": {
"location": "/Country/City/Street/House/N 0 E 0"
}
}

More info in Api guide