def list_meta_fields():
 ret = {}
 (status, result) = _query(action='meta', command='fields')
 root = ET.fromstring(result)
 fields = root.getchildren()
 for field in fields:
  field_id = None
  field_ret = {'name': field.text}
  for item in field.items():
   field_ret[item[0]] = item[1]
   if (item[0] == 'id'):
    field_id = item[1]
  ret[field_id] = field_ret
 return ret

def list_meta_fields ( ) : ret = { } ( status , result ) = _query ( action = 'meta' , command = 'fields' ) root = ET . fromstring ( result ) fields = root . getchildren ( ) for field in fields : field_id = None field_ret = { 'name' : field . text } for item in field . items ( ) : field_ret [ item [ 0 ] ] = item [ 1 ] if ( item [ 0 ] == 'id' ) : field_id = item [ 1 ] ret [ field_id ] = field_ret return ret
show all meta data fields for this company .