Check how functions work

Runs a created function on sample data to check whether it returns the expected value. A function is valid for use in a test case if the response's results value returns only one value. To learn more about functions and variables, see Variables.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Specifies the function expression to test.

string
required

Function expression you want to test. To learn more about supported functions, see Available functions.

responseData
object
required

Sample response for Test Center to run the function evaluation on.

variables
array of objects
length ≥ 0

Variable used in functionExpression.

variables
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json