package schema type CreateBody struct { Body body `xml:"Body"` ID int `xml:"id"` UserID int `xml:"user_id"` ApplicantType int `xml:"applicant_type"` PanValidation string `json:"panValidation"` } type body struct { ProcessResponse processResponse `xml:"processResponse"` } type processResponse struct { Out out `xml:"out"` } type out struct { INProfileResponse iNProfileResponse `xml:"INProfileResponse"` } type iNProfileResponse struct { Header header `xml:"Header"` UserMessage userMessage `xml:"UserMessage"` CurrentApplication Current_application `xml:"Current_Application"` CAIS_Account CAIS_account `xml:"CAIS_Account"` Match_result match_result `xml:"Match_result"` TotalCAPS_Summary TotalCAPS_summary `xml:"TotalCAPS_Summary"` CAPS caps `xml:"CAPS"` NonCreditCAPS NoncreditCAPS `xml:"NonCreditCAPS"` SCORE score `xml:"SCORE"` } type userMessage struct{ UserMessageText string `xml:"UserMessageText"` } type Current_application struct{ Current_Application_Details current_application_details `xml:"Current_Application_Details"` } type current_application_details struct{ Enquiry_Reason string `xml:"Enquiry_Reason"` Finance_Purpose string `xml:"Finance_Purpose"` Amount_Financed string `xml:"Amount_Financed"` Duration_Of_Agreement string `xml:"Duration_Of_Agreement"` Current_Applicant_Details []Current_Applicant_Details `xml:"Current_Applicant_Details"` Current_Other_Details []Current_Other_Details `xml:"Current_Other_Details"` Current_Applicant_Address_Details []Current_Applicant_Address_Details `xml:"Current_Applicant_Address_Details"` } type Current_Applicant_Details struct { Last_Name string `xml:"Last_Name"` First_Name string `xml:"First_Name"` Gender_Code string `xml:"Gender_Code"` IncomeTaxPan string `xml:"IncomeTaxPan"` PAN_Issue_Date string `xml:"PAN_Issue_Date"` PAN_Expiration_Date string `xml:"PAN_Expiration_Date"` Passport_number string `xml:"Passport_number"` Passport_Issue_Date string `xml:"Passport_Issue_Date"` Passport_Expiration_Date string `xml:"Passport_Expiration_Date"` Voter_s_Identity_Card string `xml:"Voter_s_Identity_Card"` Voter_ID_Issue_Date string `xml:"Voter_ID_Issue_Date"` Voter_ID_Expiration_Date string `xml:"Voter_ID_Expiration_Date"` Driver_License_Number string `xml:"Driver_License_Number"` Driver_License_Issue_Date string `xml:"Driver_License_Issue_Date"` Driver_License_Expiration_Date string `xml:"Driver_License_Expiration_Date"` Ration_Card_Number string `xml:"Ration_Card_Number"` Ration_Card_Issue_Date string `xml:"Ration_Card_Issue_Date"` Ration_Card_Expiration_Date string `xml:"Ration_Card_Expiration_Date"` Universal_ID_Number string `xml:"Universal_ID_Number"` Universal_ID_Issue_Date string `xml:"Universal_ID_Issue_Date"` Universal_ID_Expiration_Date string `xml:"Universal_ID_Expiration_Date"` Date_Of_Birth_Applicant string `xml:"Date_Of_Birth_Applicant"` MobilePhoneNumber string `xml:"MobilePhoneNumber"` EMailId string `xml:"EMailId"` Telephone_Number_Applicant_1st string `xml:"Telephone_Number_Applicant_1st"` } type Current_Other_Details struct { Income string `xml:"Income"` Marital_Status string `xml:"Marital_Status"` Employment_Status string `xml:"Employment_Status"` Time_with_Employer string `xml:"Time_with_Employer"` Number_of_Major_Credit_Card_Held string `xml:"Number_of_Major_Credit_Card_Held"` } type Current_Applicant_Address_Details struct { FlatNoPlotNoHouseNo string `xml:"FlatNoPlotNoHouseNo"` BldgNoSocietyName string `xml:"BldgNoSocietyName"` RoadNoNameAreaLocality string `xml:"RoadNoNameAreaLocality"` City string `xml:"City"` Landmark string `xml:"Landmark"` State string `xml:"State"` PINCode string `xml:"PINCode"` Country_Code string `xml:"Country_Code"` } type score struct { BureauScore string `xml:"BureauScore"` BureauScoreConfidLevel string `xml:"BureauScoreConfidLevel"` CreditRating string `xml:"CreditRating"` } type caps struct { CAPS_Summary CAPS_summary `xml:"CAPS_Summary"` CAPS_Application_Details []CAPS_application_Details `xml:"CAPS_Application_Details"` } type NoncreditCAPS struct { NonCreditCAPS_Summary NoncreditCAPS_Summary `xml:"NonCreditCAPS_Summary"` CAPS_Application_Details []CAPS_application_Details `xml:"CAPS_Application_Details"` } type NoncreditCAPS_Summary struct { NonCreditCAPSLast7Days int `xml:"NonCreditCAPSLast7Days"` NonCreditCAPSLast30Days int `xml:"NonCreditCAPSLast30Days"` NonCreditCAPSLast90Days int `xml:"NonCreditCAPSLast90Days"` NonCreditCAPSLast180Days int `xml:"NonCreditCAPSLast180Days"` } type CAPS_summary struct { CAPSLast7Days int `xml:"CAPSLast7Days"` CAPSLast30Days int `xml:"CAPSLast30Days"` CAPSLast90Days int `xml:"CAPSLast90Days"` CAPSLast180Days int `xml:"CAPSLast180Days"` } type CAPS_application_Details struct { Subscriber_code string `xml:"Subscriber_code"` Subscriber_Name string `xml:"Subscriber_Name"` Date_of_Request string `xml:"Date_of_Request"` ReportTime string `xml:"ReportTime"` ReportNumber string `xml:"ReportNumber"` Enquiry_Reason string `xml:"Enquiry_Reason"` Finance_Purpose string `xml:"Finance_Purpose"` Amount_Financed string `xml:"Amount_Financed"` Duration_Of_Agreement string `xml:"Duration_Of_Agreement"` CAPS_Applicant_Details CAPS_applicant_Details `xml:"CAPS_Applicant_Details"` CAPS_Other_Details CAPS_other_Details `xml:"CAPS_Other_Details"` CAPS_Applicant_Address_Details CAPS_applicant_Address_Details `xml:"CAPS_Applicant_Address_Details"` CAPS_Applicant_Additional_Address_Details CAPS_applicant_Additional_Address_Details `xml:"CAPS_Applicant_Additional_Address_Details"` } type CAPS_applicant_Additional_Address_Details struct { FlatNoPlotNoHouseNo string `xml:"FlatNoPlotNoHouseNo"` BldgNoSocietyName string `xml:"BldgNoSocietyName"` RoadNoNameAreaLocality string `xml:"RoadNoNameAreaLocality"` City string `xml:"City"` Landmark string `xml:"Landmark"` State string `xml:"State"` PINCode string `xml:"PINCode"` Country_Code string `xml:"Country_Code"` } type CAPS_applicant_Address_Details struct{ FlatNoPlotNoHouseNo string `xml:"FlatNoPlotNoHouseNo"` BldgNoSocietyName string `xml:"BldgNoSocietyName"` RoadNoNameAreaLocality string `xml:"RoadNoNameAreaLocality"` City string `xml:"City"` Landmark string `xml:"Landmark"` State string `xml:"State"` PINCode int `xml:"PINCode"` Country_Code string `xml:"Country_Code"` } type CAPS_other_Details struct { Income string `xml:"Income"` Marital_Status string `xml:"Marital_Status"` Employment_Status string `xml:"Employment_Status"` Time_with_Employer string `xml:"Time_with_Employer"` Number_of_Major_Credit_Card_Held string `xml:"Number_of_Major_Credit_Card_Held"` } type CAPS_applicant_Details struct { Last_Name string `xml:"Last_Name"` First_Name string `xml:"First_Name"` Middle_Name1 string `xml:"Middle_Name1"` Middle_Name2 string `xml:"Middle_Name2"` Middle_Name3 string `xml:"Middle_Name3"` Gender_Code string `xml:"Gender_Code"` IncomeTaxPan string `xml:"IncomeTaxPan"` PAN_Issue_Date string `xml:"PAN_Issue_Date"` PAN_Expiration_Date string `xml:"PAN_Expiration_Date"` Passport_number string `xml:"Passport_number"` Passport_Issue_Date string `xml:"Passport_Issue_Date"` Passport_Expiration_Date string `xml:"Passport_Expiration_Date"` Voter_s_Identity_Card string `xml:"Voter_s_Identity_Card"` Voter_ID_Issue_Date string `xml:"Voter_ID_Issue_Date"` Voter_ID_Expiration_Date string `xml:"Voter_ID_Expiration_Date"` Driver_License_Number string `xml:"Driver_License_Number"` Driver_License_Issue_Date string `xml:"Driver_License_Issue_Date"` Driver_License_Expiration_Date string `xml:"Driver_License_Expiration_Date"` Ration_Card_Number string `xml:"Ration_Card_Number"` Ration_Card_Issue_Date string `xml:"Ration_Card_Issue_Date"` Ration_Card_Expiration_Date string `xml:"Ration_Card_Expiration_Date"` Universal_ID_Number string `xml:"Universal_ID_Number"` Universal_ID_Issue_Date string `xml:"Universal_ID_Issue_Date"` Universal_ID_Expiration_Date string `xml:"Universal_ID_Expiration_Date"` Date_Of_Birth_Applicant string `xml:"Date_Of_Birth_Applicant"` Telephone_Type string `xml:"Telephone_Type"` MobilePhoneNumber string `xml:"MobilePhoneNumber"` EMailId string `xml:"EMailId"` } type CAIS_account struct { CAIS_Summary CAIS_summary `xml:"CAIS_Summary"` CAIS_Account_DETAILS []CAIS_account_DETAILS `xml:"CAIS_Account_DETAILS"` } type CAIS_summary struct { Credit_Account Credit_account `xml:"Credit_Account"` Total_Outstanding_Balance Total_outstanding_Balance `xml:"Total_Outstanding_Balance"` } type CAIS_account_DETAILS struct { Identification_Number string `xml:"Identification_Number"` Subscriber_Name string `xml:"Subscriber_Name"` Account_Number string `xml:"Account_Number"` Portfolio_Type string `xml:"Portfolio_Type"` Account_Type int `xml:"Account_Type"` Open_Date string `xml:"Open_Date"` Highest_Credit_or_Original_Loan_Amount int `xml:"Highest_Credit_or_Original_Loan_Amount"` Terms_Duration string `xml:"Terms_Duration"` Terms_Frequency string `xml:"Terms_Frequency"` Scheduled_Monthly_Payment_Amount int `xml:"Scheduled_Monthly_Payment_Amount"` Account_Status string `xml:"Account_Status"` Payment_Rating string `xml:"Payment_Rating"` Payment_History_Profile string `xml:"Payment_History_Profile"` Special_Comment string `xml:"Special_Comment"` Current_Balance int `xml:"Current_Balance"` Amount_Past_Due int `xml:"Amount_Past_Due"` Original_Charge_off_Amount string `xml:"Original_Charge_off_Amount"` Date_Reported string `xml:"Date_Reported"` Date_Of_First_Delinquency string `xml:"Date_Of_First_Delinquency"` Date_Closed string `xml:"Date_Closed"` Date_of_Last_Payment string `xml:"Date_of_Last_Payment"` SuitFiledWillfulDefaultWrittenOffStatus string `xml:"SuitFiledWillfulDefaultWrittenOffStatus"` SuitFiled_WilfulDefault string `xml:"SuitFiled_WilfulDefault"` Written_off_Settled_Status string `xml:"Written_off_Settled_Status"` Value_of_Credits_Last_Month string `xml:"Value_of_Credits_Last_Month"` Occupation_Code string `xml:"Occupation_Code"` Settlement_Amount string `xml:"Settlement_Amount"` Value_of_Collateral string `xml:"Value_of_Collateral"` Type_of_Collateral string `xml:"Type_of_Collateral"` Written_Off_Amt_Total string `xml:"Written_Off_Amt_Total"` Written_Off_Amt_Principal string `xml:"Written_Off_Amt_Principal"` Rate_of_Interest string `xml:"Rate_of_Interest"` Repayment_Tenure string `xml:"Repayment_Tenure"` Promotional_Rate_Flag string `xml:"Promotional_Rate_Flag"` Income string `xml:"Income"` Income_Indicator string `xml:"Income_Indicator"` Income_Frequency_Indicator string `xml:"Income_Frequency_Indicator"` DefaultStatusDate string `xml:"DefaultStatusDate"` LitigationStatusDate string `xml:"LitigationStatusDate"` WriteOffStatusDate string `xml:"WriteOffStatusDate"` DateOfAddition string `xml:"DateOfAddition"` CurrencyCode string `xml:"CurrencyCode"` Subscriber_comments string `xml:"Subscriber_comments"` Consumer_comments string `xml:"Consumer_comments"` AccountHoldertypeCode int `xml:"AccountHoldertypeCode"` CAIS_Account_History []CAIS_account_History `xml:"CAIS_Account_History"` CAIS_Holder_Details CAIS_holder_Details `xml:"CAIS_Holder_Details"` CAIS_Holder_Address_Details CAIS_holder_Address_Details `xml:"CAIS_Holder_Address_Details"` CAIS_Holder_Phone_Details CAIS_holder_Phone_Details `xml:"CAIS_Holder_Phone_Details"` CAIS_Holder_ID_Details CAIS_holder_ID_Details `xml:"CAIS_Holder_ID_Details"` } type CAIS_account_History struct { Year int `xml:"Year"` Month int `xml:"Month"` Days_Past_Due string `xml:"Days_Past_Due"` Asset_Classification string `xml:"Asset_Classification"` } type CAIS_holder_Details struct { Surname_Non_Normalized string `xml:"Surname_Non_Normalized"` First_Name_Non_Normalized string `xml:"First_Name_Non_Normalized"` Middle_Name_1_Non_Normalized string `xml:"Middle_Name_1_Non_Normalized"` Middle_Name_2_Non_Normalized string `xml:"Middle_Name_2_Non_Normalized"` Middle_Name_3_Non_Normalized string `xml:"Middle_Name_3_Non_Normalized"` Alias string `xml:"Alias"` Gender_Code int `xml:"Gender_Code"` Income_TAX_PAN string `xml:"Income_TAX_PAN"` Date_of_birth string `xml:"Date_of_birth"` } type CAIS_holder_Address_Details struct { First_Line_Of_Address_non_normalized string `xml:"First_Line_Of_Address_non_normalized"` Second_Line_Of_Address_non_normalized string `xml:"Second_Line_Of_Address_non_normalized"` Third_Line_Of_Address_non_normalized string `xml:"Third_Line_Of_Address_non_normalized"` City_non_normalized string `xml:"City_non_normalized"` Fifth_Line_Of_Address_non_normalized string `xml:"Fifth_Line_Of_Address_non_normalized"` State_non_normalized string `xml:"State_non_normalized"` ZIP_Postal_Code_non_normalized int `xml:"ZIP_Postal_Code_non_normalized"` CountryCode_non_normalized string `xml:"CountryCode_non_normalized"` Address_indicator_non_normalized string `xml:"Address_indicator_non_normalized"` Residence_code_non_normalized string `xml:"Residence_code_non_normalized"` } type CAIS_holder_Phone_Details struct { Telephone_Number string `xml:"Telephone_Number"` Telephone_Type string `xml:"Telephone_Type"` } type CAIS_holder_ID_Details struct { Income_TAX_PAN string `xml:"Income_TAX_PAN"` PAN_Issue_Date string `xml:"PAN_Issue_Date"` PAN_Expiration_Date string `xml:"PAN_Expiration_Date"` Driver_License_Number string `xml:"Driver_License_Number"` Driver_License_Issue_Date string `xml:"Driver_License_Issue_Date"` Driver_License_Expiration_Date string `xml:"Driver_License_Expiration_Date"` EMailId string `xml:"EMailId"` } type match_result struct { match_result string `xml:"match_result"` } type TotalCAPS_summary struct { TotalCAPSLast7Days int `xml:"TotalCAPSLast7Days"` TotalCAPSLast30Days int `xml:"TotalCAPSLast30Days"` TotalCAPSLast90Days int `xml:"TotalCAPSLast90Days"` TotalCAPSLast180Days int `xml:"TotalCAPSLast180Days"` } type Credit_account struct { CreditAccountTotal int `xml:"CreditAccountTotal"` CreditAccountActive int `xml:"CreditAccountActive"` CreditAccountDefault int `xml:"CreditAccountDefault"` CreditAccountClosed int `xml:"CreditAccountClosed"` CADSuitFiledCurrentBalance int `xml:"CADSuitFiledCurrentBalance"` } type Total_outstanding_Balance struct { Outstanding_Balance_Secured int `xml:"Outstanding_Balance_Secured"` Outstanding_Balance_Secured_Percentage int `xml:"Outstanding_Balance_Secured_Percentage"` Outstanding_Balance_UnSecured int `xml:"Outstanding_Balance_UnSecured"` Outstanding_Balance_UnSecured_Percentage int `xml:"Outstanding_Balance_UnSecured_Percentage"` Outstanding_Balance_All int `xml:"Outstanding_Balance_All"` } type header struct { SystemCode int `xml:"SystemCode"` MessageText string `xml:"MessageText"` ReportDate string `xml:"ReportDate"` ReportTime string `xml:"ReportTime"` } type CFAddressLists struct { Address string `json:"Address"` Type string `json:"Type"` Postal int `json:"Postal"` State string `json:"State"` } type CreditReport struct{ ApplicationID int `json:"application_id"` Score string `json:"Score"` NoOfActiveAccounts int `json:"NoOfActiveAccounts"` ActiveCreditCardLimit int `json:"activeCreditCardLimit"` SanctionAmount int `json:"sanctionAmount"` TotalPastDue int `json:"TotalPastDue"` Past12Months int `json:"Past12Months"` Past24Months int `json:"Past24Months"` TotalEnquiry int `json:"TotalEnquiry"` ZeroBalanceAccount int `json:"zeroBalanceAccount"` PastDueAccount int `json:"pastDueAccount"` VoterID string `json:"VoterID"` ContactInfoList string `json:"contactInfoList"` PANIdsList string `json:"PANIdsList"` AddressInfoList string `json:"AddressInfoList"` Applicant_type int `json:"applicant_type"` Created_at string `json:"created_at"` NationalIdsList string `json:"NationalIdsList"` DateOfBirth string `json:"DateOfBirth"` PanValidation string `json:"panValidation"` Foir []Foir `json:"foir"` Bureau string `json:"bureau"` } type Foir struct{ ApplicationID int `json:"application_id"` CreditId int `json:"credit_id"` AccountType string `json:"AccountType"` Institution string `json:"Institution"` OwnershipType string `json:"OwnershipType"` ApprovedAmount int `json:"ApprovedAmount"` Balance int `json:"Balance"` InterestRate string `json:"InterestRate"` RepaymentTenure string `json:"RepaymentTenure"` InstallmentAmount int `json:"InstallmentAmount"` CC_loan int `json:"cc_loan"` IsOpened int `json:"isOpened"` DateOpened string `json:"DateOpened"` DateClosed string `json:"DateClosed"` LastPaymentDate string `json:"LastPaymentDate"` LastPayment string `json:"LastPayment"` PastDueAmount int `json:"PastDueAmount"` DPD string `json:"dpd"` ApplicantType int `json:"applicant_type"` CreatedBy int `json:"created_by"` CreatedAt string `json:"created_at"` ReportedDate string `json:"ReportedDate"` } type Request struct{ ID int `json:"id"` UserID int `json:"user_id"` ApplicantType int `json:"applicant_type"` RequestType string `json:"request_type"` FirstName string `json:"first_name"` LastName string `json:"last_name"` Gender int `json:"gender"` PAN string `json:"pan"` Amount int `json:"amount"` DOB string `json:"dob"` PinCode int `json:"pincode"` City string `json:"city"` Address string `json:"address"` State string `json:"state"` District string `json:"district"` Mobile int `json:"mobile"` PanValidation string `json:"panValidation"` RequestTime int64 `json:"requestTime"` ResPath string `json:"res_path"` ReqPath string `json:"req_path"` }