Query Unsupported Field
The following examples show unsuccessful queries for usage consumption data because an unsupported field is included in the request.
relatedParty
field, which is an unsupported field.- Method
- POST
- Headers
"Accept":"application/json;charset=utf-8"
- URL
- /tmf-api/usageConsumption/v4/queryUsageConsumption
- Request Body
-
{ "relatedParty": [ { "id": "0-1-5-1", "@referredType": "abc" } ] }
- Response Code
400
- Response Body
"BAD REQUEST: relatedParty is not supported by MATRIXX"
This example query results in an error response because the searchCriteria
object in the request body includes the description field, which is an unsupported
field.
- Method
- POST
- Headers
"Accept":"application/json;charset=utf-8"
- URL
- /tmf-api/usageConsumption/v4/queryUsageConsumption
- Request Body
-
{ "searchCriteria": { "service": [ { "id": "0-1-5-11" } ], "description": "description" } }
- Response Code
400
- Response Body
"BAD REQUEST: Only service should be specified in searchCriteria"