public HttpResponseMessage UserActivityLogByAccNo(HttpRequestMessage reqObject) { string WalletAccountNo = string.Empty; _requestedDataObject = _IDataManipulation.GetRequestedDataObject(reqObject); if (_requestedData != null && _requestedDataObject.BusinessData != null) { _UserActivityLog = JsonConvert.DeserializeObject <UserActivityLog>(_requestedDataObject.BusinessData); WalletAccountNo = _UserActivityLog.WalletAccountNo; } if (string.IsNullOrWhiteSpace(WalletAccountNo)) { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Information Not Found"); _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); } var result = _IUserActivityLogService.UserActivityLogByAccNo(WalletAccountNo); if (result != null) { _serviceResponse = _IDataManipulation.SetResponseObject(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.SetResponseObject(result, "Information Not Found"); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetGLAccForDD(HttpRequestMessage reqObject) { int level = 0; string prefix = string.Empty; _requestedDataObject = _IDataManipulation.GetRequestedDataObject(reqObject); if (_requestedDataObject != null && _requestedDataObject.BusinessData != null) { string[] data = JsonConvert.DeserializeObject <string>(_requestedDataObject.BusinessData).Split('-'); level = Convert.ToInt32(data[0]); prefix = data[1].ToString(); } var List_GLChart = _IGLChartService.GetGLAccForDD(); if (List_GLChart != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_GLChart, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Totaling GL Info Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllCustomer(HttpRequestMessage reqObject) { var result = _ICustomerAccProfileService.GetAllCustomer(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Customer Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllUSBReportingField(HttpRequestMessage reqObject) { var result = _IUSBReportingFieldService.GetAllUSBReportingField(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("USB RPT Field Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllAddress(HttpRequestMessage reqObject) { var List_Address = _ICommonService.GetAllAddress(); if (List_Address != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_Address, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Address Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllTransactionRule(HttpRequestMessage requestObj) { var result = _ITransactionRulesService.GetAllTransactionRules(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Information Not Found"); } _response = _IDataManipulation.CreateResponse(_serviceResponse, requestObj); return(_response); }
public HttpResponseMessage GetAllManagerCategory(HttpRequestMessage reqObject) { _businessData = _IDataManipulation.GetBusinessData(reqObject); var result = _IManagerCategoryService.GetAllManagerCategory(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Manager Groups Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetCusTypeWiseServiceListById(HttpRequestMessage reqObject) { string CustomerServiceId = string.Empty; _requestedDataObject = _IDataManipulation.GetRequestedDataObject(reqObject); if (_requestedDataObject != null && _requestedDataObject.BusinessData != null) { _CusTypeWiseServiceList = JsonConvert.DeserializeObject <CusTypeWiseServiceList>(_requestedDataObject.BusinessData); CustomerServiceId = _CusTypeWiseServiceList.DefineServiceId; } if (!string.IsNullOrWhiteSpace(CustomerServiceId)) { _CusTypeWiseServiceList = new CusTypeWiseServiceList(); _CusTypeWiseServiceList = _ICusTypeWiseServiceListService.GetCusTypeWiseServiceListById(CustomerServiceId); } if (_CusTypeWiseServiceList != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(_CusTypeWiseServiceList, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Customer Type Wise Service Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetUsbParam(HttpRequestMessage reqObject) { string _UsbParam = string.Empty; _requestedDataObject = _IDataManipulation.GetRequestedDataObject(reqObject); if (_requestedDataObject != null && _requestedDataObject.BusinessData != null) { _UsbParam = JsonConvert.DeserializeObject <string>(_requestedDataObject.BusinessData); } var List_USBReportingField = _IUsbReceiveService.GetUsbParam(_UsbParam); if (List_USBReportingField != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_USBReportingField, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Parent Account Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetDistrictInfoForDD(HttpRequestMessage reqObject) { var List_DistrictInfo = _IDistrictInfoService.GetDistrictInfoForDD(); if (List_DistrictInfo != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_DistrictInfo, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("District Info Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetChargeActTypeForDD(HttpRequestMessage reqObject) { var List_CalenderPeriod = _IChargeActTypeService.GetChargeActTypeForDD(); if (List_CalenderPeriod != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_CalenderPeriod, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Charge Actual Type Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetCusTypeForDD(HttpRequestMessage reqObject) { var List_CusType = _ICusTypeService.GetCusTypeForDD(); if (List_CusType != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_CusType, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Parent Account Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetConnectionForDD(HttpRequestMessage reqObject) { var List_IReportConfigarationService = _IReportConfigarationService.GetConnectionForDD(); if (List_IReportConfigarationService != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_IReportConfigarationService, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Connection Info Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetChargesCategoryForDD(HttpRequestMessage reqObject) { var List_ChargesCategory = _IChargesCategoryService.GetChargesCategoryForDD(); if (List_ChargesCategory != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_ChargesCategory, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Charge Category Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllAccTypeWiseTarget(HttpRequestMessage reqObject) { var result = _IAccTypeWiseTargetService.GetAllAccTypeWiseTarget(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Account Types Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAccStatusSetupForDD(HttpRequestMessage reqObject) { var List_AccStatusSetup = _IAccStatusSetupService.GetAccStatusSetupForDD(); if (List_AccStatusSetup != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(List_AccStatusSetup, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Account Status Setup Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }
public HttpResponseMessage GetAllErrorLog(HttpRequestMessage reqObject) { //_businessData = _IDataManipulation.GetBusinessData(reqObject); var result = _IErrorLogService.GetAllErrorLog(); if (result != null) { _serviceResponse = _IDataManipulation.ResopnseWhenDataFound(result, "information has been fetched successfully"); } else { _serviceResponse = _IDataManipulation.ResopnseWhenDataNotFound("Customer Types Not Found..."); } _response = _IDataManipulation.CreateResponse(_serviceResponse, reqObject); return(_response); }