{ OrderTable = ( { Name = 401; Status = add; }, { Name = 101; Status = remove; } ); } Is this correct format they are sending me, My Service is accepting parameter like this [{ "Name": "", "Status": "add" }, { "Name": "", "Status": "remove" }]{Any way to accept this or fix this. My Post method is like this public HttpResponseMessage PostOrderTable(OrderTableCollection orderTableCollection) { this.orderService.AddTables(orderTableCollection); return new HttpResponseMessage(HttpStatusCode.Created); } and OrderTableCollection is like this [XmlRoot("OrderTables")] public class OrderTableCollection : Collection<ordertable> { }</ordertable>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)