Update a PCC profile
This PUT
operation updates a PCC profile by using the planDefinitionID
and pccProfileId
URL parameters. If successful, you receive an HTTP response code of 200
and a JSON
response containing the updated pcc profile information.
See HTTP response codes for other response codes. |
PUT /pcc/spcm/planDefinitions/<planDefinitionId>/pccProfiles/<pccProfileId>
+ JSON request payload
HEADER INFO
tenant: <tenantName>
authorisation: HTTP Basic Auth
content-type: application/hal+JSON
accept: application/hal+JSON
permissions: SPCM_PLAN_DEFINITION_CREATE_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 request payload
The following example updates a pcc profile’s alias
to newAlias
. See PCC profile descriptions for all possible data types.
{
"alias": "newAlias"
}
JSON response
The following example shows the JSON
response to a JSON
request updating alias
to newAlias
with a planDefinitionId
of 200
(shown as _links
URL in the response) and a pccProfileId
of 756
(shown as id
) which were passed as URL parameters. 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": 756,
"alias": "newAlias",
"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/
200/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 |