Get list of locations
This GET
operation retrieves a list of locations.
GET /pcc/pcrf/locations
accept: application/JSON
permissions: PCRF_LOCATION_READ_PERMISSION
URL parameters
To get a specific location, use the name parameter at the end of the url.
|
Parameter | Description | Sample |
---|---|---|
|
The name of the location. |
|
Response
The response returns all location information entites and their associated parameters including location
, name
, description
, and locationRates
, and associated links
, locationInfos
or locationProfiles
. An example is shown below:
{
"locationList": [{
"location": {
"id": 6,
"name": "ALL-LOCATIONS",
"description": null,
"locationRates": [{
"id": 9,
"name": "ALL-LOCATIONS_TimeBasedRate_8a31",
"description": null,
"locationRate": 0
},
{
"id": 8,
"name": "ALL-LOCATIONS_TimeBasedRate_b52a",
"description": null,
"locationRate": 0
}]
},
"_links": {
"self": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locations/ALL-LOCATIONS"
},
"locationInfos": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locations/ALL-LOCATIONS/locationInfos"
},
"locationProfiles": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locations/ALL-LOCATIONS/locationProfiles"
}
}
}