public void SendsUpdateOfClaimStatus_OKResponse() { ClientData clientData = _clientDataHelper.TestData; ResultsObject ro = new ResultsObject() { Accountno = _testAccountno, ReferenceNumber = clientData.Key5, }; ro.Responses = new List <ResponseDetails>(); ro = _restClient.SendUpdateClaimStatus(Enums.Enums.Year.UY18, ro, 8); Assert.IsTrue(ro.Responses[0].SendResponse == Enums.Enums.SendResponse.OK); }
private ResultsObject DoCompletedUpdates(CONTACT2ChangeTracking_Result ctResult, ResultsObject ro) { ClientData clientData = _gm_repo.GetClientData(_gm_repo.GetKey5(ctResult.ACCOUNTNO)); if (ctResult.uy12com_bool && clientData.CompletedDate_2009 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY12, ro, 8); } if (ctResult.uy13com_bool && clientData.CompletedDate_2010 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY13, ro, 8); } if (ctResult.uy14com_bool && clientData.CompletedDate_2011 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY14, ro, 8); } if (ctResult.uy15com_bool && clientData.CompletedDate_2012 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY15, ro, 8); } if (ctResult.uy16com_bool && clientData.CompletedDate_2013 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY16, ro, 8); } if (ctResult.uy17com_bool && clientData.CompletedDate_2014 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY17, ro, 8); } if (ctResult.uy18com_bool && clientData.CompletedDate_2015 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY18, ro, 8); } if (ctResult.uy19com_bool && clientData.CompletedDate_2016 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY19, ro, 8); } if (ctResult.uy20com_bool && clientData.CompletedDate_2017 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY20, ro, 8); } if (ctResult.uy21com_bool && clientData.CompletedDate_2018 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY21, ro, 8); } if (ctResult.uy22com_bool && clientData.CompletedDate_2019 != null) { ro = _apiClient.SendUpdateClaimStatus(Enums.Year.UY22, ro, 8); } return(ro); }