How to use REST module to post/add an order?

I have updated our REST API documentation and added a section about “Resources with Subtypes” to describe this.

In this case you need to add a t property to indicate what type of order you are creating (under the hood, what Java subclass will represent the order). So for a lab test you need to include a property like:

"t": "testorder"