title: Web Api call is returning a 404 error with GUID passed as param
body: <p>I am having troubles with my ajax call making it to my web.api method. If I remove the Guid orderId from both the api and the js, the call makes it to the controller, but the pizza object is empty. If I pass the Guid in the URL, it also makes it to the controller but no pizza. Please explain why this doesn't work or help me make it work.</p>
  
  <p>JS:</p>
  
  <pre><code>var savePizza = function (orderId, pizza) {
      var dataCall = $.ajax(config.savePizzaUrl, {
          data: ko.toJSON({ orderId: orderId, pizza: pizza }),
          type: "post",
          contentType: "application/json"
      });
  
      return Q.when(dataCall);
  };
  </code></pre>
  
  <p>Web Api:</p>
  
  <pre><code>    [HttpPost]
      public RequestReturn&lt;Guid&gt; SavePizza(Guid orderId, Pizza pizza)
      {
          return PizzaRequests.SavePizza(orderId, pizza);
      }
  </code></pre>
  
  <p>JS Objects:</p>
  
  <pre><code>var pizza = function (data) {
      this.Id = data.Id;
      this.Size = new size(data.Size);
      this.SizeId = data.SizeId;
      this.Toppings = $.map(data.Toppings, function(item) {return new topping(item);});
  };
  var topping = function (data) {
      this.Id = data.Id;
      this.Name = data.Name;
      this.Price = data.Price;
  };
  var size = function (data) {
      this.Id = data.Id;
      this.Name = data.Name;
      this.Price = data.Price;
  };
  </code></pre>
  
  <p>C# Objects:</p>
  
  <pre><code>public class Pizza
  {
      public Guid Id { get; set; }
      public Guid SizeId { get; set; }
      public Size Size { get; set; }
      public IEnumerable&lt;Topping&gt; Toppings { get; set; }
  }
  public class Size
  {
      public Guid Id { get; set; }
      public string Name { get; set; }
      public double Price { get; set; }
  }
  public class Topping
  {
      public Guid Id { get; set; }
      public string Name { get; set; }
      public double Price { get; set; }
  }
  </code></pre>
  
  <p>JSON Fiddler Post Capture:</p>
  
  <p><img src="https://i.stack.imgur.com/JQ4kO.gif" alt="enter image description here">
  <img src="https://i.stack.imgur.com/Gxsjf.gif" alt="enter image description here"></p>