You can look at it as old school (Enums) vs new school (ForgeTypeId), but firstly lets get to those drop downs - Type of Parameter is a SpecTypeId, Group parameter under is a BuiltInParameterGroup. Old school is a bit hacky, new school has LabelUtils, ParameterUtils and UnitUtils. Revit is moving to ForgeTypeId for a lot of properties so now is probably a good time to lean in. Too much code to drop here - see the attached dyn file
Get_All_Info_R24.dyn (12.0 KB)