Im trying to insert an Entity that has an Enum property via the REST v2 API.
When sending the POST request to insert the new Entity it fails because of this Enum property. I am sending in data from another system based in .NET, so i send the Enum property to the REST API as a integer, hoping that it will be parsed on the CUBA side as its corresponding ENUM equivalent, but it just throws an error. If i change the property type in CUBA to an Integer it works just fine.
So my question is, how do you create an Entity via the REST API that has an ENUM property defined ? What value am i supposed to send in ?
Also the error handling in the REST API is very limited, all it does is report a HTTP Status code 500 and no description of what has gone wrong.