Complete GetEndpointData method