code: def get(method, hmc, uri, uri_parms, logon_required):
          
          query_str = uri_parms[0]
          result_cpcs = []
          filter_args = parse_query_parms(method, uri, query_str)
          for cpc in hmc.cpcs.list(filter_args):
              result_cpc = {}
              for prop in cpc.properties:
                  if prop in ('object-uri', 'name', 'status'):
                      result_cpc[prop] = cpc.properties[prop]
              result_cpcs.append(result_cpc)
          return {'cpcs': result_cpcs}
docs: Operation: List CPCs.