Hello,
/productOffering endpoint returns an array of ProducOffering Entities
as the following
[
{
"id": "product offering 1",
.....
},
{
"id": "product offering 2",
.....
},
....
]
we need to return to Facets data with this JSON
Example
{
"data": [
"id": "product offering 1",
.....
},
{
"id": "product offering 2",
.....
},
....
],
"facets": {
"Memory": [
{
"value": 64,
"count": 2
},
{
"value": 32,
"count": 7
}
],
"Storage": [
{
"value": 128,
"count": 20
}
]
}
}
How can i do something like that with the rules of TMF?
------------------------------
Moustafa Elkady
Vodafone Group
------------------------------