Tracking data from endpoint of a REST service and saving it into database.