using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;
namespace GODATA.Models.Report
{
public class ReportModel
{
}
///
/// This class contain TicketList model properties
///
public class TicketList
{
public string _CreationTime = "";
///
/// Get or set Ticket id
///
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
///
/// Get or set Ticket status alias
///
[Display(Name = "Ticket Status")]
public string TicketStatusAlias { get; set; }
///
/// Get or set creation time of ticket
///
[Display(Name = "Ticket Creation Time")]
public string CreationTime { get { return _CreationTime; } set { _CreationTime = value; } }
///
/// Get or set customer name
///
[Display(Name = "Customer Name")]
public string CustomerName { get; set; }
///
/// Get or set Customer Contact No.
///
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
///
/// Get or set customer's vehicle registration no.
///
public string VehicleRegistrationNo { get; set; }
///
/// Get or set Vehicle Tagging
///
public string VehicleTagging { get; set; }
///
/// Get or set Default SLA Time
///
public int DefaultSlaTime { get; set; }
///
/// Get or set Response Time
///
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
///
/// Get or set Service Engineer Name
///
// [Display(Name = "Van SE Name")]
public string ServiceEngineerName { get; set; }
///
/// Get or set Dealer Name
///
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
///
/// Get or set Dealer Contact No.
///
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
public string caller_language { get; set; }
///
/// Get or set default column
///
public string DefaultCol2 { get; set; }
///
/// Get or set Security Token
///
public string feedback_call_status { get; set; }
///
/// Get or set Status
///
public string total_count { get; set; }
public string reopen_count { get; set; }
public string PreClosureTime { get; set; }
public string ChassisNo { get; set; }
public double OdometerReading { get; set; }
public string VanReachedPunchTime { get; set; } //added on 23-12-2020
//added on 25-09-2020
//[Display(Name = "Van Trip Start Latitude")]
public string VanLatitudeAtTripStart { get; set; }
//[Display(Name = "Van Trip Start Longitude")]
public string VanLongitudeAtTripStart { get; set; }
//[Display(Name = "Van Reached Latitude")]
public string VanLatitudeAtVanReached { get; set; }
//[Display(Name = "Van Reached Longitude")]
public string VanLongitudeAtVanReached { get; set; }
//[Display(Name = "Van Trip End Latitude")]
public string VanLatitudeAtTripEnd { get; set; }
//[Display(Name = "Van Reached Longitude")]
public string VanLongitudeAtTripEnd { get; set; }
public string BreakdownLocationLatitude { get; set; }
public string BreakdownLocationLongitude { get; set; }
//added on 03/12/2020
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; }
//ended on 03/12/2020
public string TicketClosedReason { get; set; } //added on 25-11-2020
public string LastModifiedTime { get; set; }
///
/// Get or set Message
///
public string gps_status { get; set; }
public string Score { get; set; }
///
/// Get or set Security Token
///
public string Token { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set Description
///
public string Description { get; set; }
///
/// Get or set ticket assigned to (van/dealer)
///
public string AssignedTo { get; set; }
///
/// Get or set Reported bu which user
///
public string ReportedVia { get; set; }
///
/// Get or set Ticket status
///
public string TicketStatus { get; set; }
///
/// Get or set priority
///
public string Priority { get; set; }
///
/// Get or set customer score
///
public string CutomerScore { get; set; }
///
/// Get or set created by which user
///
public string CreatedBy { get; set; }
///
/// Get or set last modified by which user
///
public string LastModifiedBy { get; set; }
///
/// Get or set last modified time
///
// public string LastModifiedTime { get; set; }
///
/// Get or set breakdown location
///
public string BreakDownLocation { get; set; }
///
/// Get or set breakdown longitude
///
public string BreackDownLongitude { get; set; }
///
/// Get or set breakdown latitude
///
public string BreackDownLatitude { get; set; }
///
/// Get or set assigned to van/dealer id
///
public string AssignedToUserId { get; set; }
///
/// Get or set assigned van/dealer longitude
///
public string AssignedToUserLongitude { get; set; }
///
/// Get or set assigned van/dealer latitude
///
public string AssignedToUserLatitude { get; set; }
///
/// Get or set is declined bit
///
public string IsDeclined { get; set; }
///
/// Get or set Estimated Time For Job Completion
///
public string EstimatedTimeForJobComplition { get; set; }
///
/// Get or set submit time
///
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
///
/// Get or set submit time
///
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
///
/// Get or set breakdown location landmark
///
public string BreakdownLocationLandmark { get; set; }
///
/// Get or set open ticket activity created by
///
public string ActivityTicketsOpenCreatedBy { get; set; }
///
/// Get or set open ticket activity creation time
///
public string ActivityTicketsOpenCreationTime { get; set; }
///
/// Get or set remarks
///
public string Remarks { get; set; }
///
/// Get or set Ticket activity status
///
public string TicketActivityStatus { get; set; }
///
/// Get or set Ticket status sequence for activity
///
public string TicketStatusSequenceOrder { get; set; }
///
/// Get or set Ticket status name
///
public string TicketStatusStatusName { get; set; }
///
/// Get or set user id
///
public string UserId { get; set; }
///
/// Get or set auth engine id/email id
///
public string AuthEngineId { get; set; }
///
/// Get or set User name
///
public string UserName { get; set; }
///
/// Get or set Designation
///
public string Designation { get; set; }
///
/// Get or set Object Id
///
public string ObjectId { get; set; }
///
/// Get or set Organization Id
///
public string OrganizationId { get; set; }
///
/// Get or set City
///
public string City { get; set; }
///
/// Get or set State
///
public string State { get; set; }
///
/// Get or set Region
///
public string Region { get; set; }
///
/// Get or set Language
///
public string Language { get; set; }
///
/// Get or set Time Zone ID
///
public string TimezoneId { get; set; }
///
/// Get or set display name
///
public string DisplayName { get; set; }
///
/// Get or set off set minutes for server side paging
///
public string OffsetInMinutes { get; set; }
///
/// Get or set Display Id
///
public string DisplayId { get; set; }
///
/// Get or set User Organization Name
///
public string UserOrganizationName { get; set; }
///
/// Get or set User Organization Alias
///
public string UserOrganizationAlias { get; set; }
///
/// Get or set User Organization City
///
public string UserOrganizationCity { get; set; }
///
/// Get or set User Organization State
///
public string UserOrganizationState { get; set; }
///
/// Get or set User Organization Country
///
public string UserAsorganizationCountry { get; set; }
///
/// Get or set User Organization Description
///
public string UserOrganizationDescription { get; set; }
///
/// Get or set User Organization Path
///
public string UserOrgPath { get; set; }
///
/// Get or set User Organization Depth (Levels)
///
public string UserOrgDepth { get; set; }
///
/// Get or set User Organization Color code
///
public string UserOrgColor { get; set; }
///
/// Get or set User Organization Region
///
public string UserOrganizationRegion { get; set; }
///
/// Get or set Dealer Id
///
public string DealerId { get; set; }
///
/// Get or set Dealer Organization Id
///
public string DealerOrganizationId { get; set; }
///
/// Get or set Dealer City
///
public string DealerCity { get; set; }
///
/// Get or set Dealer State
///
public string DealerState { get; set; }
///
/// Get or set Dealer Default latitude
///
public string DealerDealerDefaultLattitude { get; set; }
///
/// Get or set Dealer Default longitude
///
public string DealerDealerDefaultLongitude { get; set; }
///
/// Get or set van id
///
public string VanId { get; set; }
///
/// Get or set van alias
///
public string VanAlias { get; set; }
///
/// Get or set van Default latitude
///
public string VanVanDefaultLattitude { get; set; }
///
/// Get or set van Default longitude
///
public string VanVanDefaultLongitude { get; set; }
///
/// Get or set van city
///
public string VanCity { get; set; }
///
/// Get or set van state
///
public string VanState { get; set; }
///
/// Get or set van model
///
public string VanVanModel { get; set; }
///
/// Get or set van registration no.
///
public string VanRegistrationNumber { get; set; }
///
/// Get or set van registration no.
///
public string VanVanRegisteredAs { get; set; }
///
/// Get or set van/dealer organization name
///
public string DealerVanOrganizationName { get; set; }
///
/// Get or set van/dealer organization alias
///
public string DealerVanOrganizationOrganizationAlias { get; set; }
///
/// Get or set van/dealer organization city
///
public string DealerVanOrganizationOrganizationCity { get; set; }
///
/// Get or set van/dealer organization state
///
public string DealerVanOrganizationOrganizationState { get; set; }
///
/// Get or set van/dealer organization country
///
public string DealerVanOrganizationOrganizationCountry { get; set; }
///
/// Get or set van/dealer organization description
///
public string DealerVanOrganizationOrganizationDescription { get; set; }
///
/// Get or set van/dealer organization path
///
public string DealerVanOrganizationOrganizationPath { get; set; }
///
/// Get or set van/dealer organization depth
///
public string DealerVanOrganizationOrganizationDepth { get; set; }
///
/// Get or set van/dealer organization color code
///
public string DealerVanOrganizationOrganizationColor { get; set; }
///
/// Get or set van/dealer organization region
///
public string DealerVanOrganizationOrganizationRegion { get; set; }
///
/// Get or set service engineer id
///
public string ServiceEngineerId { get; set; }
///
/// Get or set service engineer alias
///
public string ServiceEngineerAlias { get; set; }
///
/// Get or set service engineer imei no.
///
public string ServiceEngineerImeiNumber { get; set; }
///
/// Get or set service engineer license key
///
public string ServiceEngineerApplicationLicenseKey { get; set; }
///
/// Get or set service engineer Mobile Application Blocked (true/false)
///
public string ServiceEngineerMobileApplicationBlocked { get; set; }
///
/// Get or set service engineer device alias
///
public string ServiceEngineerDeviceAlias { get; set; }
///
/// Get or set service engineer pin password
///
public string ServiceEngineerPinPassword { get; set; }
///
/// Get or set route id
///
public string RouteId { get; set; }
///
/// Get or set vehicle type
///
public string VehicleType { get; set; }
///
/// Get or set repair cost
///
public string RepairCost { get; set; }
///
/// Get or set device alias
///
public string DeviceAlias { get; set; }
///
/// Get or set imei no.
///
public string Ieminumber { get; set; }
///
/// Get or set SLA missed reason
///
public string SlaMissedReason { get; set; }
///
/// Get or set suggestion comment
///
public string SuggestionComment { get; set; }
///
/// Get or set Job Complete Response Time
///
public string JobCompleteResponseTime { get; set; }
///
/// Get or set default column
///
public string DefaultCol3 { get; set; }
// public string CustomerName { get; set; }
///
/// Get or set Estimated Distance
///
public string EstimatedDistance { get; set; }
///
/// Get or set age
///
public double? Age { get; set; }
public string CallStatus { get; set; }
public string Id { get; set; }
public bool CreationTimeMorethan24Hrs
{
get
{
bool _CreationTimeMorethan24Hrs = false;
if (_CreationTime != "")
{
DateTime dtNow = DateTime.Parse(_CreationTime);
double dtDiff = (DateTime.Now - dtNow).TotalMinutes;
if (dtDiff > 1440)
{
_CreationTimeMorethan24Hrs = true;
}
}
return _CreationTimeMorethan24Hrs;
}
}
}
///
/// This class contain report open ticket model properties
///
public class ReportOpenTicketModel
{
public string TicketType { get; set; }
public string Token { get; set; }
public string Status { get; set; }
public string Message { get; set; }
public string UserId { get; set; }
public string FromDate { get; set; }
public string ToDate { get; set; }
public string Limit { get; set; }
public string OffSet { get; set; }
public Int32 TicketCount { get; set; }
public List TicketList { get; set; }
public List TicketScoreList { get; set; }
public List ConsolidatedReportModelList { get; set; }
}
///
/// This class contain TicketList model properties
///
#region REPORTS
#region EOS Call Count
///
/// Contains properties for Eos Call Count report
///
public class EosList
{
public object MonthName { get; set; }
public object NoOfCalls { get; set; }
public object Top23Reach2Hrs { get; set; }
public object NonTop23Reach2Hrs { get; set; }
public object ArtTop23 { get; set; }
public object ArtNonTop23 { get; set; }
public object Top23CallsClosed24Hrs { get; set; }
public object NonTop23CallsClosed24Hrs { get; set; }
}
///
/// Contains metadata and list for Eos Call Count report
///
public class EosCallCount
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public List EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
}
#endregion
#region HD, LMD & Buses Contribution
///
/// Contains properties for Hd Lmd Bus Contribution
///
public class HdLmdBusContributionList
{
public object MonthName { get; set; }
public object TotalCalls { get; set; }
public object HDCalls { get; set; }
public object BusCalls { get; set; }
public object LMDCalls { get; set; }
public object HdPer { get; set; }
public object BusPer { get; set; }
public object LmdPer { get; set; }
public object HdPer_ { get; set; }
public object BusPer_ { get; set; }
public object LmdPer_ { get; set; }
}
///
/// Contains properties for Hd Lmd Bus Closed
///
public class HdLmdBusclosedList
{
public object MonthName { get; set; }
public object HdWithIn24Hrs { get; set; }
public object HdBeyond24Hrs { get; set; }
public object HdTotal { get; set; }
public object BusWithIn24Hrs { get; set; }
public object BusBeyond24Hrs { get; set; }
public object BusTotal { get; set; }
public object LmdWithIn24Hrs { get; set; }
public object LmdBeyond24Hrs { get; set; }
public object LmdTotal { get; set; }
public object HdWithIn24HrsPer { get; set; }
public object BusWithIn24HrsPer { get; set; }
public object LmdWithIn24HrsPer { get; set; }
public object HdWithIn24HrsPer_ { get; set; }
public object BusWithIn24HrsPer_ { get; set; }
public object LmdWithIn24HrsPer_ { get; set; }
}
///
/// Contains metadata and lists for Hd Lmd Bus Contribution report
///
public class HdLmdBusContribution
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public List HdLmdBusContributionList { get; set; }
public List HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
}
#endregion
#region Dealer-Wise Call Details
///
/// Contains properties for Dealer Wise Call Detail
///
public class DealerWiseCallDetailList
{
public object DealerName { get; set; }
public object HdCall { get; set; }
public object BusCall { get; set; }
public object LmdCall { get; set; }
public object TotalCall { get; set; }
public object HdCallWithIn24Hrs { get; set; }
public object BusCallWithIn24Hrs { get; set; }
public object LmdCallWithIn24Hrs { get; set; }
public object TotalCallWithIn24Hrs { get; set; }
public object HdCallWithIn24HrsPer { get; set; }
public object BusCallWithIn24HrsPer { get; set; }
public object LmdCallWithIn24HrsPer { get; set; }
public object TotalCallWithIn24HrsPer { get; set; }
public object HdCallWithIn24HrsPer_ { get; set; }
public object BusCallWithIn24HrsPer_ { get; set; }
public object LmdCallWithIn24HrsPer_ { get; set; }
public object TotalCallWithIn24HrsPer_ { get; set; }
}
///
/// Contains metadata andf list for dealer Wise Call Detail
///
public class DealerWiseCallDetail
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public List DealerWiseCallDetailList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
}
///
/// Contains properties for Dealer Wise Reason Call Closed Beyond 24Hrs
///
public class DealerWiseReasonCallClosedBeyond24HrsList
{
public object DealerName { get; set; }
public object Major { get; set; }
public object FIP { get; set; }
public object MajorDiffrentialProblem { get; set; }
public object Other { get; set; }
public object MajorEngineProblem { get; set; }
public object PaymentApproaval { get; set; }
public object TechnicianNotAvailable { get; set; }
public object GearBoxProblem { get; set; }
public object SparePartsNotAvailable { get; set; }
public object Total { get; set; }
}
///
/// Contains metadata and lists for Dealer Wise Reason Call Closed Beyond 24Hrs
///
public class DealerWiseReasonCallClosedBeyond24Hrs
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public List ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
///
/// Contains lists for Dealer Wise Call Detail
///
public class DealerWiseCallDetailModel
{
public DealerWiseCallDetail DealerWiseCallDetail { get; set; }
public DealerWiseReasonCallClosedBeyond24Hrs DealerWiseReasonCallClosedBeyond24Hrs { get; set; }
}
#endregion
#region Timeslot Closure
///
/// Contains properties for Time Slot Clouser Detail
///
public class TimeSlotClouserDetailList
{
public object TimeSlot { get; set; }
public object Less24Hrs { get; set; }
public object Less24HrsPer { get; set; }
public object Calls24HrsTo48Hrs { get; set; }
public object Calls24HrsTo48HrsPer { get; set; }
public object Calls48HrsTo72Hrs { get; set; }
public object Calls48HrsTo72HrsPer { get; set; }
public object Calls72HrsTo96Hrs { get; set; }
public object Calls72HrsTo96HrsPer { get; set; }
public object Greater96Hrs { get; set; }
public object Greater96HrsPer { get; set; }
public object GrandTotal { get; set; }
}
///
/// Contains metadata and list for Timeslot Closure
///
public class TimeslotClosure
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public List TimeSlotClouserDetailList { get; set; }
}
#endregion
#region Toll Free No. And Opportunity Loss
///
/// Contains properties for EOS Opportunity Loss
///
public class EosOpportunityLoss
{
public object Region { get; set; }
public object LocalTechCome { get; set; }
public object DealerTakingTooMuchTime { get; set; }
public object Other { get; set; }
public object EosChargesHigh { get; set; }
public object GrandTotal { get; set; }
public object June { get; set; }
public object July { get; set; }
public object Aug { get; set; }
public object Sep { get; set; }
public object Oct { get; set; }
public object Nov { get; set; }
public object StateId { get; set; }
public object month_name { get; set; }
public string DealerName { get; set; }
}
///
/// Contains metadata and lists for Opportunity Loss
///
public class OpportunityLoss
{
public List _StateSLAMissed = new List();
public List _StateSLAMet = new List();
public List _DealerSLAMissed = new List();
public List _DealerSLAMet = new List();
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public List EosOpportunityLoss { get; set; }
public List StateSLAMissed
{
get
{
return _StateSLAMissed;
}
set
{
_StateSLAMissed = value;
}
}
public List StateSLAMet
{
get
{
return _StateSLAMet;
}
set
{
_StateSLAMet = value;
}
}
public List DealerSLAMissed
{
get
{
return _DealerSLAMissed;
}
set
{
_DealerSLAMissed = value;
}
}
public List DealerSLAMet
{
get
{
return _DealerSLAMet;
}
set
{
_DealerSLAMet = value;
}
}
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
///
/// Contains properties for Eos Toll Free Call Source
///
public class EosTollFreeCallSource
{
public object MonthName { get; set; }
public object VehicleSticker { get; set; }
public object Dealer { get; set; }
public object ServiceBook { get; set; }
public object AlreadyAware { get; set; }
public object Owner { get; set; }
public object Other { get; set; }
public object SMS { get; set; }
public object CoDriver { get; set; }
public object Maanger { get; set; }
public object Internet { get; set; }
public object GrandTotal { get; set; }
}
///
/// Contains metadata and lists for Toll Free Call
///
public class TollFreeCall
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public List EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
///
/// Contains lists for Toll Free Call And Opportunity Loss
///
public class TollFreeCallAndOpportunityLoss
{
public OpportunityLoss OpportunityLoss { get; set; }
public TollFreeCall TollFreeCall { get; set; }
public int RequireVan { get; set; }
public string RequireVanText { get; set; }
}
#endregion
#region Call Feedback Rating
///
/// Contains properties for Previous Year Eos Feedback
///
public class PreviousYearEosFeedback
{
public object MonthName { get; set; }
public object Category { get; set; }
public object EasyGettingCall { get; set; }
public object ResponseOfCall { get; set; }
public object TimelyUpdation { get; set; }
public object RepairTime { get; set; }
public object EosCharges { get; set; }
public object OverAllExperience { get; set; }
}
///
/// Contains properties for Current Year Eos Feedback
///
public class CurrentYearEosFeedback
{
public object MonthName { get; set; }
public object Category { get; set; }
public object EasyGettingCall { get; set; }
public object ResponseOfCall { get; set; }
public object TimelyUpdation { get; set; }
public object RepairTime { get; set; }
public object EosCharges { get; set; }
public object OverAllExperience { get; set; }
}
///
/// Contains properties for Previous Year Eos Feedback Rating
///
public class PreviousYearEosFeedbackRating
{
public object MonthName { get; set; }
public object Eos { get; set; }
}
///
/// Contains properties for Current Year Eos Feedback Rating
///
public class CurrentYearEosFeedbackRating
{
public object MonthName { get; set; }
public double Eos { get; set; }
}
///
/// Contains metadata and lists for Call Feedback Rating
///
public class CallFeedbackRating
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public List PreviousYearEosFeedback { get; set; }
public List CurrentYearEosFeedback { get; set; }
public List PreviousYearEosFeedbackRating { get; set; }
public List CurrentYearEosFeedbackRating { get; set; }
}
#endregion
#region Reason for closure (>24)
///
/// Contains properties for Hd Lmd Bus Call CLoser
///
public class HdLmdBusCallCLoser
{
public object Product { get; set; }
public object TotalCallCount { get; set; }
public object CallCountLess24Hrs { get; set; }
public object CallCountBeyond24Hrs { get; set; }
public object CallPercentageLess24Hrs { get; set; }
public object CallPercentageBeyond24Hrs { get; set; }
public object CallPercentageLess24Hrs_ { get; set; }
public object CallPercentageBeyond24Hrs_ { get; set; }
}
///
/// Contains metadata and lists for Hd Lmd Bus Call CLoser
///
public class HdLmdBusCallCLoserModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public List HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
///
/// Contains properties for Reason Call Closed Beyond 24Hrs
///
public class ReasonCallClosedBeyond24HrsList
{
public object Reason { get; set; }
public object HD { get; set; }
public object Buses { get; set; }
public object LMD { get; set; }
}
///
/// Contains metadata and list for Reason Call Closed Beyond 24Hrs
///
public class ReasonCallClosedBeyond24Hrs
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public List ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
}
///
/// Contains lists for Reason For Closure More Than 24Hrs Hd Lmd
///
public class ReasonForClosureMoreThan24HrsHdLmd
{
public HdLmdBusCallCLoserModel HdLmdBusCallCLoserModel { get; set; }
public ReasonCallClosedBeyond24Hrs ReasonCallClosedBeyond24Hrs { get; set; }
public ReasonCallClosedBeyond24Hrs ReasonCallClosedBeyond24HrsForChart { get; set; }
}
#endregion
#region Declined Calls
///
/// Contains properties for Declined Reports Dealer Wise
///
public class DeclinedReportsDealerWise
{
public object CreationDate { get; set; }
public object CreationTime { get; set; }
public object TicketIdAlias { get; set; }
public object VehicleRegNo { get; set; }
public object VehicleModelTag { get; set; }
public object DeclinedReason { get; set; }
public object DealerName { get; set; }
public object DealerId { get; set; }
public object Organization { get; set; }
public object ServiceEngg { get; set; }
public object VanRegNo { get; set; }
}
///
/// Contains metadata and lists for Declined Calls
///
public class DeclinedCalls
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public List DeclinedReportsDealerWise { get; set; }
public object UtcMinute { get; set; }
}
#endregion
#region Eicher Promise
///
/// Contains properties for Promise Reports
///
public class PromiseReportsList
{
public object CreationDate { get; set; }
public object TicketIdAlias { get; set; }
public object VehicleRegNo { get; set; }
public object VehicleModelTag { get; set; }
public object Description { get; set; }
public object DealerName { get; set; }
public object Organization { get; set; }
public object ServiceEngg { get; set; }
public object VanRegNo { get; set; }
public object ClosedTime { get; set; }
public object DeclinedReason { get; set; }
}
///
/// Contains metadata and lists for Eicher Promise
///
public class EicherPromiseModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public object DeclinedReportsDealerWise { get; set; }
public List PromiseReportsList { get; set; }
public object UtcMinute { get; set; }
}
#endregion
#region Customer Report
///
/// Contains metadata and lists for Owner
///
public class ManageOwner
{
public bool variableisDeleted = false;
public bool variableVechileIsDeleted = false;
private List lsVechileList = new List();
[Display(Name = "Name")]
[Required(ErrorMessage = "Please Enter Name")]
public string CustomerCustomerName
{
get;
set;
}
[Display(Name = "Mobile No.")]
[Required(ErrorMessage = "Please Enter Mobile No.")]
public string CustomerMobileNumber1
{
get;
set;
}
[Display(Name = "Address")]
[Required(ErrorMessage = "Please Enter Address")]
public string CustomerAddress
{
get;
set;
}
[Display(Name = "City")]
public string CustomerCity
{
get;
set;
}
[Display(Name = "State")]
public string CustomerState
{
get;
set;
}
public int CustomerStateIdNo
{
get;
set;
}
[Display(Name = "Email Id")]
[DataType(DataType.EmailAddress)]
public string CustomerEmailId
{
get;
set;
}
[Display(Name = "Customers")]
public string OwnerNameWithContactNo
{
get
{
if (Convert.ToString(CustomerMobileNumber1) == "" || Convert.ToString(CustomerMobileNumber1) == null)
return CustomerCustomerName;
else
return CustomerCustomerName + " (" + CustomerMobileNumber1 + ")";
}
}
public string CustomerId
{
get;
set;
}
public List plsVechileList
{
get
{
return lsVechileList;
}
set
{
lsVechileList = value;
}
}
public string VehicleId
{
get;
set;
}
public Boolean CustomerVehicleIsOwner
{
get;
set;
}
[Display(Name = "Reg. No.")]
[Required(ErrorMessage = "Please Enter Reg. No.")]
//[Remote("CheckForDuplication", "Inventory")]
public string VehicleRegistrationNumber
{
get;
set;
}
[Display(Name = "Chassis No.")]
[Required(ErrorMessage = "Please Enter Chassis No.")]
public string VehicleNumberPlate
{
get;
set;
}
[Display(Name = "Model No.")]
[Required(ErrorMessage = "Please Enter Model No.")]
public string VehicleModelNumber
{
get;
set;
}
[Display(Name = "Vehicle Type")]
public string VehicleType
{
get;
set;
}
public string Status
{
get;
set;
}
public int OwnerStateId
{
get;
set;
}
public string OwnerCityId
{
get;
set;
}
public string Message { get; set; }
public string Type { get; set; }
public string Value { get; set; }
[Display(Name = "Product Variant")]
public string CustomerVehicleModelTagging { get; set; }
[Display(Name = "Vehicle Installation Date")]
public string VehicleInstallationDate { get; set; }
public bool IsDeleted { get { return variableisDeleted; } set { variableisDeleted = value; } }
public bool IsDealetedVehicle { get { return variableVechileIsDeleted; } set { variableVechileIsDeleted = value; } }
}
///
/// Contains properties for Customer Report
///
public class CustomerReportsList
{
public string TicketIdAlias { get; set; }
public string CreationDate { get; set; }
public string BreakdownLocation { get; set; }
public string State { get; set; }
public string City { get; set; }
public string CustomerName { get; set; }
public string CustomerContact { get; set; }
public string DriverName { get; set; }
public string VehicleModelTag { get; set; }
public string ModelNo { get; set; }
public string VehicleRegNo { get; set; }
public object DefaultSlaTime { get; set; }
public object ResponseSlaTime { get; set; }
public object TicketLifeCycleTime { get; set; }
public string Description { get; set; }
public string ServiceEngg { get; set; }
public string DealerName { get; set; }
public string DealerContact { get; set; }
public string Organization { get; set; }
}
///
/// Contains metadata and list for Customer Report
///
public class CustomerReportModel
{
public object UserId { get; set; }
public object FromDate { get; set; }
public object ToDate { get; set; }
public object State { get; set; }
public object City { get; set; }
public object DealerId { get; set; }
public object Limit { get; set; }
public object Offset { get; set; }
public object Token { get; set; }
public object Status { get; set; }
public object Message { get; set; }
public object IsDealer { get; set; }
public object IsVan { get; set; }
public object IsOpenTicket { get; set; }
public object IsClosedTickets { get; set; }
public object EosList { get; set; }
public object HdLmdBusContributionList { get; set; }
public object HdLmdBusclosedList { get; set; }
public object DealerWiseCallDetailList { get; set; }
public object ReasonCallClosedBeyond24HrsList { get; set; }
public object TimeSlotClouserDetailList { get; set; }
public object EosOpportunityLoss { get; set; }
public object EosTollFreeCallSource { get; set; }
public object HdLmdBusCallCLoser { get; set; }
public object ReasonWiseCallClosedBeyond24Hrs { get; set; }
public object PreviousYearEosFeedback { get; set; }
public object CurrentYearEosFeedback { get; set; }
public object PreviousYearEosFeedbackRating { get; set; }
public object CurrentYearEosFeedbackRating { get; set; }
public object GeoAnalysisModelReport { get; set; }
public object DeclinedReportsDealerWise { get; set; }
public object PromiseReportsList { get; set; }
public List CustomerReportsList { get; set; }
public object UtcMinute { get; set; }
public object CustomerId { get; set; }
public object Condition { get; set; }
}
#endregion
#region ConsolidatedReport
///
/// This class contain consolidated report model properties
///
public class ConsolidatedReportModel
{
public string ticketid_alias { get; set; }
public string call_assigned_to { get; set; }
public string created_by { get; set; }
//[DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd MMM yyyy HH:mm:ss}")]
//public DateTime creation_time { get; set; }
public string creation_time { get; set; }
public string time_slot { get; set; }
public string customer_name { get; set; }
public string customer_contact_no { get; set; }
public string organization { get; set; }
public string state { get; set; }
public string city { get; set; }
public string language_name { get; set; }
public string owner_name { get; set; }
public string owner_contact_number { get; set; }
public string customer_vehicle_regn_no { get; set; }
public string vehicle_name { get; set; }
public string vehicle_type { get; set; }
public string chassis_number { get; set; }
public string vehicle_instalation_date { get; set; }
public string breakdown_location { get; set; }
public string landmark { get; set; }
public string warranty { get; set; }
public string how_did_you_come_to_know_of_eos { get; set; }
public string type_of_load_carried { get; set; }
public string nature_of_problem { get; set; }
public string estimated_cost_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return estimated_cost;
else
return "NA";
}
set
{ }
}
public string estimated_time_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return estimated_time;
else
return "NA";
}
set
{ }
}
public string dealer_code { get; set; }
public string dealer_name { get; set; }
///
/// get or set wm name
///
public string wm_name { get; set; }
public string dealer_contact_no { get; set; }
public string eos_team_member_and_van { get; set; }
public string open_call_hrs { get; set; }
public string time_stamps_status_1 { get; set; }
public string time_stamps_status_3 { get; set; }
public string time_stamps_status_4 { get; set; }
public string time_stamps_status_5 { get; set; }
public string escalation_level_van_not_move_1 { get; set; }
public string escalation_level_ticket_closer_1 { get; set; }
public string call_closure_status { get; set; }//reason for 24 hrs
public string KmCovered { get; set; }
public string feedback_taken { get; set; }//feedback
public string feedback_ease_of_getting_call { get; set; }
public string feedback_response_of_call_center { get; set; }
public string feedback_timely_updation_by_dealer { get; set; }
public string feedback_total_repair_time { get; set; }
public string feedback_eos_charges { get; set; }
public string feedback_over_all_experience { get; set; }
public string closure_remarks { get; set; }
public string response_string
{
get
{
if (Convert.ToString(call_assigned_to).ToLower().Trim() != "dealer")
return response;
else
return "NA";
}
set
{ }
}
public string feedback_count { get; set; }
public string call_status { get; set; }
public string complaints { get; set; }
public string suggestion { get; set; }
public string feedback_agent { get; set; }
public string other_remarks { get; set; }
public string DealerTicketOtherRemark { get; set; }
public string estimated_distance { get; set; }
public string van_covered_distance { get; set; }
public string trip_start_time { get; set; }
public string trip_end_time { get; set; }
public string _eicher_promise { get; set; }
public string opportunity_loss { get; set; }
public string opportunity_loss_remark { get; set; }
public string opportunity_lost_remarks { get; set; }
public string remark_ticket_not_closed_24_hours { get; set; }
public string remark_ticket_not_closed_24_hours_remarks { get; set; }
public int reopen_count { get; set; }
public string ChassisNo { get; set; }
public double OdometerReading { get; set; }
public string _call_closed_within_24_hours { get; set; }
//public string Region { get; set; }
public string load_carried { get; set; }
public string feedback_parameter_wise_score { get; set; }
public string total_inbound_calls { get; set; }
public string total_outbound_calls { get; set; }
public string time_stamps_status_2 { get; set; }
public string escalation_level_van_not_move_2 { get; set; }
public string escalation_level_van_not_move_3 { get; set; }
public string escalation_level_van_not_move_4 { get; set; }
public string escalation_level_van_not_move_5 { get; set; }
public string escalation_level_van_not_move_6 { get; set; }
public string escalation_level_van_not_move_7 { get; set; }
public string escalation_level_van_not_move_8 { get; set; }
public string escalation_level_van_not_move_9 { get; set; }
public string escalation_level_van_not_move_10 { get; set; }
public string escalation_level_ticket_closer_2 { get; set; }
public string escalation_level_ticket_closer_3 { get; set; }
public string escalation_level_ticket_closer_4 { get; set; }
public string escalation_level_ticket_closer_5 { get; set; }
public string escalation_level_ticket_closer_6 { get; set; }
public string escalation_level_ticket_closer_7 { get; set; }
public string escalation_level_ticket_closer_8 { get; set; }
public string escalation_level_ticket_closer_9 { get; set; }
public string escalation_level_ticket_closer_10 { get; set; }
public string month_name { get; set; }
public string default_sla_time { get; set; }
public string region { get; set; }
public string vehicle_model { get; set; }
public List CloseTicketCountInTimeSlot { get; set; }
public string estimated_time { get; set; }
public string response { get; set; }
public string estimated_cost { get; set; }
public string ticket_id { get; set; }
///
/// Get or set last updated time(for consolidate report)
///
[Display(Name = "Reassignment Date and Time")]
public string last_Updated_Time { get; set; }
///
/// Get or set are_you_satisfied
///
[Display(Name = "Overall Customer Satisfied")]
public string are_you_satisfied { get; set; }
///
/// Get or set not_satisfied_option
///
[Display(Name = "Reason for dissatisfaction")]
public string not_satisfied_option { get; set; }
///
/// Get or set not_satisfied_reason
///
[Display(Name = "Feedback Comments")]
public string not_satisfied_reason { get; set; }
public double? response_time_reassignment { get; set; }
//added on 03/12/2020
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; }
//ended on 03/12/2020
public string van_reached_punch_time { get; set; } //added on 23-12-2020
public string ticket_closed_reason { get; set; } //added on 25-11-2020
public string product_variant_name { get; set; }
}
public class kendoChartModel
{
public int Id { get; set; }
public string xAxis { get; set; }
public int yAxis { get; set; }
}
public class ConsolidatedReportTimeSlot
{
public int between0to2 { get; set; }
public int between2to4 { get; set; }
public int between4to6 { get; set; }
public int between6to8 { get; set; }
public int between8to10 { get; set; }
public int between10to12 { get; set; }
public int between12to14 { get; set; }
public int between14to16 { get; set; }
public int between16to18 { get; set; }
public int between18to20 { get; set; }
public int between20to22 { get; set; }
public int between22to24 { get; set; }
//public string countBetween0to2 { get; set; }
//public string countBetween2to4 { get; set; }
//public string countBetween4to6 { get; set; }
//public string countBetween6to8 { get; set; }
//public string countBetween8to10 { get; set; }
//public string countBetween10to12 { get; set; }
//public string countBetween12to14 { get; set; }
//public string countBetween14to16 { get; set; }
//public string countBetween16to18 { get; set; }
//public string countBetween18to20 { get; set; }
//public string countBetween20to22 { get; set; }
//public string countBetween22to24 { get; set; }
}
#endregion
#endregion
#region KAM tickets report
///
/// THis class contain ticket request properties
///
public class TicketRequestModel
{
///
/// Get or set Ticket Type
///
public string TicketType { get; set; }
///
/// Get or set KAM Ticket Id
///
public int KamTicketId { get; set; }
///
/// Get or set Token
///
public string Token { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set User Id
///
public int? UserId { get; set; }
///
/// Get or set User Id
///
public string KamUserId { get; set; }
///
/// Get or set From Date
///
public DateTime FromDate { get; set; }
///
/// Get or set To Date
///
public DateTime ToDate { get; set; }
///
/// Get or set Limit
///
public int? Limit { get; set; }
///
/// Get or set OffSet
///
public int? OffSet { get; set; }
///
/// Get or set Ticket List
///
public List TicketList { get; set; }
///
/// Get or set Ticket List
///
public List DummyTicketList { get; set; }
///
/// Get or set
///
public List ConsolidatedReportModelList { get; set; }
///
/// Get or set
///
public Int64? TicketCount { get; set; }
///
/// Get or set
///
public string Condition { get; set; }
///
/// Get or set
///
public int? UtcMinute { get; set; }
///
/// get or set vehicle type
///
public string VehicleType { get; set; }
///
/// get or set organization
///
public string Organization { get; set; }
///
/// Get or set Ticket List
///
public List ClosedTicketList { get; set; }
///
/// get or set Ticket Alias
///
public string TicketAlias { get; set; }
}
///
/// This class contain open ticket properties
///
public class TicketOpenModel
{
///
/// Get or set Ticket id
///
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
///
/// Get or set Customer Name
///
public string CustomerName { get; set; }
///
/// Get or set Customer Contact No.
///
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
///
/// Get or set Vehicle Registration No
///
public string VehicleRegistrationNo { get; set; }
///
/// Get or set Vehicle Tagging
///
public string VehicleTagging { get; set; }
///
/// Get or set Default Sla Time
///
public int? DefaultSlaTime { get; set; }
///
/// Get or set Response Time
///
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
///
/// Get or set Service Engineer Name
///
public string ServiceEngineerName { get; set; }
///
/// Get or set Dealer Name
///
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
///
/// Get or set Dealer Contact No.
///
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
///
/// Get or set Custome Contact_no
///
public string caller_language { get; set; }
///
/// Get or set Token
///
public String Token { get; set; }
///
/// Get or set KAM Id
///
public string KamId { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set Id
///
public string Id { get; set; }
///
/// Get or set Description
///
public string Description { get; set; }
///
/// Get or set Assigned To
///
public string AssignedTo { get; set; }
///
/// Get or set Reported Via
///
public string ReportedVia { get; set; }
///
/// Get or set Ticket Status
///
public int? TicketStatus { get; set; }
///
/// Get or set Priority
///
public int? Priority { get; set; }
///
/// Get or set Cutomer Score
///
public string CutomerScore { get; set; }
///
/// Get or set Created By
///
public string CreatedBy { get; set; }
///
/// Get or set Creation Time
///
public string CreationTime { get; set; }
///
/// Get or set Last Modified By
///
public string LastModifiedBy { get; set; }
///
/// Get or set Last Modified Time
///
public string LastModifiedTime { get; set; }
///
/// Get or set Break Down Location
///
public string BreakDownLocation { get; set; }
///
/// Get or set Breack Down Longitude
///
public string BreackDownLongitude { get; set; }
///
/// Get or set Breack Down Latitude
///
public string BreackDownLatitude { get; set; }
///
/// Get or set Assigned To User Id
///
public string AssignedToUserId { get; set; }
///
/// Get or set Assigned To User Longitude
///
public string AssignedToUserLongitude { get; set; }
///
/// Get or set Assigned To User Latitude
///
public string AssignedToUserLatitude { get; set; }
///
/// Get or set Is Declined
///
public Boolean? IsDeclined { get; set; }
///
/// Get or set Estimated Time For Job Complition
///
public int? EstimatedTimeForJobComplition { get; set; }
///
/// Get or set Estimated Time For Job Complition Submit Time
///
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
///
/// Get or set Estimated Time For Job Completion Submit Time
///
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
///
/// Get or set Break down Location Landmark
///
public string BreakdownLocationLandmark { get; set; }
///
/// Get or set Activity Tickets Open Created By
///
public string ActivityTicketsOpenCreatedBy { get; set; }
///
/// Get or set Activity Tickets Open Creation Time
///
public string ActivityTicketsOpenCreationTime { get; set; }
///
/// Get or set Remarks
///
public string Remarks { get; set; }
///
/// Get or set Ticket Activity Status
///
public string TicketActivityStatus { get; set; }
///
/// Get or set Ticket Status Alias
///
public string TicketStatusAlias { get; set; }
///
/// Get or set Ticket Status Sequence Order
///
public string TicketStatusSequenceOrder { get; set; }
///
/// Get or set Ticket Status Name
///
public string TicketStatusStatusName { get; set; }
///
/// Get or set User Id
///
public string UserId { get; set; }
///
/// Get or set Auth Engine Id
///
public string AuthEngineId { get; set; }
///
/// Get or set User Name
///
public string UserName { get; set; }
///
/// Get or set Designation
///
public string Designation { get; set; }
///
/// Get or set Object Id
///
public string ObjectId { get; set; }
///
/// Get or set Organization Id
///
public int? OrganizationId { get; set; }
///
/// Get or set City
///
public string City { get; set; }
///
/// Get or set State
///
public string State { get; set; }
///
/// Get or set Region
///
public string Region { get; set; }
///
/// Get or set Language
///
public string Language { get; set; }
///
/// Get or set Timezone Id
///
public Int64? TimezoneId { get; set; }
///
/// Get or set Display Name
///
public string DisplayName { get; set; }
///
/// Get or set Offset In Minutes
///
public string OffsetInMinutes { get; set; }
///
/// Get or set Display Id
///
public string DisplayId { get; set; }
///
/// Get or set User Organization Name
///
public string UserOrganizationName { get; set; }
///
/// Get or set User Organization Alias
///
public string UserOrganizationAlias { get; set; }
///
/// Get or set User Organization City
///
public string UserOrganizationCity { get; set; }
///
/// Get or set User Organization State
///
public string UserOrganizationState { get; set; }
///
/// Get or set User Asorganization Country
///
public string UserAsorganizationCountry { get; set; }
///
/// Get or set User Organization Description
///
public string UserOrganizationDescription { get; set; }
///
/// Get or set User Org Path
///
public string UserOrgPath { get; set; }
///
/// Get or set User Org Depth
///
public string UserOrgDepth { get; set; }
///
/// Get or set User Org Color
///
public string UserOrgColor { get; set; }
///
/// Get or set User Organization Region
///
public string UserOrganizationRegion { get; set; }
///
/// Get or set Dealer Id
///
public string DealerId { get; set; }
///
/// Get or set Organization Id
///
public int? DealerOrganizationId { get; set; }
///
/// Get or set Dealer City
///
public string DealerCity { get; set; }
///
/// Get or set Dealer State
///
public string DealerState { get; set; }
///
/// Get or set Dealer Default Lattitude
///
public string DealerDealerDefaultLattitude { get; set; }
///
/// Get or set Dealer Default Longitude
///
public string DealerDealerDefaultLongitude { get; set; }
///
/// Get or set Van Id
///
public string VanId { get; set; }
///
/// Get or set Van Alias
///
public string VanAlias { get; set; }
///
/// Get or set Van Default Lattitude
///
public string VanVanDefaultLattitude { get; set; }
///
/// Get or set Van Default Longitude
///
public string VanVanDefaultLongitude { get; set; }
///
/// Get or set Van City
///
public string VanCity { get; set; }
///
/// Get or set Van State
///
public string VanState { get; set; }
///
/// Get or set Van Model
///
public string VanVanModel { get; set; }
///
/// Get or set Van Registration Number
///
public string VanRegistrationNumber { get; set; }
///
/// Get or set Van Registered As
///
public string VanVanRegisteredAs { get; set; }
///
/// Get or set Organization Name
///
public string DealerVanOrganizationName { get; set; }
///
/// Get or set Organization Alias
///
public string DealerVanOrganizationOrganizationAlias { get; set; }
///
/// Get or set Organization City
///
public string DealerVanOrganizationOrganizationCity { get; set; }
///
/// Get or set Organization State
///
public string DealerVanOrganizationOrganizationState { get; set; }
///
/// Get or set Organization Country
///
public string DealerVanOrganizationOrganizationCountry { get; set; }
///
/// Get or set Organization Description
///
public string DealerVanOrganizationOrganizationDescription { get; set; }
///
/// Get or set Organization Path
///
public string DealerVanOrganizationOrganizationPath { get; set; }
///
/// Get or set Organization Depth
///
public string DealerVanOrganizationOrganizationDepth { get; set; }
///
/// Get or set Organization Color
///
public string DealerVanOrganizationOrganizationColor { get; set; }
///
/// Get or set Organization Region
///
public string DealerVanOrganizationOrganizationRegion { get; set; }
///
/// Get or set Service Engineer Id
///
public string ServiceEngineerId { get; set; }
///
/// Get or set Service Engineer Alias
///
public string ServiceEngineerAlias { get; set; }
///
/// Get or set Service Engineer Imei Number
///
public string ServiceEngineerImeiNumber { get; set; }
///
/// Get or set Service Engineer Application License Key
///
public string ServiceEngineerApplicationLicenseKey { get; set; }
///
/// Get or set Service Engineer Mobile Application Blocked
///
public Boolean? ServiceEngineerMobileApplicationBlocked { get; set; }
///
/// Get or set Service Engineer Device Alias
///
public Int64? ServiceEngineerDeviceAlias { get; set; }
///
/// Get or set Service Engineer Pin Password
///
public string ServiceEngineerPinPassword { get; set; }
///
/// Get or set Route Id
///
public int? RouteId { get; set; }
///
/// Get or set Vehicle Type
///
public string VehicleType { get; set; }
///
/// Get or set Repair Cost
///
public string RepairCost { get; set; }
///
/// Get or set Device Alias
///
public int? DeviceAlias { get; set; }
///
/// Get or set Iemi number
///
public string Ieminumber { get; set; }
///
/// Get or set Sla Missed Reason
///
public string SlaMissedReason { get; set; }
///
/// Get or set Suggestion Comment
///
public string SuggestionComment { get; set; }
///
/// Get or set Job Complete Response Time
///
public string JobCompleteResponseTime { get; set; }
///
/// Get or set Default Col 2
///
public string DefaultCol2 { get; set; }
///
/// Get or set Default Col 3
///
public string DefaultCol3 { get; set; }
///
/// Get or set
///
public string EstimatedDistance { get; set; }
///
/// Get or set Age(Ticket life cycle time creation to closed time)
///
public double? Age { get; set; }
///
/// Get or set Custome Contact_no
///
public string OwnerContact_no { get; set; }
///
/// Get or set Custome Contact_no
///
public string CallStatus { get; set; }
///
/// Get or set Security Token
///
public string feedback_call_status { get; set; }
///
/// Get or set Status
///
public string total_count { get; set; }
///
/// Get or set Message
///
public string gps_status { get; set; }
///
/// Get or set Is Deleted
///
public bool? IsDeleted { get; set; }
}
///
/// contains properties for customer open tickets
///
public class DummyOpenTicketDetail
{
///
/// Get or set extra property
///
public Int32 DummyId { get; set; }
///
/// Get or set ticket id
///
public string TicketId { get; set; }
///
/// Get or set ticket id alias
///
public string TicketIdAlias { get; set; }
///
/// Get or set description
///
public string Description { get; set; }
///
/// Get or set assigned to
///
public string AssignedTo { get; set; }
///
/// Get or set reported via
///
public string ReportedVia { get; set; }
///
/// Get or set ticket status
///
public int? TicketStatus { get; set; }
///
/// Get or set priority
///
public int? Priority { get; set; }
///
/// Get or set customer score
///
public string CustomerScore { get; set; }
///
/// Get or set created by
///
public string CreatedBy { get; set; }
///
/// Get or set creation time
///
public string CreationTime { get; set; }
///
/// Get or set last modified by
///
public string LastModifiedBy { get; set; }
///
/// Get or set last modified time
///
public string LastModifiedTime { get; set; }
///
/// Get or set breakdown location
///
public string BreakdownLocation { get; set; }
///
/// Get or set breakdown longitude
///
public string BreakdownLongitude { get; set; }
///
/// Get or set breakdown latitude
///
public string BreakdownLattitude { get; set; }
///
/// Get or set assigned to user id
///
public string AssignedToUserId { get; set; }
///
/// Get or set assigned to user latitude
///
public string AssignedToUserLattitude { get; set; }
///
/// Get or set assigned to user longitude
///
public string AssignedToUserLongitude { get; set; }
///
/// Get or set IsDeclined bit
///
public Boolean? Isdeclined { get; set; }
///
/// Get or set estimated time for job completion
///
public int? EstimatedTimeForJobCompletion { get; set; }
///
/// Get or set ticket life cycle time
///
public int? TotalTicketLifecycleTimeSla { get; set; }
///
/// Get or set estimated time for job completion submit time
///
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
///
/// Get or set vehicle registration number
///
public string VehicleRegisterNumber { get; set; }
///
/// Get or set breakdown landmark
///
public string BreakdownLocationLandmark { get; set; }
///
/// Get or set Breakdown state
///
public string BreakdownLocationState { get; set; }
///
/// Get or set Breakdown city
///
public string BreakdownLocationCity { get; set; }
///
/// Get or set route id
///
public int? RouteId { get; set; }
///
/// Get or set customer contact number
///
public string CustomerContactNo { get; set; }
///
/// Get or set ticket status alias
///
public string TicketStatusAlias { get; set; }
///
/// Get or set repair cost
///
public string RepairCost { get; set; }
///
/// Get or set defalut sla time
///
public int? DefaultSlaTime { get; set; }
///
/// Get or set sla missed reason
///
public string SlaMissedReason { get; set; }
///
/// Get or set suggestion comment
///
public string SuggestionComment { get; set; }
///
/// Get or set job complete response time
///
public string JobCompleteResponseTime { get; set; }
///
/// Get or set extra property
///
public string DefaultCol2 { get; set; }
///
/// Get or set extra property
///
public string DefaultCol3 { get; set; }
///
/// Get or set extra property
///
public string CallerLanguage { get; set; }
///
/// Get or set extra property
///
public string Warranty { get; set; }
///
/// Get or set extra property
///
public string TollFreeNoSource { get; set; }
///
/// Get or set extra property
///
public string StateName { get; set; }
///
/// Get or set extra property
///
public string CityName { get; set; }
///
/// Get or set extra property
///
public string EstimatedDistance { get; set; }
///
/// Get or set extra property
///
public string OpportunityLoss { get; set; }
///
/// Get or set extra property
///
public string KmCovered { get; set; }
///
/// Get or set extra property
///
public string VehicleTagging { get; set; }
///
/// Get or set extra property
///
public string ReasonForMoreThan24Hours { get; set; }
///
/// Get or set extra property
///
public string CallStatus { get; set; }
///
/// Get or set extra property
///
public string SuggestionComplaint { get; set; }
///
/// Get or set extra property
///
public string CustomerName { get; set; }
///
/// Get or set security token
///
public string Token { get; set; }
///
/// Get or set status
///
public string Status { get; set; }
///
/// Get or set message
///
public string Message { get; set; }
///
/// Get or set UTC minute
///
public int UtcMinute { get; set; }
public string DurationTime { get; set; }
}
#endregion
#region Driver Score Report
public class EosScoreCardModel
{
public string DealerId { get; set; }
public string TicketId { get; set; }
public string TicketAlias { get; set; }
public string Description { get; set; }
public string AssignedTo { get; set; }
public string CreationTime { get; set; }
public string BreakdownLocation { get; set; }
public string AssignedToUserId { get; set; }
public string RegistrationNumber { get; set; }
public string BreakdownLocationLandmark { get; set; }
public string CustomerContactNumber { get; set; }
public string OrganizationId { get; set; }
public string DealerName { get; set; }
public string DealerCity { get; set; }
public string DealerState { get; set; }
public string DealerContactNumber { get; set; }
public string Score { get; set; }
public string RecordDate { get; set; }
public string VanId { get; set; }
public string VanAlias { get; set; }
public string VanCity { get; set; }
public string VanState { get; set; }
public string VanModel { get; set; }
public string VanRegisteredAs { get; set; }
public string OrganizationName { get; set; }
public string ServiceEngineerName { get; set; }
public string ServiceEngineerAlias { get; set; }
public string ServiceEngineerContactNumber { get; set; }
public List dealerScoreCard { get; set; }
}
public class TicketClosedModel
{
///
/// Get or set Token
///
public String Token { get; set; }
///
/// Get or set KAM Id
///
public string KamId { get; set; }
///
/// Get or set ticket id alias
///
public string TicketId_Alias { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set Id
///
public string Id { get; set; }
///
/// Get or set Description
///
public string Description { get; set; }
///
/// Get or set Assigned To
///
public string AssignedTo { get; set; }
///
/// Get or set Reported Via
///
public string ReportedVia { get; set; }
///
/// Get or set Ticket Status
///
public int? TicketStatus { get; set; }
///
/// Get or set Priority
///
public int? Priority { get; set; }
///
/// Get or set Cutomer Score
///
public string CutomerScore { get; set; }
///
/// Get or set Created By
///
public string CreatedBy { get; set; }
///
/// Get or set Creation Time
///
public string CreationTime { get; set; }
///
/// Get or set Last Modified By
///
public string LastModifiedBy { get; set; }
///
/// Get or set Last Modified Time
///
public string LastModifiedTime { get; set; }
///
/// Get or set Break Down Location
///
public string BreakDownLocation { get; set; }
///
/// Get or set Breack Down Longitude
///
public string BreackDownLongitude { get; set; }
///
/// Get or set Breack Down Latitude
///
public string BreackDownLatitude { get; set; }
///
/// Get or set Assigned To User Id
///
public string AssignedToUserId { get; set; }
///
/// Get or set Assigned To User Longitude
///
public string AssignedToUserLongitude { get; set; }
///
/// Get or set Assigned To User Latitude
///
public string AssignedToUserLatitude { get; set; }
///
/// Get or set Is Declined
///
public Boolean? IsDeclined { get; set; }
///
/// Get or set Estimated Time For Job Complition
///
public int? EstimatedTimeForJobComplition { get; set; }
///
/// Get or set Total Ticket Life Cycle Time Slab
///
public int? TotalTicketLifeCycleTimeSlab { get; set; }
///
/// Get or set Estimated Time For Job Complition Submit Time
///
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
///
/// Get or set Vehicle Registration No
///
public string VehicleRegistrationNo { get; set; }
///
/// Get or set Estimated Time For Job Completion Submit Time
///
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
///
/// Get or set Break down Location Landmark
///
public string BreakdownLocationLandmark { get; set; }
///
/// Get or set Activity Tickets Open Created By
///
public string ActivityTicketsOpenCreatedBy { get; set; }
///
/// Get or set Activity Tickets Open Creation Time
///
public string ActivityTicketsOpenCreationTime { get; set; }
///
/// Get or set Remarks
///
public string Remarks { get; set; }
///
/// Get or set Ticket Activity Status
///
public string TicketActivityStatus { get; set; }
///
/// Get or set Ticket Status Alias
///
public string TicketStatusAlias { get; set; }
///
/// Get or set Ticket Status Sequence Order
///
public string TicketStatusSequenceOrder { get; set; }
///
/// Get or set Ticket Status Name
///
public string TicketStatusStatusName { get; set; }
///
/// Get or set User Id
///
public string UserId { get; set; }
///
/// Get or set Auth Engine Id
///
public string AuthEngineId { get; set; }
///
/// Get or set User Name
///
public string UserName { get; set; }
///
/// Get or set Designation
///
public string Designation { get; set; }
///
/// Get or set Object Id
///
public string ObjectId { get; set; }
///
/// Get or set Organization Id
///
public int? OrganizationId { get; set; }
///
/// Get or set City
///
public string City { get; set; }
///
/// Get or set State
///
public string State { get; set; }
///
/// Get or set Region
///
public string Region { get; set; }
///
/// Get or set Language
///
public string Language { get; set; }
///
/// Get or set Timezone Id
///
public Int64? TimezoneId { get; set; }
///
/// Get or set Display Name
///
public string DisplayName { get; set; }
///
/// Get or set Offset In Minutes
///
public string OffsetInMinutes { get; set; }
///
/// Get or set Display Id
///
public string DisplayId { get; set; }
///
/// Get or set User Organization Name
///
public string UserOrganizationName { get; set; }
///
/// Get or set User Organization Alias
///
public string UserOrganizationAlias { get; set; }
///
/// Get or set User Organization City
///
public string UserOrganizationCity { get; set; }
///
/// Get or set User Organization State
///
public string UserOrganizationState { get; set; }
///
/// Get or set User Asorganization Country
///
public string UserAsorganizationCountry { get; set; }
///
/// Get or set User Organization Description
///
public string UserOrganizationDescription { get; set; }
///
/// Get or set User Org Path
///
public string UserOrgPath { get; set; }
///
/// Get or set User Org Depth
///
public string UserOrgDepth { get; set; }
///
/// Get or set User Org Color
///
public string UserOrgColor { get; set; }
///
/// Get or set User Organization Region
///
public string UserOrganizationRegion { get; set; }
///
/// Get or set Dealer Id
///
public string DealerId { get; set; }
///
/// Get or set Organization Id
///
public int? DealerOrganizationId { get; set; }
///
/// Get or set Dealer Name
///
public string DealerDealerName { get; set; }
///
/// Get or set Dealer City
///
public string DealerCity { get; set; }
///
/// Get or set Dealer State
///
public string DealerState { get; set; }
///
/// Get or set Dealer Default Lattitude
///
public string DealerDealerDefaultLattitude { get; set; }
///
/// Get or set Dealer Default Longitude
///
public string DealerDealerDefaultLongitude { get; set; }
///
/// Get or set Van Id
///
public string VanId { get; set; }
///
/// Get or set Van Alias
///
public string VanAlias { get; set; }
///
/// Get or set Van Default Lattitude
///
public string VanVanDefaultLattitude { get; set; }
///
/// Get or set Van Default Longitude
///
public string VanVanDefaultLongitude { get; set; }
///
/// Get or set Van City
///
public string VanCity { get; set; }
///
/// Get or set Van State
///
public string VanState { get; set; }
///
/// Get or set Van Model
///
public string VanVanModel { get; set; }
///
/// Get or set Van Registration Number
///
public string VanRegistrationNumber { get; set; }
///
/// Get or set Van Registered As
///
public string VanVanRegisteredAs { get; set; }
///
/// Get or set Organization Name
///
public string DealerVanOrganizationName { get; set; }
///
/// Get or set Organization Alias
///
public string DealerVanOrganizationOrganizationAlias { get; set; }
///
/// Get or set Organization City
///
public string DealerVanOrganizationOrganizationCity { get; set; }
///
/// Get or set Organization State
///
public string DealerVanOrganizationOrganizationState { get; set; }
///
/// Get or set Organization Country
///
public string DealerVanOrganizationOrganizationCountry { get; set; }
///
/// Get or set Organization Description
///
public string DealerVanOrganizationOrganizationDescription { get; set; }
///
/// Get or set Organization Path
///
public string DealerVanOrganizationOrganizationPath { get; set; }
///
/// Get or set Organization Depth
///
public string DealerVanOrganizationOrganizationDepth { get; set; }
///
/// Get or set Organization Color
///
public string DealerVanOrganizationOrganizationColor { get; set; }
///
/// Get or set Organization Region
///
public string DealerVanOrganizationOrganizationRegion { get; set; }
///
/// Get or set Service Engineer Id
///
public string ServiceEngineerId { get; set; }
///
/// Get or set Service Engineer Name
///
public string ServiceEngineerName { get; set; }
///
/// Get or set Service Engineer Alias
///
public string ServiceEngineerAlias { get; set; }
///
/// Get or set Service Engineer Imei Number
///
public string ServiceEngineerImeiNumber { get; set; }
///
/// Get or set Service Engineer Contact Number
///
public string ServiceEngineerContactNumber { get; set; }
///
/// Get or set Service Engineer Application License Key
///
public string ServiceEngineerApplicationLicenseKey { get; set; }
///
/// Get or set Service Engineer Mobile Application Blocked
///
public Boolean? ServiceEngineerMobileApplicationBlocked { get; set; }
///
/// Get or set Service Engineer Device Alias
///
public Int64? ServiceEngineerDeviceAlias { get; set; }
///
/// Get or set Service Engineer Pin Password
///
public string ServiceEngineerPinPassword { get; set; }
///
/// Get or set Route Id
///
public int? RouteId { get; set; }
///
/// Get or set Custome Contact_no
///
public string CustomeContact_no { get; set; }
///
/// Get or set Vehicle Type
///
public string VehicleType { get; set; }
///
/// Get or set Repair Cost
///
public string RepairCost { get; set; }
///
/// Get or set Default Sla Time
///
public int? DefaultSlaTime { get; set; }
///
/// Get or set Device Alias
///
public int? DeviceAlias { get; set; }
///
/// Get or set Iemi number
///
public string Ieminumber { get; set; }
///
/// Get or set Sla Missed Reason
///
public string SlaMissedReason { get; set; }
///
/// Get or set Suggestion Comment
///
public string SuggestionComment { get; set; }
///
/// Get or set Job Complete Response Time
///
public string JobCompleteResponseTime { get; set; }
///
/// Get or set Default Col 2
///
public string DefaultCol2 { get; set; }
///
/// Get or set Default Col 3
///
public string DefaultCol3 { get; set; }
///
/// Get or set Vehicle Tagging
///
public string VehicleTagging { get; set; }
///
/// Get or set Customer Name
///
public string CustomerName { get; set; }
///
/// Get or set
///
public string EstimatedDistance { get; set; }
///
/// Get or set Age(Ticket life cycle time creation to closed time)
///
public double? Age { get; set; }
///
/// Get or set Custome Contact_no
///
public string OwnerContact_no { get; set; }
///
/// Get or set Custome Contact_no
///
public string CallStatus { get; set; }
///
/// Get or set Custome Contact_no
///
public string caller_language { get; set; }
///
/// Get or set Security Token
///
public string feedback_call_status { get; set; }
///
/// Get or set Status
///
public string total_count { get; set; }
///
/// Get or set Message
///
public string gps_status { get; set; }
///
/// Get or set Is Deleted
///
public bool? IsDeleted { get; set; }
public string Score { get; set; }
}
public class ScoreRequestModel
{
private List> _score = new List>();
private List _dates = new List();
private List _EosScoreCardModel = new List();
///
/// Get or set Ticket Type
///
public string ReportType { get; set; }
///
/// Get or set Token
///
public string Token { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set User Id
///
public int? UserId { get; set; }
///
/// Get or set From Date
///
public DateTime FromDate { get; set; }
///
/// Get or set To Date
///
public DateTime ToDate { get; set; }
///
/// Get or set Limit
///
public int? Limit { get; set; }
///
/// Get or set OffSet
///
public int? OffSet { get; set; }
///
/// Get or set Ticket List
///
public List ClosedTicketList { get; set; }
///
/// Get or set
///
public Int64? TicketCount { get; set; }
///
/// Get or set
///
public string Condition { get; set; }
///
/// Get or set
///
public int? UtcMinute { get; set; }
///
/// get or set Ticket Alias
///
public string TicketAlias { get; set; }
///
/// get or set Dealer Id
///
public string DealerId { get; set; }
///
/// get or set Van Id
///
public string VanId { get; set; }
public List> score { get { return _score; } set { _score = value; } }
public List dates { get { return _dates; } set { _dates = value; } }
public List EosScoreCardModel { get { return _EosScoreCardModel; } set { _EosScoreCardModel = value; } }
}
///
/// This class contain TicketList model properties
///
public class TicketListForScore
{
///
/// Get or set Ticket id
///
[Display(Name = "Ticket Id")]
public string ticketid_alias { get; set; }
///
/// Get or set Ticket status alias
///
[Display(Name = "Ticket Status")]
public string TicketStatusAlias { get; set; }
///
/// Get or set creation time of ticket
///
[Display(Name = "Ticket Creation Time")]
public string CreationTime { get; set; }
///
/// Get or set customer name
///
[Display(Name = "Customer Name")]
public string CustomerName { get; set; }
///
/// Get or set Customer Contact No.
///
[Display(Name = "Customer Contact No.")]
public string CustomeContact_no { get; set; }
///
/// Get or set customer's vehicle registration no.
///
public string VehicleRegistrationNo { get; set; }
///
/// Get or set Vehicle Tagging
///
public string VehicleTagging { get; set; }
///
/// Get or set Default SLA Time
///
public int DefaultSlaTime { get; set; }
///
/// Get or set Response Time
///
[Display(Name = "Response(In min)")]
public int? TotalTicketLifeCycleTimeSlab { get; set; }
///
/// Get or set Service Engineer Name
///
// [Display(Name = "Van SE Name")]
public string ServiceEngineerName { get; set; }
///
/// Get or set Dealer Name
///
[Display(Name = "Dealer Name")]
public string DealerDealerName { get; set; }
///
/// Get or set Dealer Contact No.
///
[Display(Name = "Dealer Contact No.")]
public string ServiceEngineerContactNumber { get; set; }
public string caller_language { get; set; }
///
/// Get or set default column
///
public string DefaultCol2 { get; set; }
///
/// Get or set Security Token
///
public string feedback_call_status { get; set; }
///
/// Get or set Status
///
public string total_count { get; set; }
///
/// Get or set Message
///
public string gps_status { get; set; }
///
/// Get or set Security Token
///
public string Token { get; set; }
///
/// Get or set Status
///
public string Status { get; set; }
///
/// Get or set Message
///
public string Message { get; set; }
///
/// Get or set Description
///
public string Description { get; set; }
///
/// Get or set ticket assigned to (van/dealer)
///
public string AssignedTo { get; set; }
///
/// Get or set Reported bu which user
///
public string ReportedVia { get; set; }
///
/// Get or set Ticket status
///
public string TicketStatus { get; set; }
///
/// Get or set priority
///
public string Priority { get; set; }
///
/// Get or set customer score
///
public string CutomerScore { get; set; }
///
/// Get or set created by which user
///
public string CreatedBy { get; set; }
///
/// Get or set last modified by which user
///
public string LastModifiedBy { get; set; }
///
/// Get or set last modified time
///
public string LastModifiedTime { get; set; }
///
/// Get or set breakdown location
///
public string BreakDownLocation { get; set; }
///
/// Get or set breakdown longitude
///
public string BreackDownLongitude { get; set; }
///
/// Get or set breakdown latitude
///
public string BreackDownLatitude { get; set; }
///
/// Get or set assigned to van/dealer id
///
public string AssignedToUserId { get; set; }
///
/// Get or set assigned van/dealer longitude
///
public string AssignedToUserLongitude { get; set; }
///
/// Get or set assigned van/dealer latitude
///
public string AssignedToUserLatitude { get; set; }
///
/// Get or set is declined bit
///
public string IsDeclined { get; set; }
///
/// Get or set Estimated Time For Job Completion
///
public string EstimatedTimeForJobComplition { get; set; }
///
/// Get or set submit time
///
public string EstimatedTimeForJobComplitionSubmitTime { get; set; }
///
/// Get or set submit time
///
public string EstimatedTimeForJobCompletionSubmitTime { get; set; }
///
/// Get or set breakdown location landmark
///
public string BreakdownLocationLandmark { get; set; }
///
/// Get or set open ticket activity created by
///
public string ActivityTicketsOpenCreatedBy { get; set; }
///
/// Get or set open ticket activity creation time
///
public string ActivityTicketsOpenCreationTime { get; set; }
///
/// Get or set remarks
///
public string Remarks { get; set; }
///
/// Get or set Ticket activity status
///
public string TicketActivityStatus { get; set; }
///
/// Get or set Ticket status sequence for activity
///
public string TicketStatusSequenceOrder { get; set; }
///
/// Get or set Ticket status name
///
public string TicketStatusStatusName { get; set; }
///
/// Get or set user id
///
public string UserId { get; set; }
///
/// Get or set auth engine id/email id
///
public string AuthEngineId { get; set; }
///
/// Get or set User name
///
public string UserName { get; set; }
///
/// Get or set Designation
///
public string Designation { get; set; }
///
/// Get or set Object Id
///
public string ObjectId { get; set; }
///
/// Get or set Organization Id
///
public string OrganizationId { get; set; }
///
/// Get or set City
///
public string City { get; set; }
///
/// Get or set State
///
public string State { get; set; }
///
/// Get or set Region
///
public string Region { get; set; }
///
/// Get or set Language
///
public string Language { get; set; }
///
/// Get or set Time Zone ID
///
public string TimezoneId { get; set; }
///
/// Get or set display name
///
public string DisplayName { get; set; }
///
/// Get or set off set minutes for server side paging
///
public string OffsetInMinutes { get; set; }
///
/// Get or set Display Id
///
public string DisplayId { get; set; }
///
/// Get or set User Organization Name
///
public string UserOrganizationName { get; set; }
///
/// Get or set User Organization Alias
///
public string UserOrganizationAlias { get; set; }
///
/// Get or set User Organization City
///
public string UserOrganizationCity { get; set; }
///
/// Get or set User Organization State
///
public string UserOrganizationState { get; set; }
///
/// Get or set User Organization Country
///
public string UserAsorganizationCountry { get; set; }
///
/// Get or set User Organization Description
///
public string UserOrganizationDescription { get; set; }
///
/// Get or set User Organization Path
///
public string UserOrgPath { get; set; }
///
/// Get or set User Organization Depth (Levels)
///
public string UserOrgDepth { get; set; }
///
/// Get or set User Organization Color code
///
public string UserOrgColor { get; set; }
///
/// Get or set User Organization Region
///
public string UserOrganizationRegion { get; set; }
///
/// Get or set Dealer Id
///
public string DealerId { get; set; }
///
/// Get or set Dealer Organization Id
///
public string DealerOrganizationId { get; set; }
///
/// Get or set Dealer City
///
public string DealerCity { get; set; }
///
/// Get or set Dealer State
///
public string DealerState { get; set; }
///
/// Get or set Dealer Default latitude
///
public string DealerDealerDefaultLattitude { get; set; }
///
/// Get or set Dealer Default longitude
///
public string DealerDealerDefaultLongitude { get; set; }
///
/// Get or set van id
///
public string VanId { get; set; }
///
/// Get or set van alias
///
public string VanAlias { get; set; }
///
/// Get or set van Default latitude
///
public string VanVanDefaultLattitude { get; set; }
///
/// Get or set van Default longitude
///
public string VanVanDefaultLongitude { get; set; }
///
/// Get or set van city
///
public string VanCity { get; set; }
///
/// Get or set van state
///
public string VanState { get; set; }
///
/// Get or set van model
///
public string VanVanModel { get; set; }
///
/// Get or set van registration no.
///
public string VanRegistrationNumber { get; set; }
///
/// Get or set van registration no.
///
public string VanVanRegisteredAs { get; set; }
///
/// Get or set van/dealer organization name
///
public string DealerVanOrganizationName { get; set; }
///
/// Get or set van/dealer organization alias
///
public string DealerVanOrganizationOrganizationAlias { get; set; }
///
/// Get or set van/dealer organization city
///
public string DealerVanOrganizationOrganizationCity { get; set; }
///
/// Get or set van/dealer organization state
///
public string DealerVanOrganizationOrganizationState { get; set; }
///
/// Get or set van/dealer organization country
///
public string DealerVanOrganizationOrganizationCountry { get; set; }
///
/// Get or set van/dealer organization description
///
public string DealerVanOrganizationOrganizationDescription { get; set; }
///
/// Get or set van/dealer organization path
///
public string DealerVanOrganizationOrganizationPath { get; set; }
///
/// Get or set van/dealer organization depth
///
public string DealerVanOrganizationOrganizationDepth { get; set; }
///
/// Get or set van/dealer organization color code
///
public string DealerVanOrganizationOrganizationColor { get; set; }
///
/// Get or set van/dealer organization region
///
public string DealerVanOrganizationOrganizationRegion { get; set; }
///
/// Get or set service engineer id
///
public string ServiceEngineerId { get; set; }
///
/// Get or set service engineer alias
///
public string ServiceEngineerAlias { get; set; }
///
/// Get or set service engineer imei no.
///
public string ServiceEngineerImeiNumber { get; set; }
///
/// Get or set service engineer license key
///
public string ServiceEngineerApplicationLicenseKey { get; set; }
///
/// Get or set service engineer Mobile Application Blocked (true/false)
///
public string ServiceEngineerMobileApplicationBlocked { get; set; }
///
/// Get or set service engineer device alias
///
public string ServiceEngineerDeviceAlias { get; set; }
///
/// Get or set service engineer pin password
///
public string ServiceEngineerPinPassword { get; set; }
///
/// Get or set route id
///
public string RouteId { get; set; }
///
/// Get or set vehicle type
///
public string VehicleType { get; set; }
///
/// Get or set repair cost
///
public string RepairCost { get; set; }
///
/// Get or set device alias
///
public string DeviceAlias { get; set; }
///
/// Get or set imei no.
///
public string Ieminumber { get; set; }
///
/// Get or set SLA missed reason
///
public string SlaMissedReason { get; set; }
///
/// Get or set suggestion comment
///
public string SuggestionComment { get; set; }
///
/// Get or set Job Complete Response Time
///
public string JobCompleteResponseTime { get; set; }
///
/// Get or set default column
///
public string DefaultCol3 { get; set; }
// public string CustomerName { get; set; }
///
/// Get or set Estimated Distance
///
public string EstimatedDistance { get; set; }
///
/// Get or set age
///
public double? Age { get; set; }
public string CallStatus { get; set; }
public string Id { get; set; }
public string Score { get; set; }
}
///
/// Contains properties for Previous Year Eos Feedback Rating
///
public class dealerScoreCard
{
public object RecordDate { get; set; }
public object Score { get; set; }
}
public class dealerScoreCardScore
{
public string Score { get; set; }
}
public class dealerScoreCardDate
{
public string RecordDate { get; set; }
}
#endregion
//------- added on 09-03-2021 start --------------------
public class CancelledDraftTicketReportModel
{
public string Token { get; set; }
public string Status { get; set; }
public string Message { get; set; }
public List CancelledDraftTicketList { get; set; }
}
public class CancelledDraftTicketModel
{
public string Token { get; set; }
public string Message { get; set; }
public int UtcMinute { get; set; }
public int DraftTicketId { get; set; }
public string VehicleRegistrationNumber { get; set; }
public string ChassisNumber { get; set; }
public string Comments { get; set; }
public string ContactNumber { get; set; }
public string DriverName { get; set; }
public bool? KamUser { get; set; }
public DateTime CreationTime { get; set; }
public string TollFreeNoSource { get; set; }
public string TicketCancelReason { get; set; }
public string TicketCancelRemark { get; set; }
}
//------- added on 09-03-2021 end ----------------------
}