Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

RulesEngine /GetEvaluationFields

Allows 150 calls per minute

Response: List<FieldDescriptor>



Use this call to get a list of valid evaluation fields for a given rule type.

Parameters

NameTypeDescription
typeRuleSetTypeThe rule type.

Permissions

GlobalPermissions.OrderBook.RulesEngineNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/RulesEngine/GetEvaluationFields

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

type=1

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "Name": "sample string 1",
    "FieldName": "sample string 2",
    "FieldGroup": "sample string 3",
    "IsASet": true,
    "ValidEvaluatorGroups": [
      1
    ],
    "Key": "sample string 5",
    "KeyDisplayName": "sample string 6",
    "HasKeyOptions": true,
    "HasAttributeKey": true,
    "HasOptions": true,
    "DisplayType": 1,
    "ExactMatchRequired": true
  }
]