How to implement the custom webhook rule using Web API 2?