I'd like to be able to do some permission checks in a web api ActionFilter, so I need to be able to pull out the object ID. I can do this on a GET since I have access to RouteData, but is it possible to get access to the searlized viewModel object in an action filter for a PUT\POST?

 public override void OnActionExecuting(System.Web.Http.Controllers.HttpActionContext actionContext)
    {
        if (actionContext == null)
        {
            throw new ArgumentNullException("actionContext");
        }

       //Get ID from searlized object and check permissions for a POST\PUT? 
    }
Edit
Report