Returns lists of choices for a flow or global parameter.

Changed on
post/getPicklist

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (authorization code, authorization URL https://www.example.com/authorize, token URL https://www.example.com/token; client credentials, token URL https://www.example.com/token)
    • HTTP basic

Request body

namestring required

Name of the field to retrieve choices for

type'flow' | 'global' | 'header' required

Type of parameter to return choices for. Either flow or global

Example request

{
  "name": "table",
  "fieldMappingContext": {
    "invocation": [
      {
        "marketoAttribute": "email",
        "serviceAttribute": "emailAddress"
      }
    ],
    "callback": [
      {
        "marketoAttribute": "email",
        "serviceAttribute": "emailAddress"
      }
    ]
  }
}

Response

Returns lists of choices for a flow or global parameter.

Changes