Add Service and Device Environment to REST API