SmartGare
API referenceEndpoints

Resolve the winning rule version for a business context and instant

POST/rules/v1/rules/{ruleId}/contextual-resolution
AuthorizationBearer <token>

In: header

Path Parameters

ruleId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

*/*

curl -X POST "https://example.com/rules/v1/rules/string/contextual-resolution" \  -H "Content-Type: application/json" \  -d '{    "at": "2019-08-24T14:15:22Z",    "context": {      "property1": "string",      "property2": "string"    }  }'
{  "ruleId": "string",  "at": "2019-08-24T14:15:22Z",  "scope": {    "type": "STATION",    "subjects": {      "property1": "string",      "property2": "string"    }  }}