Get detail of given category including its parameters and values
GET
/categories/detail/{menuItemId}
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/categories/detail/451?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
Response examples (200)
{
"data": {
"name": "Bílá vína",
"sapId": "MP001FX",
"categoryConditions": [
{
"parameter": "MP_KIND_OF_WINE",
"operator": "=",
"value": "bílé víno"
}
],
"otherParameters": [
{
"value": "MANUAL_SHOWER",
"text": "Ruční sprcha",
"unit": "NULL"
}
]
},
"result": {
"code": 200,
"status": "OK"
}
}
Response examples (200)
{
"data": {
"name": "Bílá vína",
"sapId": "MP001FX",
"categoryConditions": [
{
"parameter": "MP_KIND_OF_WINE",
"operator": "=",
"value": "bílé víno"
}
],
"otherParameters": [
{
"value": "MANUAL_SHOWER",
"text": "Ruční sprcha",
"unit": "NULL"
}
]
},
"result": {
"code": 200,
"status": "OK"
}
}