Creating New Order Via Api

I'm having trouble adding a new order via the API. Can someone provide an example of the short bit of code required to create a new order. The API docs arn't that good and it doesn't show which fields are required and it doesn't throw and error.