There is a bug in the tax rate calls, all of them I suspect but I only fixed the Get.
- Code: Select all
AppHost.Routes.Add(typeof(TaxRateGETRequest), "/TaxRates/{TaxID}", "GET", "Retrieves a tax rate.", "");
should actually be
- Code: Select all
AppHost.Routes.Add(typeof(TaxRateGETRequest), "/TaxRates/{RecID}", "GET", "Retrieves a tax rate.", "");
as the property on the Request object is RecID and not TaxID and so you get a message about invalid property because the reflection fails.