20 changed files with 540 additions and 116 deletions
-
149Source/DealerSelection.Api.Models/LsqData.cs
-
149Source/DealerSelection.Api.Models/LsqSuccessData.cs
-
6Source/DealerSelection.Api.Models/WebEngageEvent.cs
-
2Source/DealerSelection.Api/AssignDealerApi.cs
-
20Source/DealerSelection.Api/BatchJobApi.cs
-
9Source/DealerSelection.Api/CCAvenueApi.cs
-
45Source/DealerSelection.Api/CommonUtil/CustomConfig.cs
-
76Source/DealerSelection.Api/MulesoftApi.cs
-
8Source/DealerSelection.Api/YellowAIApi.cs
-
2Source/DealerSelection.Infrastructure/BatchJob/IRepository.cs
-
23Source/DealerSelection.Infrastructure/BatchJob/Repository.cs
-
4Source/DealerSelection.Infrastructure/Mulesoft/IRepository.cs
-
2Source/DealerSelection.Infrastructure/Mulesoft/MulesoftCustomerInfoDto.cs
-
86Source/DealerSelection.Infrastructure/Mulesoft/Repository.cs
-
2Source/DealerSelection.Interface/IBatchJobApi.cs
-
16Source/DealerSelection.WebApi/Controllers/BatchJobController.cs
-
31Source/DealerSelection.WebApi/appsettings.json
-
5Source/WebJobService/Program.cs
-
5Source/WebJobService/Service.cs
-
2Source/WebJobService/WebJobService.csproj
@ -0,0 +1,149 @@ |
|||||
|
using Newtonsoft.Json; |
||||
|
|
||||
|
namespace DealerSelection.Api.Models; |
||||
|
|
||||
|
public class LsqData |
||||
|
{ |
||||
|
public LsqData(string bu, string model_Code, string color, string customer_Name, |
||||
|
string location_of_the_customer |
||||
|
, string dealer_Code, string mobile, string otp_verified, string pincode |
||||
|
, string enquiry_mode, string source, string sub_source, string referral_URL |
||||
|
, string composite_Key, string enquiry_Classification |
||||
|
, string auto_model, string bu_Sub_type, string sitcore_Booking_ID |
||||
|
, string booking_Status, string cc_Avenue_Transaction_ID, string booking_receipt_Number |
||||
|
, string booking_amount_TRM, string test_ride_date, string test_ride_slot |
||||
|
, string test_ride_location, string utmSource, string utmMedium, string sourceCampaign |
||||
|
, string utmContent, string consentToWhatsapp, string leadPlatform) |
||||
|
{ |
||||
|
BU = bu; |
||||
|
ModelCode = model_Code; |
||||
|
Color = color; |
||||
|
CustomerName = customer_Name; |
||||
|
Locationofthecustomer = location_of_the_customer; |
||||
|
DealerCode = dealer_Code; |
||||
|
MobileNumber = mobile; |
||||
|
OtpVerified = otp_verified; |
||||
|
PinCode = pincode; |
||||
|
EnquiryMode = enquiry_mode; |
||||
|
Source = source; |
||||
|
SubSource = sub_source; |
||||
|
ReferralURL = referral_URL; |
||||
|
CompositeKey = composite_Key; |
||||
|
EnquiryClassification = enquiry_Classification; |
||||
|
AutoModel = auto_model; |
||||
|
BuSubtype = bu_Sub_type; |
||||
|
SitecoreBookingID = sitcore_Booking_ID; |
||||
|
BookingStatus = booking_Status; |
||||
|
CCAvenueTransactionID = cc_Avenue_Transaction_ID; |
||||
|
BookingReceiptNumber = booking_receipt_Number; |
||||
|
BookingAmountTRM = booking_amount_TRM; |
||||
|
TestRideDate = test_ride_date; |
||||
|
TestRideSlot = test_ride_slot; |
||||
|
TestRideLocation = test_ride_location; |
||||
|
UtmSource = utmSource; |
||||
|
UtmMedium = utmMedium; |
||||
|
SourceCampaign = sourceCampaign; |
||||
|
UtmContent = utmContent; |
||||
|
ConsentToWhatsapp = consentToWhatsapp; |
||||
|
LeadPlatform = leadPlatform; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
[JsonProperty("bu")] |
||||
|
public string BU { get; } |
||||
|
|
||||
|
[JsonProperty("model_Code")] |
||||
|
public string ModelCode { get; } |
||||
|
|
||||
|
[JsonProperty("color")] |
||||
|
public string Color { get; } |
||||
|
|
||||
|
[JsonProperty("customer_Name")] |
||||
|
public string CustomerName { get; } |
||||
|
|
||||
|
[JsonProperty("location_of_the_customer")] |
||||
|
public string Locationofthecustomer { get; } |
||||
|
|
||||
|
[JsonProperty("dealer_Code")] |
||||
|
public string DealerCode { get; } |
||||
|
|
||||
|
[JsonProperty("mobile")] |
||||
|
public string MobileNumber { get; } |
||||
|
|
||||
|
[JsonProperty("otp_verified")] |
||||
|
public string OtpVerified { get; } |
||||
|
|
||||
|
[JsonProperty("pincode")] |
||||
|
public string PinCode { get; } |
||||
|
|
||||
|
[JsonProperty("enquiry_mode")] |
||||
|
public string EnquiryMode { get; } |
||||
|
|
||||
|
[JsonProperty("source")] |
||||
|
public string Source { get; } |
||||
|
|
||||
|
[JsonProperty("sub_source")] |
||||
|
public string SubSource { get; } |
||||
|
|
||||
|
[JsonProperty("referral_URL")] |
||||
|
public string ReferralURL { get; } |
||||
|
|
||||
|
[JsonProperty("composite_Key")] |
||||
|
public string CompositeKey { get; } |
||||
|
|
||||
|
[JsonProperty("enquiry_Classification")] |
||||
|
public string EnquiryClassification { get; } |
||||
|
|
||||
|
[JsonProperty("auto_model")] |
||||
|
public string AutoModel { get; } |
||||
|
|
||||
|
[JsonProperty("bu_Sub_type")] |
||||
|
public string BuSubtype { get; } |
||||
|
|
||||
|
[JsonProperty("sitcore_Booking_ID")] |
||||
|
public string SitecoreBookingID { get; } |
||||
|
|
||||
|
[JsonProperty("booking_Status")] |
||||
|
public string BookingStatus { get; } |
||||
|
|
||||
|
[JsonProperty("cc_Avenue_Transaction_ID")] |
||||
|
public string CCAvenueTransactionID { get; } |
||||
|
|
||||
|
[JsonProperty("booking_receipt_Number")] |
||||
|
public string BookingReceiptNumber { get; } |
||||
|
|
||||
|
[JsonProperty("booking_amount_TRM")] |
||||
|
public string BookingAmountTRM { get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_date")] |
||||
|
public string TestRideDate { get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_slot")] |
||||
|
public string TestRideSlot{ get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_location")] |
||||
|
public string TestRideLocation { get; } |
||||
|
|
||||
|
[JsonProperty("utmSource")] |
||||
|
public string UtmSource { get; } |
||||
|
|
||||
|
[JsonProperty("utmMedium")] |
||||
|
public string UtmMedium { get; } |
||||
|
|
||||
|
[JsonProperty("sourceCampaign")] |
||||
|
public string SourceCampaign { get; } |
||||
|
|
||||
|
[JsonProperty("utmContent")] |
||||
|
public string UtmContent { get; } |
||||
|
|
||||
|
[JsonProperty("consentToWhatsapp")] |
||||
|
public string ConsentToWhatsapp { get; } |
||||
|
|
||||
|
[JsonProperty("leadPlatform")] |
||||
|
public string LeadPlatform { get; } |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,149 @@ |
|||||
|
using Newtonsoft.Json; |
||||
|
|
||||
|
namespace DealerSelection.Api.Models; |
||||
|
|
||||
|
public class LsqSuccessData |
||||
|
{ |
||||
|
public LsqSuccessData(string bu, string model_Code, string color, string customer_Name, |
||||
|
string location_of_the_customer |
||||
|
, string dealer_Code, string mobile, string otp_verified, string pincode |
||||
|
, string enquiry_mode, string source, string sub_source, string referral_URL |
||||
|
, string composite_Key, string enquiry_Classification |
||||
|
, string auto_model, string bu_Sub_type, string sitcore_Booking_ID |
||||
|
, string booking_Status, string cc_Avenue_Transaction_ID, string booking_receipt_Number |
||||
|
, string booking_amount_TRM, string test_ride_date, string test_ride_slot |
||||
|
, string test_ride_location, string utmSource, string utmMedium, string sourceCampaign |
||||
|
, string utmContent, string consentToWhatsapp, string leadPlatform, string isDefaultDealer) |
||||
|
{ |
||||
|
BU= bu; |
||||
|
ModelCode= model_Code; |
||||
|
Color= color; |
||||
|
CustomerName= customer_Name; |
||||
|
Locationofthecustomer= location_of_the_customer; |
||||
|
DealerCode= dealer_Code; |
||||
|
MobileNumber= mobile; |
||||
|
OtpVerified= otp_verified; |
||||
|
PinCode= pincode; |
||||
|
EnquiryMode= enquiry_mode; |
||||
|
Source= source; |
||||
|
SubSource= sub_source; |
||||
|
ReferralURL= referral_URL; |
||||
|
CompositeKey= composite_Key; |
||||
|
EnquiryClassification = enquiry_Classification; |
||||
|
AutoModel= auto_model; |
||||
|
BuSubtype = bu_Sub_type; |
||||
|
SitecoreBookingID = sitcore_Booking_ID; |
||||
|
BookingStatus = booking_Status; |
||||
|
CCAvenueTransactionID = cc_Avenue_Transaction_ID; |
||||
|
BookingReceiptNumber = booking_receipt_Number; |
||||
|
BookingAmountTRM= booking_amount_TRM; |
||||
|
TestRideDate= test_ride_date; |
||||
|
TestRideSlot = test_ride_slot; |
||||
|
TestRideLocation= test_ride_location; |
||||
|
UtmSource = utmSource; |
||||
|
UtmMedium= utmMedium; |
||||
|
SourceCampaign= sourceCampaign; |
||||
|
UtmContent = utmContent; |
||||
|
ConsentToWhatsapp= consentToWhatsapp; |
||||
|
LeadPlatform= leadPlatform; |
||||
|
IsDefaultDealer= isDefaultDealer; |
||||
|
|
||||
|
} |
||||
|
[JsonProperty("bu")] |
||||
|
public string BU { get; } |
||||
|
|
||||
|
[JsonProperty("model_Code")] |
||||
|
public string ModelCode { get; } |
||||
|
|
||||
|
[JsonProperty("color")] |
||||
|
public string Color { get; } |
||||
|
|
||||
|
[JsonProperty("customer_Name")] |
||||
|
public string CustomerName { get; } |
||||
|
|
||||
|
[JsonProperty("location_of_the_customer")] |
||||
|
public string Locationofthecustomer { get; } |
||||
|
|
||||
|
[JsonProperty("dealer_Code")] |
||||
|
public string DealerCode { get; } |
||||
|
|
||||
|
[JsonProperty("mobile")] |
||||
|
public string MobileNumber { get; } |
||||
|
|
||||
|
[JsonProperty("otp_verified")] |
||||
|
public string OtpVerified { get; } |
||||
|
|
||||
|
[JsonProperty("pincode")] |
||||
|
public string PinCode { get; } |
||||
|
|
||||
|
[JsonProperty("enquiry_mode")] |
||||
|
public string EnquiryMode { get; } |
||||
|
|
||||
|
[JsonProperty("source")] |
||||
|
public string Source { get; } |
||||
|
|
||||
|
[JsonProperty("sub_source")] |
||||
|
public string SubSource { get; } |
||||
|
|
||||
|
[JsonProperty("referral_URL")] |
||||
|
public string ReferralURL { get; } |
||||
|
|
||||
|
[JsonProperty("composite_Key")] |
||||
|
public string CompositeKey { get; } |
||||
|
|
||||
|
[JsonProperty("enquiry_Classification")] |
||||
|
public string EnquiryClassification { get; } |
||||
|
|
||||
|
[JsonProperty("auto_model")] |
||||
|
public string AutoModel { get; } |
||||
|
|
||||
|
[JsonProperty("bu_Sub_type")] |
||||
|
public string BuSubtype { get; } |
||||
|
|
||||
|
[JsonProperty("sitcore_Booking_ID")] |
||||
|
public string SitecoreBookingID { get; } |
||||
|
|
||||
|
[JsonProperty("booking_Status")] |
||||
|
public string BookingStatus { get; } |
||||
|
|
||||
|
[JsonProperty("cc_Avenue_Transaction_ID")] |
||||
|
public string CCAvenueTransactionID { get; } |
||||
|
|
||||
|
[JsonProperty("booking_receipt_Number")] |
||||
|
public string BookingReceiptNumber { get; } |
||||
|
|
||||
|
[JsonProperty("booking_amount_TRM")] |
||||
|
public string BookingAmountTRM { get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_date")] |
||||
|
public string TestRideDate { get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_slot")] |
||||
|
public string TestRideSlot{ get; } |
||||
|
|
||||
|
[JsonProperty("test_ride_location")] |
||||
|
public string TestRideLocation { get; } |
||||
|
|
||||
|
[JsonProperty("utmSource")] |
||||
|
public string UtmSource { get; } |
||||
|
|
||||
|
[JsonProperty("utmMedium")] |
||||
|
public string UtmMedium { get; } |
||||
|
|
||||
|
[JsonProperty("sourceCampaign")] |
||||
|
public string SourceCampaign { get; } |
||||
|
|
||||
|
[JsonProperty("utmContent")] |
||||
|
public string UtmContent { get; } |
||||
|
|
||||
|
[JsonProperty("consentToWhatsapp")] |
||||
|
public string ConsentToWhatsapp { get; } |
||||
|
|
||||
|
[JsonProperty("leadPlatform")] |
||||
|
public string LeadPlatform { get; } |
||||
|
|
||||
|
[JsonProperty("isDefaultDealer")] |
||||
|
public string IsDefaultDealer { get; } |
||||
|
|
||||
|
|
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue