Get a PCC profile
This GET operation retrieves the details of a specific PCC profile by pccProfileId and accompanying planDefinitionID. If successful, you receive an HTTP response code of 200 and a JSON response containing the pcc profile information.
| See HTTP response codes for other response codes. |
GET /pcc/spcm/planDefinitions/<planDefinitionId>/pccProfiles/<pccProfileID>
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
accept: application/hal+JSON
permissions: SPCM_PLAN_DEFINITION_READ_PERMISSION
URL parameters
There are two URL parameters.
| Parameter | Type | Description |
|---|---|---|
|
integer |
A unique identifier for a plan definition which was assigned by the server upon creating the plan definition. |
|
integer |
A unique identifier for the pcc profile. |
JSON response
The following example shows the JSON response for a request to get a pcc profile with a pccProfileId of 222 (shown as id in the response). This particular sample returns only some of the data types possible. You may see different key:value pairs if your request is slightly different.
| See PCC profile descriptions for all possible data types. |
{
"id": 222,
"alias": "DefaultProfile",
"qosProfileName": "QoS Default",
"serviceProfileName": "Service Default",
"networkProfileName": "NetworkProfile1",
"deviceProfileName": null,
"timeProfileName": "TimeProfile1",
"locationProfileName": null,
"chargingProfileName": null,
"subscriptionProfileName": null,
"threshold": false,
"meteringPercentage": null,
"precedence": 1,
"_links": {
"self": {
"href": "http://localhost:8080/spcm-rest-ws/pcc/spcm/planDefinitions/
167/pccProfiles/756"
}
}
}
PCC profile type descriptions
| Field | Type | Description | ||||
|---|---|---|---|---|---|---|
|
integer |
The unique identifier for the PCC profile.
|
||||
|
string (255) |
The name of the PCC profile.
|
||||
|
boolean |
Indicates if a threshold applies to the pcc profile. If
|
||||
|
integer |
Sets the precedence of this prfile to other pcc profiles.
|
||||
|
string (255) |
The name of the Quality of Service (QoS) profile. |
||||
|
string (255) |
The name of the service profile. |
||||
|
string (255) |
The name of the network profile. |
||||
|
string (255) |
The name of the device profile. |
||||
|
string (255) |
The name of the time profile. |
||||
|
string (255) |
The name of the location profile. |
||||
|
string (255) |
The name of the charging profile. |
||||
|
string (255) |
The name of the subscription profile. |
||||
|
integer |
Specifies what percentage of the data reported for this profile is accounted for. For example, if it is
|
HTTP response codes
| Code | Description | ||||
|---|---|---|---|---|---|
|
success! |
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
pcc profile not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
|
||||
|
internal error |
||||
|
request rejected due to overload |