change API function get All parts