Get list of category parameters and their values Deprecated

GET /categories/{categoryId}/parameters

Headers

  • X-Application-Name string

Path parameters

  • categoryId string Required

    Category identifier

Query parameters

  • client_id string Required

    Client identifier

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes array[object]
      • values array[object]
        Hide values attributes Show values attributes array[object]
        • value string

          Parameter value ID

        • text string

          Parameter value text

      • param_id string Required

        Parameter identifier

      • title string Required

        Title of the parameter

      • unit string Required

        Unit of the parameter. Empty values are represented by NULL string

    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
    • paging object
      Hide paging attributes Show paging attributes object
      • pages integer
      • size integer
      • page integer
GET /categories/{categoryId}/parameters
curl \
 -X GET https://mpapi.proxy.omnicado.com/v1/categories/MP001/parameters?client_id=yourClientId&client_id=api_token_value \
 -H "X-Application-Name: myApplicationName"
Response examples (200)
{
  "data": [
    {
      "values": [
        {
          "value": true,
          "text": "ano"
        }
      ],
      "param_id": "BRAND",
      "title": "Ruční sprcha",
      "unit": "NULL"
    }
  ],
  "result": {
    "code": 200,
    "status": "OK"
  },
  "paging": {
    "pages": 1,
    "size": 1,
    "page": 1
  }
}
Response examples (200)
{
  "data": [
    {
      "values": [
        {
          "value": true,
          "text": "ano"
        }
      ],
      "param_id": "BRAND",
      "title": "Ruční sprcha",
      "unit": "NULL"
    }
  ],
  "result": {
    "code": 200,
    "status": "OK"
  },
  "paging": {
    "pages": 1,
    "size": 1,
    "page": 1
  }
}