Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

RulesEngine /GetMultiKeyOptions

Allows 150 calls per minute

Response: List<MultiKeyOptionResponse>



Use this call to get a list of valid keys for a set of fields.

Parameters

NameTypeDescription
typeRuleSetTypeThe rule type.
fieldNamesList<String>The field names to get the keys for

Permissions

GlobalPermissions.OrderBook.RulesEngineNode

Example Request

The following request format is required for this method.

Get

Endpoint URL

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

GET https://eu-ext.linnworks.net/api/RulesEngine/GetMultiKeyOptions?type=1&fieldNames=%5B%0D%0A%20%20%22sample%20string%201%22%0D%0A%5D

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

Endpoint URL

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

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&fieldNames=[
  "sample string 1"
]

Response

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

[
  {
    "Field": "sample string 1",
    "Options": [
      "sample string 1"
    ]
  }
]