You can create a model class and use it as the parameter of the web api controller. For example:
public class MyDateDTO
{
public String dateRangeType { get; set; }
public String startDate { get; set; }
public String endDate { get; set; }
}
Next in your web api controller
[HttpGet]
public String MyDateAction([FromUri]MyDateDTO dto)//must put FromUri or else
//the web api action will try to read the reference type parameter from
//body
{
//your code
}
Also note that you have to put FromUri in order to be able to read the reference type object from the query parameter as by default the action will try to read it from the body. More details here.