Query Single Subscription
The following example shows a successful request for usage consumption data for a single subscription.
0-1-5-1
. The subscription already exists in the Subscriber database.- Method
- POST
- Headers
"Accept":"application/json;charset=utf-8"
- URL
- /tmf-api/usageConsumption/v4/queryUsageConsumption
- Request Body
-
{ "searchCriteria": { "service": [ { "id": "0-1-5-1" } ] } }
- Response Code
200
- Response Body
-
{ "searchCriteria": { "service": [ { "id": "0-1-5-1" } ] }, "usageConsumption": [ { "bucketRefOrValue": [ { "isShared": true, "name": "flexdata", "remainingValueName": "0.0 megabytes", "product": [ { "id": "1" } ], "remainingValue": { "amount": 0.0, "units": "megabytes" }, "reservedValue": { "amount": 0.0, "units": "megabytes" } } ], "service": [ { "id": "0-1-5-1" } ] } ] }