Updated target event rest calls to use the new rest API