Use this call to get a list of valid options for a given set of fields (and, if relevant, keys).
Name | Type | Description |
---|---|---|
type | RuleSetType | The rule type. |
fieldKeys | List<FieldKeys> | A list of fields and optionally keys. |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/RulesEngine/GetMultiOptions
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
This is an example of the request structure. Results will vary depending on your data.
type=1&fieldKeys=[
{
"FieldName": "sample string 1",
"Keys": [
"sample string 1"
]
}
]
This is an example of the response JSON. Results will vary depending on your data.
[
{
"Field": "sample string 1",
"Key": "sample string 2",
"Options": [
"sample string 1"
],
"KeyedOptions": [
{
"Text": "sample string 1",
"Value": "sample string 2"
}
]
}
]