Added Type and Length fields to API param