Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method description

Get a list of equalize settings equalizes for the requested client {instance_id}. The result list is is paginated.

URI Parameters

Parameter NameRequiredDescription
enabled
rows(error)
Filter by enabled/disabled staterows(tick)
See: Empathy Play API - Pagination
offset
(tick)
(error)See: Empathy Play API - Pagination
enabled(error)Filter by enabled/disabled state

Response format and codes

...

...

200

...

languagejs
- successful information retrieve

Type: application/json

Code Block
titleExample application/json
collapsetrue
{
  "num_found": 1237,
  "results": [
    {
      "created_on": "2017-08-08T15:27:54",
      "enabled": true,
      "extra": {
        "ebwar_id": 14613216681410425211159,
        "titlenotes": "Default",
        "enableduser": true,
	 "-"
      },
      "created_on": "2017-04-04T13:40:02",
	  "updated_on": "2017-04-04T13:40:02",fields": [
        {
          "boost": 1,
          "field": "material"
        },
        {
          "boost": 1,
          "field": "brand"
        },
        {
          "boost": 8,
          "field": "name"
        },
        {
          "boost": 1,
          "fieldsfield": [ "condition"
        },
        {
          "boost": 1,
          "field": "title", "boost": 50colour"
        },
        {
          "boost": 5,
          "field": "categories"
        },
        {
          "boost": 1,
          "field": "description"
        },
        {
          "boost": 1,
          "field": 20"style"
        },
        {
          "boost": 1,
          "field": "price", types"
        },
        {
          "boost": 10} 1,
          "field": "gender"
        }
      ],
      "id": "5989d87a1f3319000c83352a",
      "title": "Enhanced on Name followed by Categories",
      "updated_on": "2017-08-08T15:27:54"
    }
  ]
}
400 - Invalid parameters. Error response will include details

Type: application/json

Code Block
titleExample application/json
collapsetrue
{
  "code": 400,
  "details": "\"rows\" must be in range 10-200",
  "message": "Bad Request",
  "status": "error"
}

401 - the user performing the action doesn't meet the security criteria

Type: application/json

Code Block
titleExample application/json
collapsetrue
{
  "code": 401,
  "details": "The server could not verify that you are authorized to access the URL requested.  You either supplied the wrong credentials (e.g.
  ]
} a bad password), or your browser doesn't understand how to supply the credentials required.",
  "message": "Unauthorized",
  "status": "error"
}
404 - the instance doesn't exist or offset is wrong

Type: application/json

Code Block
titleExample application/json
collapsetrue
{
  "code": 404,
  "details": "",
  "message": "Not Found",
  "status": "error"
}

SeeEmpathy Play API - Pagination