Not able to post pricingperiods in bulk

Posted in General by Stephan Osmont Fri Dec 02 2016 06:30:28 GMT+0000 (UTC)·Viewed 231 times

I am trying to post pricingperiods in bulk and getting 400 Bad Request. Passing data in bulk and in object fromat. Request : [ { "uid" : "6f8a240f-2a89-4f8c-9ad9-181fbde86783", "from": "2016-12-20", "to": "2016-12-30", "amount": 150, "minimumStay": 2 }, { "uid" : "c58c6a00-0380-416d-8f40- f42ad9acb3b3", "from": "2017-01-10", "to": "2017-01-20", "amount": 500, "minimumStay": 1 } ]
  
Markdown is allowed