Split out ApiResult