get_record_by_id and get_contact_by_id methods