Check the syntax of an OPL file
POST {{baseUrl}}/opl/syntax/check
The OPL file is expected in the body of the request.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
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"}}]}