Query Duplicate ID

The following example shows an unsuccessful query for usage consumption data where the request includes duplicate IDs.

In this example, an error is reported because the subscription ID 0-1-5-1 is duplicated in the request body.
Method
POST
Headers
"Accept":"application/json;charset=utf-8"
"Content-Type":"application/json;charset=utf-8"
URL
/tmf-api/usageConsumption/v4/queryUsageConsumption
Request Body
{
    "searchCriteria": {
        "service": [
            {
                "id": "0-1-5-1"
            },
            {
                "id": "0-1-5-1"
            }
        ]
    }
}
Response Code
400
Response Body
"BAD REQUEST: id 0-1-5-1 is duplicated"