Check the syntax of an OPL file

POST {{baseUrl}}/opl/syntax/check

The OPL file is expected in the body of the request.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"errors":[{"end":{"Line":"\u003clong\u003e","column":"\u003clong\u003e"},"message":"\u003cstring\u003e","start":{"Line":"\u003clong\u003e","column":"\u003clong\u003e"}},{"end":{"Line":"\u003clong\u003e","column":"\u003clong\u003e"},"message":"\u003cstring\u003e","start":{"Line":"\u003clong\u003e","column":"\u003clong\u003e"}}]}