Refactored SetLegacyStatus - separate parsing Ipv4Resource from calling REST API.