namespace VECV_WebApi.Models.Dashboard { #region Namespaces using System; using System.Collections.Generic; using System.Linq; using System.Web; #endregion /// /// This class contain dashboard properties /// public class DashboardModel { /// /// Get or set Token /// public string Token { get; set; } /// /// Get or set Key /// public string Key { get; set; } /// /// Get or set KeyName /// public string KeyName { get; set; } /// /// Get or set Key Value /// public string KeyValue { get; set; } /// /// Get or set Status /// public string Status { get; set; } /// /// Get or set Message /// public string Message { get; set; } /// /// Get or set UserId /// public int? UserId { get; set; } /// /// Get or set FromDate /// public DateTime FromDate { get; set; } /// /// Get or set ToDate /// public DateTime ToDate { get; set; } /// /// Get or set utc minute /// public int UtcMinutes { get; set; } public string Email { get; set; } public string dealerCodes { get; set; } public string mobileNumber { get; set; } } public class NewDashboardDataModel { /// /// Get or set Token /// public string Token { get; set; } /// /// Get or set Key /// public string Key { get; set; } /// /// Get or set KeyName /// public string KeyName { get; set; } /// /// Get or set Key Value /// public string KeyValue { get; set; } /// /// Get or set Status /// public string Status { get; set; } /// /// Get or set Message /// public string Message { get; set; } /// /// Get or set UserId /// public int? UserId { get; set; } /// /// Get or set FromDate /// public DateTime FromDate { get; set; } /// /// Get or set ToDate /// public DateTime ToDate { get; set; } /// /// Get or set utc minute /// public int UtcMinute { get; set; } /// /// Get or set Key /// public string[] regionVal { get; set; } /// /// Get or set Key /// public string[] dealerVal { get; set; } /// /// Get or set Key /// public string[] verticleVal { get; set; } /// /// Get or set Key /// public string[] emissionVal { get; set; } /// /// Get or set Key /// public string[] customerVal { get; set; } public string[] modelNumber { get; set; } /// /// Get or set Ticket Type /// public string StartDate { get; set; } /// /// Get or set Ticket Type /// public string EndDate { get; set; } public string fuel_type { get; set; } } public class VehicleTypeModel { /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set vehicle type id /// public string VehicleTypeId { get; set; } /// /// Get or Set vehicle type name /// public string VehicleTypeName { get; set; } /// /// Get or Set vehicle type tagging /// public string VehicleTypeTagging { get; set; } /// /// Get or Set status /// public string Status { get; set; } /// /// Get or Set message /// public string Message { get; set; } /// /// Get or Set operation /// public string Operation { get; set; } /// /// Get or Set isDeleted bit /// public Boolean IsDeleted { get; set; } /// /// Get or Set isDeleted bit /// public string VehicleRegistrationNumber { get; set; } public string udanVehicleProductId { get; set; } public string udanVehicleProductName { get; set; } } public class VerticleModel { /// /// Get or Set id /// // public string? Id { get; set; } /// /// Get or Set reason name /// public string VerticleName { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } public class GraphModel { /// /// Get or Set id /// // public string? Id { get; set; } /// /// Get or Set reason name /// public string RegionName { get; set; } /// /// Get or Set security token /// public Int32 count_25km { get; set; } /// /// Get or Set message /// public Int32 count_50km { get; set; } /// /// Get or Set message /// public Int32 count_100km { get; set; } /// /// Get or Set message /// public Int32 count_More_Than_100km { get; set; } } public class RegionModel { /// /// Get or Set id /// public string Id { get; set; } /// /// Get or Set reason name /// public string RegionName { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } public class EmissionModel { /// /// Get or Set id /// // public string? Id { get; set; } /// /// Get or Set reason name /// public string EmissionName { get; set; } /// /// Get or Set security token /// public string Token { get; set; } /// /// Get or Set message /// public string Message { get; set; } } public class TicketActivityCloseModelVECV { public string TicketId { get; set; } public long? Id { get; set; } public string ActivityTicketsOpenCreatedBy { get; set; } public string ActivityTicketsOpenCreationTime { get; set; } public string Remarks { get; set; } public int? TicketActivityStatus { get; set; } } public class TicketActivityOpenModelVECV { public string TicketId { get; set; } public long? Id { get; set; } public string ActivityTicketsOpenCreatedBy { get; set; } public string ActivityTicketsOpenCreationTime { get; set; } public string Remarks { get; set; } public int? TicketActivityStatus { get; set; } } public class VECVCustomerCloseTicketDetail { public string TicketId { get; set; } public string TicketIdAlias { get; set; } public string Description { get; set; } public string AssignedTo { get; set; } public string ReportedVia { get; set; } public int? TicketStatus { get; set; } public int? Priority { get; set; } public string CustomerScore { get; set; } public string CreatedBy { get; set; } public string CreationTime { get; set; } public string LastModifiedBy { get; set; } public string LastModifiedTime { get; set; } public string BreakdownLocation { get; set; } public string BreakdownLongitude { get; set; } public string BreakdownLattitude { get; set; } public string AssignedToUserId { get; set; } public string AssignedToUserLattitude { get; set; } public string AssignedToUserLongitude { get; set; } public bool? Isdeclined { get; set; } public int? EstimatedTimeForJobCompletion { get; set; } public int? TotalTicketLifecycleTimeSla { get; set; } public string EstimatedTimeForJobCompletionSubmitTime { get; set; } public string VehicleRegisterNumber { get; set; } public string BreakdownLocationLandmark { get; set; } public int? RouteId { get; set; } public string CustomerContactNo { get; set; } public string RepairCost { get; set; } public int? DefaultSlaTime { get; set; } public string SlaMissedReason { get; set; } public string SuggestionComment { get; set; } public string JobCompleteResponseTime { get; set; } public string DefaultCol2 { get; set; } public string DefaultCol3 { get; set; } public string EstimatedDistance { get; set; } public string Owner_Contact_no { get; set; } public bool? IsTripEnd { get; set; } public string ChassisNo { get; set; } public double OdometerReading { get; set; } public double PreviousOdometerReading { get; set; } public string VehicleType { get; set; } public string VehicleWarranty { get; set; } public string VehicleAMC { get; set; } public string VehicleSalesDate { get; set; } public string TicketSource { get; set; } public string OwnerName { get; set; } public string CustomerId { get; set; } public string CustomerType { get; set; } public bool? IsKam { get; set; } public bool? IsTripStart { get; set; } } public class VECVCustomerOpenTicketDetail { public string TicketId { get; set; } public string TicketIdAlias { get; set; } public string Description { get; set; } public string AssignedTo { get; set; } public string ReportedVia { get; set; } public int? TicketStatus { get; set; } public int? Priority { get; set; } public string CustomerScore { get; set; } public string CreatedBy { get; set; } public string CreationTime { get; set; } public string LastModifiedBy { get; set; } public string LastModifiedTime { get; set; } public string BreakdownLocation { get; set; } public string BreakdownLongitude { get; set; } public string BreakdownLattitude { get; set; } public string AssignedToUserId { get; set; } public string AssignedToUserLattitude { get; set; } public string AssignedToUserLongitude { get; set; } public bool? Isdeclined { get; set; } public int? EstimatedTimeForJobCompletion { get; set; } public int? TotalTicketLifecycleTimeSla { get; set; } public string EstimatedTimeForJobCompletionSubmitTime { get; set; } public string VehicleRegisterNumber { get; set; } public string BreakdownLocationLandmark { get; set; } public int? RouteId { get; set; } public string CustomerContactNo { get; set; } public string RepairCost { get; set; } public int? DefaultSlaTime { get; set; } public string SlaMissedReason { get; set; } public string SuggestionComment { get; set; } public string JobCompleteResponseTime { get; set; } public string DefaultCol2 { get; set; } public string DefaultCol3 { get; set; } public string EstimatedDistance { get; set; } public string Owner_Contact_no { get; set; } public bool IsTripEnd { get; set; } public string ChassisNo { get; set; } public double OdoMeter { get; set; } public string ChassisNumber { get; set; } public double OdometerReading { get; set; } public double PreviousOdometerReading { get; set; } public string VehicleType { get; set; } public string VehicleWarranty { get; set; } public string VehicleAMC { get; set; } public string VehicleSalesDate { get; set; } public string TicketSource { get; set; } public string OwnerName { get; set; } public string CustomerId { get; set; } public string CustomerType { get; set; } public bool? IsKam { get; set; } public bool? IsTripStart { get; set; } } public class VECVSyncModel { public List TicketOpenList { get; set; } public List TicketCloseList { get; set; } public string DeviceAlias { get; set; } public string DealerCode { get; set; } public string Ieminumber { get; set; } public string DbSynLastTime { get; set; } public string Token { get; set; } public string Status { get; set; } public string Message { get; set; } public string KamUserId { get; set; } public string Email { get; set; } } public class VECVTicketOpenModel { private string _PreClosureTime = ""; public string ASMName { get; set; } public string ASMNo { get; set; } public string CSMName { get; set; } public string CSMNo { get; set; } public string RSMName { get; set; } public string RSMNo { get; set; } public string dealer1scode { get; set; } public string Token { get; set; } public string KamId { get; set; } public string ticketid_alias { get; set; } public double odometer_reading { get; set; } public string ticket_source { get; set; } public string customer_id { get; set; } public string customer_type { get; set; } public string owner_name { get; set; } public bool? is_kam { get; set; } public string NewVehicleType { get; set; } public string Status { get; set; } public string Message { get; set; } public string Id { get; set; } public string Description { get; set; } public string AssignedTo { get; set; } public string ReportedVia { get; set; } public int? TicketStatus { get; set; } public int? Priority { get; set; } public string CutomerScore { get; set; } public string CreatedBy { get; set; } public string CreationTime { get; set; } public string LastModifiedBy { get; set; } public string LastModifiedTime { get; set; } public string BreakDownLocation { get; set; } public string BreackDownLongitude { get; set; } public string BreackDownLatitude { get; set; } public string AssignedToUserId { get; set; } public string AssignedToUserLongitude { get; set; } public string AssignedToUserLatitude { get; set; } public bool? IsDeclined { get; set; } public int? EstimatedTimeForJobComplition { get; set; } public int? TotalTicketLifeCycleTimeSlab { get; set; } public string EstimatedTimeForJobComplitionSubmitTime { get; set; } public string VehicleRegistrationNo { get; set; } public string EstimatedTimeForJobCompletionSubmitTime { get; set; } public string BreakdownLocationLandmark { get; set; } public string ActivityTicketsOpenCreatedBy { get; set; } public string ActivityTicketsOpenCreationTime { get; set; } public string Remarks { get; set; } public string TicketActivityStatus { get; set; } public string TicketStatusAlias { get; set; } public string TicketStatusSequenceOrder { get; set; } public string TicketStatusStatusName { get; set; } public string UserId { get; set; } public string AuthEngineId { get; set; } public string UserName { get; set; } public string Designation { get; set; } public string ObjectId { get; set; } public int? OrganizationId { get; set; } public string City { get; set; } public string State { get; set; } public string Region { get; set; } public string Language { get; set; } public long? TimezoneId { get; set; } public string DisplayName { get; set; } public string OffsetInMinutes { get; set; } public string DisplayId { get; set; } public string UserOrganizationName { get; set; } public string UserOrganizationAlias { get; set; } public string UserOrganizationCity { get; set; } public string UserOrganizationState { get; set; } public string UserAsorganizationCountry { get; set; } public string UserOrganizationDescription { get; set; } public string UserOrgPath { get; set; } public string UserOrgDepth { get; set; } public string UserOrgColor { get; set; } public string UserOrganizationRegion { get; set; } public string DealerId { get; set; } public int? DealerOrganizationId { get; set; } public string DealerDealerName { get; set; } public string DealerCity { get; set; } public string DealerState { get; set; } public string DealerDealerDefaultLattitude { get; set; } public string DealerDealerDefaultLongitude { get; set; } public string VanId { get; set; } public string VanAlias { get; set; } public string VanVanDefaultLattitude { get; set; } public string VanVanDefaultLongitude { get; set; } public string VanCity { get; set; } public string VanState { get; set; } public string VanVanModel { get; set; } public string VanRegistrationNumber { get; set; } public string VanVanRegisteredAs { get; set; } public string DealerVanOrganizationName { get; set; } public string DealerVanOrganizationOrganizationAlias { get; set; } public string DealerVanOrganizationOrganizationCity { get; set; } public string DealerVanOrganizationOrganizationState { get; set; } public string DealerVanOrganizationOrganizationCountry { get; set; } public string DealerVanOrganizationOrganizationDescription { get; set; } public string DealerVanOrganizationOrganizationPath { get; set; } public string DealerVanOrganizationOrganizationDepth { get; set; } public string DealerVanOrganizationOrganizationColor { get; set; } public string DealerVanOrganizationOrganizationRegion { get; set; } public string ServiceEngineerId { get; set; } public string ServiceEngineerName { get; set; } public string ServiceEngineerAlias { get; set; } public string ServiceEngineerImeiNumber { get; set; } public string ServiceEngineerContactNumber { get; set; } public string ServiceEngineerApplicationLicenseKey { get; set; } public bool? ServiceEngineerMobileApplicationBlocked { get; set; } public long? ServiceEngineerDeviceAlias { get; set; } public string ServiceEngineerPinPassword { get; set; } public int? RouteId { get; set; } public string CustomeContact_no { get; set; } public string VehicleType { get; set; } public string RepairCost { get; set; } public int? DefaultSlaTime { get; set; } public int? DeviceAlias { get; set; } public string Ieminumber { get; set; } public string SlaMissedReason { get; set; } public string SuggestionComment { get; set; } public string JobCompleteResponseTime { get; set; } public string DefaultCol2 { get; set; } public string DefaultCol3 { get; set; } public string VehicleTagging { get; set; } public string CustomerName { get; set; } public string EstimatedDistance { get; set; } public double? Age { get; set; } public string OwnerContact_no { get; set; } public string CallStatus { get; set; } public string caller_language { get; set; } public string feedback_call_status { get; set; } public string total_count { get; set; } public string reopen_count { get; set; } public string gps_status { get; set; } public string PreClosureTime { get { if (this._PreClosureTime == "01 Jan 0001 05:30:00") this._PreClosureTime = ""; return this._PreClosureTime; } set => this._PreClosureTime = value; } public bool? IsDeleted { get; set; } public string Score { get; set; } public string current_latitude { get; set; } public string current_longitude { get; set; } public string ChassisNo { get; set; } public double OdometerReading { get; set; } public string VanReachedPunchTime { get; set; } public string VanLatitudeAtTripStart { get; set; } public string VanLongitudeAtTripStart { get; set; } public string VanLatitudeAtVanReached { get; set; } public string VanLongitudeAtVanReached { get; set; } public string VanLatitudeAtTripEnd { get; set; } public string VanLongitudeAtTripEnd { get; set; } public string BreakdownLocationLatitude { get; set; } public string BreakdownLocationLongitude { get; set; } public string TicketClosedReason { get; set; } public string vehicle_warranty { get; set; } public string vehicle_amc { get; set; } public string vehicle_emission_norms { get; set; } public string vehicle_sales_date { get; set; } } public class VECVTicketOpenModelNew { private string _PreClosureTime = ""; public string ASMName { get; set; } public string ASMNo { get; set; } public string CSMName { get; set; } public string CSMNo { get; set; } public string RSMName { get; set; } public string RSMNo { get; set; } public string dealer1scode { get; set; } public string Token { get; set; } public string KamId { get; set; } public string ticketid_alias { get; set; } public double odometer_reading { get; set; } public string ticket_source { get; set; } public string customer_id { get; set; } public string customer_type { get; set; } public string owner_name { get; set; } public bool? is_kam { get; set; } public string NewVehicleType { get; set; } public string Status { get; set; } public string Message { get; set; } public string Id { get; set; } public string Description { get; set; } public string AssignedTo { get; set; } public string ReportedVia { get; set; } public int? TicketStatus { get; set; } public int? Priority { get; set; } public string CutomerScore { get; set; } public string CreatedBy { get; set; } public string CreationTime { get; set; } public string LastModifiedBy { get; set; } public string LastModifiedTime { get; set; } public string BreakDownLocation { get; set; } public string BreackDownLongitude { get; set; } public string BreackDownLatitude { get; set; } public string AssignedToUserId { get; set; } public string AssignedToUserLongitude { get; set; } public string AssignedToUserLatitude { get; set; } public bool? IsDeclined { get; set; } public int? EstimatedTimeForJobComplition { get; set; } public string TotalTicketLifeCycleTimeSlab { get; set; } public string EstimatedTimeForJobComplitionSubmitTime { get; set; } public string VehicleRegistrationNo { get; set; } public string EstimatedTimeForJobCompletionSubmitTime { get; set; } public string BreakdownLocationLandmark { get; set; } public string ActivityTicketsOpenCreatedBy { get; set; } public string ActivityTicketsOpenCreationTime { get; set; } public string Remarks { get; set; } public string TicketActivityStatus { get; set; } public string TicketStatusAlias { get; set; } public string TicketStatusSequenceOrder { get; set; } public string TicketStatusStatusName { get; set; } public string UserId { get; set; } public string AuthEngineId { get; set; } public string UserName { get; set; } public string Designation { get; set; } public string ObjectId { get; set; } public int? OrganizationId { get; set; } public string City { get; set; } public string State { get; set; } public string Region { get; set; } public string Language { get; set; } public long? TimezoneId { get; set; } public string DisplayName { get; set; } public string OffsetInMinutes { get; set; } public string DisplayId { get; set; } public string UserOrganizationName { get; set; } public string UserOrganizationAlias { get; set; } public string UserOrganizationCity { get; set; } public string UserOrganizationState { get; set; } public string UserAsorganizationCountry { get; set; } public string UserOrganizationDescription { get; set; } public string UserOrgPath { get; set; } public string UserOrgDepth { get; set; } public string UserOrgColor { get; set; } public string UserOrganizationRegion { get; set; } public string DealerId { get; set; } public int? DealerOrganizationId { get; set; } public string DealerDealerName { get; set; } public string DealerCity { get; set; } public string DealerState { get; set; } public string DealerDealerDefaultLattitude { get; set; } public string DealerDealerDefaultLongitude { get; set; } public string VanId { get; set; } public string VanAlias { get; set; } public string VanVanDefaultLattitude { get; set; } public string VanVanDefaultLongitude { get; set; } public string VanCity { get; set; } public string VanState { get; set; } public string VanVanModel { get; set; } public string VanRegistrationNumber { get; set; } public string VanVanRegisteredAs { get; set; } public string DealerVanOrganizationName { get; set; } public string DealerVanOrganizationOrganizationAlias { get; set; } public string DealerVanOrganizationOrganizationCity { get; set; } public string DealerVanOrganizationOrganizationState { get; set; } public string DealerVanOrganizationOrganizationCountry { get; set; } public string DealerVanOrganizationOrganizationDescription { get; set; } public string DealerVanOrganizationOrganizationPath { get; set; } public string DealerVanOrganizationOrganizationDepth { get; set; } public string DealerVanOrganizationOrganizationColor { get; set; } public string DealerVanOrganizationOrganizationRegion { get; set; } public string ServiceEngineerId { get; set; } public string ServiceEngineerName { get; set; } public string ServiceEngineerAlias { get; set; } public string ServiceEngineerImeiNumber { get; set; } public string ServiceEngineerContactNumber { get; set; } public string ServiceEngineerApplicationLicenseKey { get; set; } public bool? ServiceEngineerMobileApplicationBlocked { get; set; } public long? ServiceEngineerDeviceAlias { get; set; } public string ServiceEngineerPinPassword { get; set; } public int? RouteId { get; set; } public string CustomeContact_no { get; set; } public string VehicleType { get; set; } public string RepairCost { get; set; } public string DefaultSlaTime { get; set; } public int? DeviceAlias { get; set; } public string Ieminumber { get; set; } public string SlaMissedReason { get; set; } public string SuggestionComment { get; set; } public string JobCompleteResponseTime { get; set; } public string DefaultCol2 { get; set; } public string DefaultCol3 { get; set; } public string VehicleTagging { get; set; } public string CustomerName { get; set; } public string EstimatedDistance { get; set; } public double? Age { get; set; } public string OwnerContact_no { get; set; } public string CallStatus { get; set; } public string caller_language { get; set; } public string feedback_call_status { get; set; } public string total_count { get; set; } public string reopen_count { get; set; } public string gps_status { get; set; } public string PreClosureTime { get { if (this._PreClosureTime == "01 Jan 0001 05:30:00") this._PreClosureTime = ""; return this._PreClosureTime; } set => this._PreClosureTime = value; } public bool? IsDeleted { get; set; } public string Score { get; set; } public string current_latitude { get; set; } public string current_longitude { get; set; } public string ChassisNo { get; set; } public double OdometerReading { get; set; } public string VanReachedPunchTime { get; set; } public string VanLatitudeAtTripStart { get; set; } public string VanLongitudeAtTripStart { get; set; } public string VanLatitudeAtVanReached { get; set; } public string VanLongitudeAtVanReached { get; set; } public string VanLatitudeAtTripEnd { get; set; } public string VanLongitudeAtTripEnd { get; set; } public string BreakdownLocationLatitude { get; set; } public string BreakdownLocationLongitude { get; set; } public string TicketClosedReason { get; set; } public string vehicle_warranty { get; set; } public string vehicle_amc { get; set; } public string vehicle_emission_norms { get; set; } public string vehicle_sales_date { get; set; } } public class VECVTicketRequestModel { public string TicketType { get; set; } public int KamTicketId { get; set; } public string Token { get; set; } public string Status { get; set; } public string Message { get; set; } public int? UserId { get; set; } public string KamUserId { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public int? Limit { get; set; } public int? OffSet { get; set; } public List TicketList { get; set; } public long? TicketCount { get; set; } public string Condition { get; set; } public int? UtcMinute { get; set; } public string VehicleType { get; set; } public string Organization { get; set; } public string StartDate { get; set; } public string EndDate { get; set; } public string Email { get; set; } public string Dealers { get; set; } } public class VECVTicketRequestModelNew { public string TicketType { get; set; } public int KamTicketId { get; set; } public string Token { get; set; } public string Status { get; set; } public string Message { get; set; } public int? UserId { get; set; } public string KamUserId { get; set; } public DateTime FromDate { get; set; } public DateTime ToDate { get; set; } public int? Limit { get; set; } public int? OffSet { get; set; } public List TicketList { get; set; } public long? TicketCount { get; set; } public string Condition { get; set; } public int? UtcMinute { get; set; } public string VehicleType { get; set; } public string Organization { get; set; } public string StartDate { get; set; } public string EndDate { get; set; } public string Email { get; set; } public string Dealers { get; set; } } }