I have configured my WebApiConfig like this:
public static void Register(HttpConfiguration config)
{
config.Routes.MapHttpRoute(
name: \"DefaultApi\"
Your request URL is http://localhost:8598/api/WebApi/GetLocationCategory/87
Your route is configured to accept: 'api/{controller}/{action}/{id}'
So you need to ensure that the name of your controller is 'WebApiController'.
Also, as stated alredy by @SDG you need to make sure that the name of the parameter to your action method matches what you have in your Route template i.e change 'CatID' to 'id'