Policy counter status operations
- Endpoint
-
/pcc/pcrf/policy-counter-statuses
API endpoints related to obtaining information about policy counter statuses. This includes creating, retrieving, updating, and deleting counter statuses.
Create policy counter status
Creates a new policy counter status.
post /pcc/pcrf/policy-counter-statuses
Request
Below is a request example. See the descriptions below for more details on the fields.
{
"id" : 4711,
"name" : "BaseProfileCounterStatus",
"description" : "Status for the base profile counter",
"status" : "active",
"serviceProfileId" : 111,
"qosProfileId" : 222,
"chargingProfileId" : 333,
"created" : "2020-06-07T13:10:00Z",
"updated" : "2020-06-08T14:20:00Z"
}
Get policy counter status
Retrieves a policy counter status. Specify an ID to retrieve a specific counter status or retrieve all with no ID specified. Use query parameters to paginate the response when retrieving all. For example, /pcc/pcrf/policy-counter-statuses?page=0&size=100.
get /pcc/pcrf/policy-counter-statuses/id
Update policy counter status
Updates an existing policy counter status.
put /pcc/pcrf/policy-counter-statuses/id
Request
Below is a request example. See the descriptions below for more details on the fields.
{
"id" : 4711,
"name" : "BaseProfileCounterStatus",
"description" : "Status for the base profile counter",
"status" : "active",
"serviceProfileId" : 111,
"qosProfileId" : 222,
"chargingProfileId" : 333,
"created" : "2020-06-07T13:10:00Z",
"updated" : "2020-06-08T14:20:00Z"
}
PCRF API JSON descriptions
Field | Description | ||
---|---|---|---|
|
The ID of the Policy counter status.
|
||
|
The name of the Policy counter status.
|
||
|
A description of the Policy counter status. |
||
|
The Policy counter status’s status.
|
||
|
The service profile ID. |
||
|
The QoS profile ID. |
||
|
The charging profile profile ID. |
||
|
The device profile ID. |
||
|
The location profile ID. |
||
|
The time profile ID. |
||
|
The network profile ID. |
||
|
The time the Policy counter status was created in ISO format. |
||
|
The time the Policy counter status was updated in ISO format. |
PCRF API response codes
If you receive an HTTP status code of 400
, your request does not confirm to the API specification. Check the endpoint is correct and your header information is set to use JSON
.
If you receive an HTTP status code of 422
, there is a processing error. More information is provided in the codes below.
Code | Description |
---|---|
|
The name is not unique.
|
|
Unknown service profile.
|
|
Unknown QoS profile.
|
|
Unknown charging profile.
|
|
Unknown status.
|
|
Unknown device profile. |
|
Unknown location profile. |
|
Unknown time profile. |
|
Unknown network profile. |