Evaluate a Board Statement against an explicit proposed context.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/boards/boards/example/statements/preview"), Content = new StringContent("{ \"BoardTargetDefinitionId\": \"example\", \"Expression\": \"example\", \"Values\": { \"additionalProperty\": {} }, \"Collections\": { \"additionalProperty\": [ { \"additionalProperty\": {} } ] } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/boards/boards/example/statements/preview';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"BoardTargetDefinitionId":"example","Expression":"example","Values":{"additionalProperty":{}},"Collections":{"additionalProperty":[{"additionalProperty":{}}]}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/boards/boards/example/statements/preview \ --header 'Content-Type: application/json' \ --data '{ "BoardTargetDefinitionId": "example", "Expression": "example", "Values": { "additionalProperty": {} }, "Collections": { "additionalProperty": [ { "additionalProperty": {} } ] } }'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Evaluate a Board Statement against an explicit proposed context. Values are keyed by canonical profile path. Collection rows are keyed by collection path.
object
object
object
object
object
object
Examplegenerated
{ "BoardTargetDefinitionId": "example", "Expression": "example", "Values": { "additionalProperty": {} }, "Collections": { "additionalProperty": [ { "additionalProperty": {} } ] }}Evaluate a Board Statement against an explicit proposed context. Values are keyed by canonical profile path. Collection rows are keyed by collection path.
object
object
object
object
object
object
Examplegenerated
{ "BoardTargetDefinitionId": "example", "Expression": "example", "Values": { "additionalProperty": {} }, "Collections": { "additionalProperty": [ { "additionalProperty": {} } ] }}Evaluate a Board Statement against an explicit proposed context. Values are keyed by canonical profile path. Collection rows are keyed by collection path.
object
object
object
object
object
object
Examplegenerated
{ "BoardTargetDefinitionId": "example", "Expression": "example", "Values": { "additionalProperty": {} }, "Collections": { "additionalProperty": [ { "additionalProperty": {} } ] }}Responses
Section titled “Responses”OK
object
Result of evaluating a proposed Board Statement context.
object
Result of validating and binding a Board Statement expression.
object
Compiled Board Statement complexity metrics.
object
One bound Board Statement dependency.
object
One position-aware Board Statement DSL diagnostic.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Result of evaluating a proposed Board Statement context.
object
Result of validating and binding a Board Statement expression.
object
Compiled Board Statement complexity metrics.
object
One bound Board Statement dependency.
object
One position-aware Board Statement DSL diagnostic.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}