Check XML Predicate from Entity

/api/repositories/{repository}/entities/{entity}/checkxmlpredicatefromentity
Parameter Type Purpose
repository string The name of the Repository to access
entity int The Entity ID

Post

POST /api/repositories/(string: repository)/entities/(int: entityID)/checkxmlpredicatefromentity
POST /api/repositories/jupiter/entities/1/checkxmlexpressionfromentity HTTP/1.1
Content-Type: application/json

{
    "entity": "1",
    "expression": "'Vin Number'>71006"
}

The message body is a JSON string containing two key-value pairs: the first, entity, is the Entity ID to check against; the second, expression, is the expression to check.

Response Code Reason
200 Success
500 Server error

A successful response contains the expression transformed into XML.

The request above would result in the following response:

HTTP/1.1 200 OK
Content-type: text/xml

<?xml version="1.0" ?>
<expr>
    <text>'Vin Number'&gt;71006</text>
    <gt>
        <var>Vin_number</var>
        <int>71006</int>
    </gt>
</expr>