API Reference for Marketo Engage

Get Auto Suggest for Smart List

GET /rest/asset/v1/smartList/{id}/autoSuggest.json

Returns suggested values for configuring a smart list rule.

Operation ID
getSmartListAutoSuggestUsingGET
Permissions
Read-Only Assets, Read-Write Assets
Request format
application/x-www-form-urlencoded
Returns
ResponseOfAutoSuggestValue

Parameters

Path 1

id integer (int64) required

Id of the smart list

Query 3

ruleTypeId string required

JSON representation of the rule type, with members 'id' and 'type' which may be 'activity' or 'attribute', for example {"id":11,"type":"activity"}

optionTypeId string required

JSON representation of the constraint, with members 'id' and 'type' which may be 'activity' or 'attribute', for example {"id":16,"type":"activity"}

primaryAttributeValue string

Value used to filter suggestions

Responses

200 OK ResponseOfAutoSuggestValue
errors array of Error

Model Error

code string required

Error code of the error. See full list of error codes here

message string required

Message describing the cause of the error

requestId string
result array of array

One array of suggested values

success boolean
warnings array of string
Generated example
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ],
  "requestId": "123",
  "result": [
    [
      {
        "id": 123,
        "displayName": "Example name",
        "name": "Example name",
        "workspace": "string",
        "workspaceId": 123
      }
    ]
  ],
  "success": true,
  "warnings": [
    "string"
  ]
}

Referenced models

Generated from swagger-asset.json. Generated examples are inferred from the schema; they are illustrative and may not be valid production payloads.

↑ ↓ to move, ↵ to open, esc to closeSee all results