POST api/LeadManagement/CreateLeadKIAweb

Request Information

URI Parameters

None.

Body Parameters

LeadInfoKIAWEB
NameDescriptionTypeAdditional information
CustNameEn

string

None.

CustNameAr

string

None.

MobileNo

string

None.

OpenBy

string

None.

Email

string

None.

City_Id

integer

None.

Source_ID

integer

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustNameEn": "sample string 1",
  "CustNameAr": "sample string 2",
  "MobileNo": "sample string 3",
  "OpenBy": "sample string 4",
  "Email": "sample string 5",
  "City_Id": 6,
  "Source_ID": 7,
  "Summary": "sample string 8"
}

Response Information

Resource Description

Leads
NameDescriptionTypeAdditional information
Lead_ID

integer

None.

Call_ID

integer

None.

SalesCRMNo

integer

None.

CustNameEn

string

None.

CustNameAr

string

None.

Cust_ID

string

None.

MobileNo

string

None.

Address

string

None.

Email

string

None.

DateOfOpen

date

None.

TicketDesc

string

None.

TicketNotes

string

None.

OpenBy

string

None.

Status

byte

None.

AppModule

string

None.

Source_ID

integer

None.

Enquiry_ID

integer

None.

Order_ID

integer

None.

SalesInvoice_No

integer

None.

BranchCode

string

None.

SalesPoint_Code

string

None.

CoCode

string

None.

O_Reason_ID

integer

None.

O_OtherReasonNotes

string

None.

DateOfReAssign

date

None.

R_Reason_ID

integer

None.

R_OtherReasonNotes

string

None.

C_Reason_ID

integer

None.

C_OtherReasonNotes

string

None.

LangPreference_Id

integer

None.

RefCRMNo

integer

None.

FeedBack1

string

None.

FeedBack2

string

None.

FeedBack3

string

None.

Priority

string

None.

CallBehaviour

string

None.

CRMUserId

string

None.

CRMUserFullName

string

None.

SalesBranchCode

string

None.

CRMBranchId

string

None.

EnquiryFor_ID

byte

None.

CallGroupCode

byte

None.

CallGroupsubCode

integer

None.

sourcefrom

integer

None.

sourceDetail

string

None.

CSCode

byte

None.

Nationality_Id

byte

None.

model

integer

None.

Gender_Id

integer

None.

DateOfStamp

date

None.

UserId

string

None.

LMD

date

None.

LMU

string

None.

MobileNo2

string

None.

Work_Address

string

None.

Age

integer

None.

Salary

decimal number

None.

TemperatureId

integer

None.

Model_ID1

string

None.

Model_ID2

string

None.

Model_ID3

string

None.

LastName

string

None.

LeadTypeID

integer

None.

PreferCallTime

integer

None.

DealType

integer

None.

SalesRepPrefer

integer

None.

vehType

string

None.

VehicleModel

string

None.

TestDrive

boolean

None.

Range

integer

None.

logtype

string

None.

Variant_ID

integer

None.

OTPCode

string

None.

OTP

string

None.

ModelYear

integer

None.

Exterior_Code

integer

None.

Summary

string

None.

CustomerDtl

CRMCustomer

None.

Response Formats

application/json, text/json

Sample:
{
  "Lead_ID": 1,
  "Call_ID": 1,
  "SalesCRMNo": 2,
  "CustNameEn": "sample string 3",
  "CustNameAr": "sample string 4",
  "Cust_ID": "sample string 5",
  "MobileNo": "sample string 6",
  "Address": "sample string 7",
  "Email": "sample string 8",
  "DateOfOpen": "2024-12-21T16:27:01.7471945+03:00",
  "TicketDesc": "sample string 10",
  "TicketNotes": "sample string 11",
  "OpenBy": "sample string 12",
  "Status": 64,
  "AppModule": "sample string 14",
  "Source_ID": 15,
  "Enquiry_ID": 1,
  "Order_ID": 1,
  "SalesInvoice_No": 1,
  "BranchCode": "sample string 16",
  "SalesPoint_Code": "sample string 17",
  "CoCode": "sample string 18",
  "O_Reason_ID": 1,
  "O_OtherReasonNotes": "sample string 19",
  "DateOfReAssign": "2024-12-21T16:27:01.7471945+03:00",
  "R_Reason_ID": 1,
  "R_OtherReasonNotes": "sample string 20",
  "C_Reason_ID": 1,
  "C_OtherReasonNotes": "sample string 21",
  "LangPreference_Id": 1,
  "RefCRMNo": 1,
  "FeedBack1": "sample string 22",
  "FeedBack2": "sample string 23",
  "FeedBack3": "sample string 24",
  "Priority": "sample string 25",
  "CallBehaviour": "sample string 26",
  "CRMUserId": "sample string 27",
  "CRMUserFullName": "sample string 28",
  "SalesBranchCode": "sample string 29",
  "CRMBranchId": "sample string 30",
  "EnquiryFor_ID": 64,
  "CallGroupCode": 64,
  "CallGroupsubCode": 1,
  "sourcefrom": 1,
  "sourceDetail": "sample string 31",
  "CSCode": 64,
  "Nationality_Id": 64,
  "model": 1,
  "Gender_Id": 1,
  "DateOfStamp": "2024-12-21T16:27:01.7471945+03:00",
  "UserId": "sample string 33",
  "LMD": "2024-12-21T16:27:01.7471945+03:00",
  "LMU": "sample string 34",
  "MobileNo2": "sample string 35",
  "Work_Address": "sample string 36",
  "Age": 1,
  "Salary": 1.0,
  "TemperatureId": 1,
  "Model_ID1": "sample string 37",
  "Model_ID2": "sample string 38",
  "Model_ID3": "sample string 39",
  "LastName": "sample string 40",
  "LeadTypeID": 41,
  "PreferCallTime": 42,
  "DealType": 43,
  "SalesRepPrefer": 44,
  "vehType": "sample string 45",
  "VehicleModel": "sample string 46",
  "TestDrive": true,
  "Range": 48,
  "logtype": "sample string 49",
  "Variant_ID": 50,
  "OTPCode": "sample string 51",
  "OTP": "sample string 52",
  "ModelYear": 53,
  "Exterior_Code": 54,
  "Summary": "sample string 55",
  "CustomerDtl": {
    "Cust_No": 1,
    "Cust_ID": "sample string 2",
    "Cust_Name": "sample string 3",
    "Cust_Address": "sample string 4",
    "Cust_WorkPhone": "sample string 5",
    "Cust_Fax": "sample string 6",
    "Cust_Mobile": "sample string 7",
    "Cust_Email": "sample string 8",
    "Cust_Company": "sample string 9",
    "Cust_Nationality": "sample string 10",
    "Cust_Designation": "sample string 11",
    "Labour_Disc": 1.0,
    "Parts_Disc": 1.0,
    "Branchno": "sample string 12",
    "Cust_HomePhone": "sample string 13",
    "Cust_Type": 64,
    "Cust_Account": "sample string 14",
    "CompCode": "sample string 15",
    "Dated": "2024-12-21T16:27:01.7471945+03:00",
    "Cust_City": "sample string 16",
    "Cust_WorkPosition": "sample string 17",
    "Cust_POBOx": "sample string 18",
    "Cust_ZipCode": "sample string 19",
    "LMD": "2024-12-21T16:27:01.7471945+03:00",
    "lmu": "sample string 20",
    "Cust_Tel": "sample string 21",
    "UserID": "sample string 22",
    "StampDate": "2024-12-21T16:27:01.7471945+03:00",
    "AccountCode": 1,
    "Cust__ReferenceNo": 1,
    "Cust_AddressAR": "sample string 23",
    "Cust_Area": "sample string 24",
    "Cust_BasicSalary": 1.0,
    "Cust_BranchNo": "sample string 25",
    "Cust_CompCode": "sample string 26",
    "Cust_Dated": "2024-12-21T16:27:01.7471945+03:00",
    "Cust_EmailAR": "sample string 27",
    "Cust_HomePhoneAR": "sample string 28",
    "Cust_Housing": 64,
    "Cust_IDType": "sample string 29",
    "Cust_Mobile2": "sample string 30",
    "Cust_MobileAR": "sample string 31",
    "Cust_ModelName": "sample string 32",
    "Cust_NameAr": "sample string 33",
    "Cust_plateNo": "sample string 34",
    "Cust_Street": "sample string 35",
    "Cust_vincode": "sample string 36",
    "Cust_WorkArea": "sample string 37",
    "Cust_WorkCity": "sample string 38",
    "Cust_WorkCountry": "sample string 39",
    "Cust_WorkPhoneAR": "sample string 40",
    "Cust_WorkPoBox": "sample string 41",
    "Cust_WorkStartDate": "2024-12-21T16:27:01.7471945+03:00",
    "Cust_WorkStreet": "sample string 42",
    "Cust_WorkZipCode": "sample string 43",
    "DateOfBirth": "2024-12-21T16:27:01.7471945+03:00",
    "Gender": 1,
    "IqamaExpiryDate": "2024-12-21T16:27:01.7471945+03:00",
    "IsGold": 64,
    "IsValidated": true,
    "LicenseExpiryDate": "2024-12-21T16:27:01.7471945+03:00",
    "LicenseNo": "sample string 44",
    "MaritalStatus": 1,
    "RecordType": 64,
    "ServiceSubType_Id": 64,
    "ServiceType_Id": 64,
    "ApplicantType_Id": 64,
    "BusinessActivity_Id": 64,
    "City_Id": 1,
    "ContactType_Id": 64,
    "Country_Id": 1,
    "Cust_AddressLine1": "sample string 45",
    "Cust_AddressLine2": "sample string 46",
    "Cust_AddressLineEn1": "sample string 47",
    "Cust_AddressLineEn2": "sample string 48",
    "Cust_Age": 64,
    "Cust_Area2": "sample string 49",
    "Cust_AreaEn1": "sample string 50",
    "Cust_City2": "sample string 51",
    "Cust_CityEn1": "sample string 52",
    "Cust_CityEn2": "sample string 53",
    "Cust_CompanyEn": "sample string 54",
    "Cust_CRNo": "sample string 55",
    "EmployerTypeId": 64,
    "EmploymentStatus": 64,
    "IdIssuerCode": "sample string 56",
    "IsCustomer": 64,
    "IsDriver": 64,
    "IsGaurantor": 64,
    "IsIntroducer": 64,
    "LevelId": 64,
    "Nationality_Id": 64,
    "NationalityType_Id": 64,
    "NoOfBranches": 1,
    "NoOfStaff": 1,
    "ObligationPercent": 1.0,
    "PlaceOfIdIssued": "sample string 57",
    "ShareCapital": 1.0,
    "Work_AddressLine1": "sample string 58",
    "Work_AddressLine2": "sample string 59",
    "Work_AddressLineEn1": "sample string 60",
    "Work_AddressLineEn2": "sample string 61",
    "Work_Area2": "sample string 62",
    "Work_AreaAr1": "sample string 63",
    "Work_AreaEn1": "sample string 64",
    "Work_AreaEn2": "sample string 65",
    "Work_City2": "sample string 66",
    "Work_CityAr2": "sample string 67",
    "Work_CityEn1": "sample string 68",
    "Work_CityEn2": "sample string 69",
    "Work_ContractEndDate": "2024-12-21T16:27:01.7471945+03:00",
    "Work_EmployeerEmail": "sample string 70",
    "Work_EmployeerPhone": "sample string 71",
    "Work_IsSelfEmployeed": true,
    "Work_ManagerName": "sample string 72",
    "Work_ServiceLength": 1,
    "Work_TotalSalary": 1.0,
    "WorkCity_Id": 64,
    "WorkCountry_Id": 64,
    "CRMasterNo": "sample string 73",
    "CRMaster_PlaceOfIssue": "sample string 74",
    "CRMaster_DateOfStart": "2024-12-21T16:27:01.7471945+03:00",
    "CRMaster_DateOfExpiry": "2024-12-21T16:27:01.7471945+03:00",
    "IsSales": true,
    "LastSalesFlagUpdated": "2024-12-21T16:27:01.7471945+03:00",
    "CRMBuyingType_Id": 64,
    "FleetSize": 1,
    "DateOfIdIssued": "2024-12-21T16:27:01.7471945+03:00",
    "OtherResiDetails": "sample string 75",
    "Cust_BuildingNo": "sample string 76",
    "Work_TelExtension": "sample string 77",
    "Work_Street": "sample string 78",
    "OtherIncomeSource": "sample string 79",
    "OtherIncomeSourceAmt": 1.0,
    "Source_Id": 1,
    "CRM_CustTypeId": 64,
    "Department_Id": 1,
    "LastValidatedTimestamp": "2024-12-21T16:27:01.7471945+03:00",
    "ProviderAcctNo": 1,
    "ProviderCustNo": 1,
    "ProviderCRMNo": 1,
    "LogBy": "sample string 80",
    "LogDate": "2024-12-21T16:27:01.7471945+03:00",
    "IsCorporateCust": true,
    "CorporateCust_Id": 1,
    "Vat_Id": 1,
    "VatCustomerReg_Id": 1,
    "CorporateCustLMU": "sample string 81",
    "CorporateCustLMD": "2024-12-21T16:27:01.7471945+03:00",
    "IsUnSubscribeSMS": true,
    "Age": 1,
    "Istemara": "sample string 82"
  }
}