rest implementation

post method for order details done.