1303 lines
33 KiB
C#
1303 lines
33 KiB
C#
namespace VECV_WebApi.Models.Dashboard
|
|
{
|
|
#region Namespaces
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
#endregion
|
|
|
|
/// <summary>
|
|
/// This class contain dashboard properties
|
|
/// </summary>
|
|
public class DashboardModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set KeyName
|
|
/// </summary>
|
|
public string KeyName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key Value
|
|
/// </summary>
|
|
public string KeyValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set UserId
|
|
/// </summary>
|
|
public int? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set FromDate
|
|
/// </summary>
|
|
public DateTime FromDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set ToDate
|
|
/// </summary>
|
|
public DateTime ToDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set utc minute
|
|
/// </summary>
|
|
public int UtcMinutes { get; set; }
|
|
public string Email { get; set; }
|
|
|
|
public string dealerCodes { get; set; }
|
|
|
|
public string mobileNumber { get; set; }
|
|
|
|
}
|
|
public class NewDashboardDataModel
|
|
{
|
|
/// <summary>
|
|
/// Get or set Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string Key { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set KeyName
|
|
/// </summary>
|
|
public string KeyName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key Value
|
|
/// </summary>
|
|
public string KeyValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set UserId
|
|
/// </summary>
|
|
public int? UserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set FromDate
|
|
/// </summary>
|
|
public DateTime FromDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set ToDate
|
|
/// </summary>
|
|
public DateTime ToDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set utc minute
|
|
/// </summary>
|
|
public int UtcMinute { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string[] regionVal { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string[] dealerVal { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string[] verticleVal { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string[] emissionVal { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Key
|
|
/// </summary>
|
|
public string[] customerVal { get; set; }
|
|
|
|
|
|
public string[] modelNumber { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// Get or set Ticket Type
|
|
/// </summary>
|
|
public string StartDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or set Ticket Type
|
|
/// </summary>
|
|
public string EndDate { get; set; }
|
|
|
|
public string fuel_type { get; set; }
|
|
}
|
|
|
|
public class VehicleTypeModel
|
|
{
|
|
/// <summary>
|
|
/// Get or Set security token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set vehicle type id
|
|
/// </summary>
|
|
public string VehicleTypeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set vehicle type name
|
|
/// </summary>
|
|
public string VehicleTypeName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set vehicle type tagging
|
|
/// </summary>
|
|
public string VehicleTypeTagging { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set status
|
|
/// </summary>
|
|
public string Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set operation
|
|
/// </summary>
|
|
public string Operation { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set isDeleted bit
|
|
/// </summary>
|
|
public Boolean IsDeleted { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set isDeleted bit
|
|
/// </summary>
|
|
public string VehicleRegistrationNumber { get; set; }
|
|
|
|
|
|
public string udanVehicleProductId { get; set; }
|
|
|
|
|
|
public string udanVehicleProductName { get; set; }
|
|
}
|
|
|
|
public class VerticleModel
|
|
{
|
|
/// <summary>
|
|
/// Get or Set id
|
|
/// </summary>
|
|
// public string? Id { get; set; }
|
|
/// <summary>
|
|
/// Get or Set reason name
|
|
/// </summary>
|
|
public string VerticleName { get; set; }
|
|
/// <summary>
|
|
/// Get or Set security token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
}
|
|
|
|
public class GraphModel
|
|
{
|
|
/// <summary>
|
|
/// Get or Set id
|
|
/// </summary>
|
|
// public string? Id { get; set; }
|
|
/// <summary>
|
|
/// Get or Set reason name
|
|
/// </summary>
|
|
public string RegionName { get; set; }
|
|
/// <summary>
|
|
/// Get or Set security token
|
|
/// </summary>
|
|
public Int32 count_25km { get; set; }
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public Int32 count_50km { get; set; }
|
|
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public Int32 count_100km { get; set; }
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public Int32 count_More_Than_100km { get; set; }
|
|
}
|
|
|
|
public class RegionModel
|
|
{
|
|
/// <summary>
|
|
/// Get or Set id
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
/// <summary>
|
|
/// Get or Set reason name
|
|
/// </summary>
|
|
public string RegionName { get; set; }
|
|
/// <summary>
|
|
/// Get or Set security token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
public string Message { get; set; }
|
|
}
|
|
|
|
public class EmissionModel
|
|
{
|
|
/// <summary>
|
|
/// Get or Set id
|
|
/// </summary>
|
|
// public string? Id { get; set; }
|
|
/// <summary>
|
|
/// Get or Set reason name
|
|
/// </summary>
|
|
public string EmissionName { get; set; }
|
|
/// <summary>
|
|
/// Get or Set security token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
/// <summary>
|
|
/// Get or Set message
|
|
/// </summary>
|
|
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<VECVCustomerOpenTicketDetail> TicketOpenList { get; set; }
|
|
|
|
public List<VECVCustomerCloseTicketDetail> 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<VECVTicketOpenModel> 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<VECVTicketOpenModelNew> 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; }
|
|
}
|
|
}
|
|
|
|
|