Make Decision Request
POST {{apiUrl}}/v1/environments/{{envId}}/decisionEndpoints/{{endpointId}}
Make a decision request against a decision endpoint.
Request Variables
envId is the id of the PingOne environment containing the Decision Endpoint.
endpointId is the id of the Decision Endpoint.
token will be created when you submit the Get Token request
Body Schema
{
"parameters": {
"param1": "xxxyyyzzz",
"param2": true,
"param3": 123
},
"userContext": {
"user": {
"id": "xxxx-xxxx-xxxx-xxxx"
},
"environment": {
"id": "xxxx-xxxx-xxxx-xxxx"
}
}
}
Request Body
{"parameters"=>{"Amount"=>"990"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Connection | string | ||
Upgrade-Insecure-Requests | number | ||
User-Agent | string | ||
Accept | string | ||
Sec-Fetch-Site | string | ||
Sec-Fetch-Mode | string | ||
Sec-Fetch-Dest | string | ||
Accept-Language | string | ||
Cookie | string | ||
x-respond-with | string |