Get location profiles for location
This GET
operation retrieves location profiles for a specified location.
GET /pcc/pcrf/location/<name>/locationProfile
accept: application/JSON
permissions: PCRF_LOCATION_READ_PERMISSION
URL parameters
There is one required parameter in this operation. |
Parameter | Description | Sample |
---|---|---|
|
The name of the location. |
|
Response
The response returns all location information profiles and their associated parameters. An example is shown below:
"_links": {
"self": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locationProfiles"
}
},
"_embedded": {
"locationProfileList": [{
"id": 41,
"name": "Monterrey",
"whiteList": true,
"_links": {
"self": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locationProfiles/Monterrey"
},
"location": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locationProfiles/Monterrey/locations"
}
}
},
{
"id": 45,
"name": "Monterrey_BL",
"whiteList": false,
"_links": {
"self": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locationProfiles/Monterrey_BL"
},
"location": {
"href": "http://localhost:8080/pcrf-ws/pcc/pcrf/locationProfiles/Monterrey_BL/locations"
}
}
}
]
}
}