Chilkat HOME .NET Core C# Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi ActiveX Delphi DLL Go Java Lianja Mono C# Node.js Objective-C PHP ActiveX PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift 2 Swift 3,4,5... Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(AutoIt) Activix CRM Update a LeadDemonstrates how to update a lead and returns the updated lead. For more information, see https://docs.crm.activix.ca/api/resources/lead
; This example requires the Chilkat API to have been previously unlocked. ; See Global Unlock Sample for sample code. $oHttp = ObjCreate("Chilkat.Http") $oHttp.AuthToken = "ACCESS_TOKEN" $oHttp.Accept = "application/json" ; The following JSON is sent in the request body: ; { ; "first_name": "John", ; "last_name": "Doe", ; "advisor": { ; "first_name": "Johan", ; "last_name": "Strauss" ; } ; } ; Use this online tool to generate the code from sample JSON: ; Generate Code to Create JSON $oJsonRequestBody = ObjCreate("Chilkat.JsonObject") $oJsonRequestBody.UpdateString("first_name","John") $oJsonRequestBody.UpdateString("last_name","Doe") $oJsonRequestBody.UpdateString("advisor.first_name","Johan") $oJsonRequestBody.UpdateString("advisor.last_name","Strauss") Local $sUrl = "https://crm.activix.ca/api/v2/leads/LEAD_ID" Local $oResp = $oHttp.PText("PUT",$sUrl,$oJsonRequestBody.Emit(),"utf-8","application/json",False,False) If ($oHttp.LastMethodSuccess <> True) Then ConsoleWrite($oHttp.LastErrorText & @CRLF) Exit EndIf ConsoleWrite("Response Status Code: " & $oResp.StatusCode & @CRLF) $oJsonResponse = ObjCreate("Chilkat.JsonObject") $oJsonResponse.Load($oResp.BodyStr) $oJsonResponse.EmitCompact = False ConsoleWrite($oJsonResponse.Emit() & @CRLF) If ($oResp.StatusCode >= 300) Then ConsoleWrite("Failed." & @CRLF) Exit EndIf ; Sample output... ; (See the parsing code below..) ; ; Use the this online tool to generate parsing code from sample JSON: ; Generate Parsing Code from JSON ; { ; "data": { ; "id": 3387562, ; "created_at": "2018-04-09T18:05:00+00:00", ; "updated_at": "2018-04-09T18:07:00+00:00", ; "first_name": "John", ; "last_name": "Doe", ; ... ; "account": { ; "id": 66, ; ... ; }, ; "advisor": { ; "id": 51112, ; ... ; }, ; "emails": [ ; { ; "id": 3664451, ; ... ; }, ; ... ; ], ; "phones": [ ; { ; "id": 9465546, ; ... ; }, ; ... ; ], ; "vehicles": [ ; { ; "id": 4542214, ; ... ; }, ; ... ; ] ; } ; } Local $iDataId Local $sDataCreated_at Local $sDataUpdated_at Local $iDataAccount_id Local $sDataAddress_line1 Local $sDataAddress_line2 Local $sDataAppointment_date Local $bDataAppt_call Local $sDataAvailable_date Local $sDataAverage_spending Local $sDataBe_back_date Local $sDataBirth_date Local $sDataBusiness Local $sDataCall_date Local $sDataCity Local $sDataCivility Local $sDataCode Local $sDataCountry Local $sDataCsi_date Local $sDataDelivered_by_id Local $sDataDelivered_date Local $sDataDelivery_date Local $sDataDivision Local $sDataEnd_service_date Local $sDataFirst_name Local $sDataGas Local $iDataGender Local $bDataInvoiced Local $sDataLast_name Local $sDataLast_visit_date Local $sDataLocale Local $sDataLoyalty Local $sDataNext_visit_date Local $sDataOdometer_last_visit Local $sDataOpen_work_order_date Local $sDataPlanned_pick_up_date Local $sDataPostal_code Local $sDataPrepaid Local $bDataPrepared Local $sDataPresented_date Local $sDataPromised_date Local $sDataProvince Local $sDataRating Local $bDataReached_client Local $sDataRefinanced_date Local $sDataRepair_date Local $sDataRepair_order Local $sDataResult Local $sDataRoad_test_date Local $sDataSale_date Local $sDataSecond_contact Local $sDataSecond_contact_civility Local $sDataSegment Local $bDataService_cleaned Local $sDataService_interval_km Local $sDataService_monthly_km Local $sDataService_processIntention Local $sDataService_processTransport Local $sDataService_processWalk_around Local $sDataSex Local $sDataSource Local $sDataStatus Local $sDataStorage Local $sDataTake_over_date Local $sDataType Local $sDataUnsubscribe_all_date Local $sDataUnsubscribe_call_date Local $sDataUnsubscribe_email_date Local $sDataUnsubscribe_sms_date Local $sDataWork_order Local $iDataAccountId Local $sDataAccountCreated_at Local $sDataAccountUpdated_at Local $iDataAccountPartner_id Local $bDataAccountActivity_report Local $bDataAccountCommercial Local $bDataAccountEvent Local $bDataAccountLeadxpress Local $bDataAccountLoyalty Local $bDataAccountPhone_up Local $bDataAccountRenewal Local $bDataAccountSale_table Local $bDataAccountService Local $bDataAccountWalk_in Local $bDataAccountWebboost Local $bDataAccountAccount_manager Local $sDataAccountActivation_date Local $bDataAccountActive Local $bDataAccountAssigned_lead Local $bDataAccountAuto_renewal Local $bDataAccountAuto_renewal_new Local $bDataAccountAuto_renewal_used Local $bDataAccountAutomation Local $bDataAccountBdc_advisor Local $bDataAccountCalendar_options Local $bDataAccountClient_card_fieldsProcessGas Local $bDataAccountClient_card_fieldsProcessRecorded Local $bDataAccountClient_card_fieldsProcessAvailable Local $bDataAccountClient_card_fieldsProcessDiscounted Local $bDataAccountClient_card_fieldsCommercialProfit Local $bDataAccountClient_card_fieldsCommercialExclude Local $bDataAccountClient_card_fieldsCommercialMeeting Local $bDataAccountClient_card_fieldsPerformanceDeposit Local $bDataAccountClient_card_fieldsPerformanceRefinanced Local $bDataAccountClient_card_fieldsPerformanceDealer_tour Local $bDataAccountClient_card_fieldsPerformanceWalk_around Local $bDataAccountClient_card_fieldsPerformanceQualification Local $bDataAccountClient_card_fieldsPerformanceTwenty_four_hour Local $bDataAccountClient_card_fieldsGeneral_infoBudget Local $bDataAccountClient_card_fieldsGeneral_infoSector Local $bDataAccountClient_card_fieldsGeneral_infoCustom_1 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_2 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_3 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_4 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_5 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_6 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_7 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_8 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_9 Local $bDataAccountClient_card_fieldsGeneral_infoCustom_10 Local $bDataAccountClient_card_fieldsGeneral_infoCommunication_preference Local $bDataAccountClient_card_fieldsWanted_vehicleVin Local $bDataAccountClient_card_fieldsWanted_vehicleFuel Local $bDataAccountClient_card_fieldsWanted_vehicleRate Local $bDataAccountClient_card_fieldsWanted_vehicleTerm Local $bDataAccountClient_card_fieldsWanted_vehicleTire Local $bDataAccountClient_card_fieldsWanted_vehicleYear Local $bDataAccountClient_card_fieldsWanted_vehicleColor Local $bDataAccountClient_card_fieldsWanted_vehiclePrice Local $bDataAccountClient_card_fieldsWanted_vehicleStock Local $bDataAccountClient_card_fieldsWanted_vehicleTotal Local $bDataAccountClient_card_fieldsWanted_vehicleBudget Local $bDataAccountClient_card_fieldsWanted_vehicleEngine Local $bDataAccountClient_card_fieldsWanted_vehicleLength Local $bDataAccountClient_card_fieldsWanted_vehicleProfit Local $bDataAccountClient_card_fieldsWanted_vehicleSuffix Local $bDataAccountClient_card_fieldsWanted_vehicleWeight Local $bDataAccountClient_card_fieldsWanted_vehicleComment Local $bDataAccountClient_card_fieldsWanted_vehicleMileage Local $bDataAccountClient_card_fieldsWanted_vehiclePayment Local $bDataAccountClient_card_fieldsWanted_vehicleBodyType Local $bDataAccountClient_card_fieldsWanted_vehicleCategory Local $bDataAccountClient_card_fieldsWanted_vehicleModality Local $bDataAccountClient_card_fieldsWanted_vehicleResidual Local $bDataAccountClient_card_fieldsWanted_vehicleSleeping Local $bDataAccountClient_card_fieldsWanted_vehicleWarranty Local $bDataAccountClient_card_fieldsWanted_vehicleFrequency Local $bDataAccountClient_card_fieldsWanted_vehicleAccessories Local $bDataAccountClient_card_fieldsWanted_vehicleCategory_rv Local $bDataAccountClient_card_fieldsWanted_vehiclePreparation Local $bDataAccountClient_card_fieldsWanted_vehicleInitial_cash Local $bDataAccountClient_card_fieldsWanted_vehicleOffer_number Local $bDataAccountClient_card_fieldsWanted_vehicleOrder_number Local $bDataAccountClient_card_fieldsWanted_vehicleTransmission Local $bDataAccountClient_card_fieldsWanted_vehicleDocumentation Local $bDataAccountClient_card_fieldsWanted_vehicleDrivingWheels Local $bDataAccountClient_card_fieldsWanted_vehicleColor_exterior Local $bDataAccountClient_card_fieldsWanted_vehicleColor_interior Local $bDataAccountClient_card_fieldsWanted_vehicleAllowed_mileage Local $bDataAccountClient_card_fieldsWanted_vehicleSecurity_deposit Local $bDataAccountClient_card_fieldsWanted_vehicleEnd_contract_date Local $bDataAccountClient_card_fieldsExchange_vehicleVin Local $bDataAccountClient_card_fieldsExchange_vehicleFuel Local $bDataAccountClient_card_fieldsExchange_vehicleLink Local $bDataAccountClient_card_fieldsExchange_vehicleRate Local $bDataAccountClient_card_fieldsExchange_vehicleTerm Local $bDataAccountClient_card_fieldsExchange_vehicleYear Local $bDataAccountClient_card_fieldsExchange_vehicleColor Local $bDataAccountClient_card_fieldsExchange_vehiclePrice Local $bDataAccountClient_card_fieldsExchange_vehicleStock Local $bDataAccountClient_card_fieldsExchange_vehicleValue Local $bDataAccountClient_card_fieldsExchange_vehicleBudget Local $bDataAccountClient_card_fieldsExchange_vehicleEngine Local $bDataAccountClient_card_fieldsExchange_vehicleLength Local $bDataAccountClient_card_fieldsExchange_vehicleProfit Local $bDataAccountClient_card_fieldsExchange_vehicleSuffix Local $bDataAccountClient_card_fieldsExchange_vehicleWeight Local $bDataAccountClient_card_fieldsExchange_vehicleBalance Local $bDataAccountClient_card_fieldsExchange_vehicleComment Local $bDataAccountClient_card_fieldsExchange_vehicleMileage Local $bDataAccountClient_card_fieldsExchange_vehiclePayment Local $bDataAccountClient_card_fieldsExchange_vehicleRenewal Local $bDataAccountClient_card_fieldsExchange_vehicleSold_by Local $bDataAccountClient_card_fieldsExchange_vehicleBodyType Local $bDataAccountClient_card_fieldsExchange_vehicleCategory Local $bDataAccountClient_card_fieldsExchange_vehicleModality Local $bDataAccountClient_card_fieldsExchange_vehicleResidual Local $bDataAccountClient_card_fieldsExchange_vehicleSleeping Local $bDataAccountClient_card_fieldsExchange_vehicleWarranty Local $bDataAccountClient_card_fieldsExchange_vehicleCondition Local $bDataAccountClient_card_fieldsExchange_vehicleFrequency Local $bDataAccountClient_card_fieldsExchange_vehicleIntention Local $bDataAccountClient_card_fieldsExchange_vehicleRefinance Local $bDataAccountClient_card_fieldsExchange_vehicleRequested Local $bDataAccountClient_card_fieldsExchange_vehicleSold_date Local $bDataAccountClient_card_fieldsExchange_vehicleCategory_rv Local $bDataAccountClient_card_fieldsExchange_vehicleInstitution Local $bDataAccountClient_card_fieldsExchange_vehicleInitial_cash Local $bDataAccountClient_card_fieldsExchange_vehicleOffer_number Local $bDataAccountClient_card_fieldsExchange_vehicleTransmission Local $bDataAccountClient_card_fieldsExchange_vehicleDrivingWheels Local $bDataAccountClient_card_fieldsExchange_vehicleColor_exterior Local $bDataAccountClient_card_fieldsExchange_vehicleColor_interior Local $bDataAccountClient_card_fieldsExchange_vehicleAllowed_mileage Local $bDataAccountClient_card_fieldsExchange_vehicleSecurity_deposit Local $bDataAccountClient_card_fieldsExchange_vehicleEnd_contract_date Local $bDataAccountClient_number Local $bDataAccountConfirmation_appt Local $bDataAccountCredit Local $bDataAccountCsi Local $bDataAccountCsi_used Local $sDataAccountDefault_deliveryman_user_id Local $bDataAccountDelivered_by Local $bDataAccountDisable_communication_audio Local $bDataAccountDuplicates Local $bDataAccountGuest_action Local $bDataAccountEmail_client Local $bDataAccountIn_turn Local $bDataAccountIn_turn_director_management Local $bDataAccountLeads_other_division Local $iDataAccountLeadxpress_optionPriority Local $iDataAccountLeadxpress_optionReminderFrequency Local $iDataAccountLeadxpress_optionReminderRecurrence Local $bDataAccountLeadxpress_optionScheduleAccount Local $bDataAccountLeadxpress_optionScheduleAdvisor Local $bDataAccountLimited_audio_access Local $sDataAccountLogo Local $sDataAccountLogo_en Local $bDataAccountMandatory_coordinate Local $bDataAccountManually_status Local $sDataAccountMerge_rule Local $iDataAccountMonth_start_day Local $sDataAccountName Local $bDataAccountNiotext Local $bDataAccountNiotext_phone Local $sDataAccountPhone Local $bDataAccountPower_sport Local $bDataAccountProcess Local $bDataAccountRecreative_special Local $bDataAccountResult_date_validation Local $bDataAccountSale_accessories Local $bDataAccountSale_by_phone Local $bDataAccountSale_date_month Local $bDataAccountSale_table_optionsAccessory_column Local $bDataAccountSale_table_optionsCommercial_column Local $bDataAccountSale_table_optionsDivision_grouped_total_column Local $bDataAccountSale_validation Local $bDataAccountScan Local $bDataAccountStock_required_for_sale Local $bDataAccountTake_over_director Local $bDataAccountTrade_report Local $bDataAccountUnrestricted_assignment Local $bDataAccountUnsubscribe Local $bDataAccountUntreated_lead Local $bDataAccountVehicle_model_text Local $bDataAccountVehicle_text Local $bDataAccountVerified_sale Local $bDataAccountVin_decoder Local $sDataAccountWaiting_sale_date Local $bDataAccountWaiting_sale_option Local $sDataAdvisor Local $sDataBdc Local $sDataCommercial Local $sDataService_advisor Local $sDataService_agent Local $i Local $iCount_i Local $id Local $sCreated_at Local $sUpdated_at Local $iLead_id Local $sAddress Local $sV_type Local $bValid Local $sExtension Local $sNumber Local $bValidated Local $bMobile Local $sAccessories Local $sAllowed_odometer Local $iBalance Local $sBudget_max Local $sBudget_min Local $sCash_down Local $sCategory Local $sCategory_rv Local $sClient_number Local $sColor_exterior Local $sColor_interior Local $sComment Local $sCondition Local $sEnd_contract_date Local $sEnd_warranty_date Local $sEngine Local $sExtended_warranty Local $sFuel Local $sLength_max Local $sLength_min Local $sLicense_plate Local $sMake Local $sModality Local $sModel Local $sOdometer Local $sOffer_number Local $sV_option Local $sOrder_number Local $sPayment Local $sPayment_frequency Local $sPreparation Local $sPrice Local $sProfit Local $sPurchase_date Local $sRate Local $sRecall Local $sRecorded_date Local $sResidual Local $security_deposit Local $sleeping Local $bSold Local $sold_by Local $sold_date Local $stock Local $stock_state Local $sTerm Local $bTire Local $sTransmission Local $sTrim Local $sUrl Local $sValue Local $sVin Local $sWarranty Local $sWeight Local $sYear Local $sYear_max Local $sYear_min $iDataId = $oJsonResponse.IntOf("data.id") $sDataCreated_at = $oJsonResponse.StringOf("data.created_at") $sDataUpdated_at = $oJsonResponse.StringOf("data.updated_at") $iDataAccount_id = $oJsonResponse.IntOf("data.account_id") $sDataAddress_line1 = $oJsonResponse.StringOf("data.address_line1") $sDataAddress_line2 = $oJsonResponse.StringOf("data.address_line2") $sDataAppointment_date = $oJsonResponse.StringOf("data.appointment_date") $bDataAppt_call = $oJsonResponse.BoolOf("data.appt_call") $sDataAvailable_date = $oJsonResponse.StringOf("data.available_date") $sDataAverage_spending = $oJsonResponse.StringOf("data.average_spending") $sDataBe_back_date = $oJsonResponse.StringOf("data.be_back_date") $sDataBirth_date = $oJsonResponse.StringOf("data.birth_date") $sDataBusiness = $oJsonResponse.StringOf("data.business") $sDataCall_date = $oJsonResponse.StringOf("data.call_date") $sDataCity = $oJsonResponse.StringOf("data.city") $sDataCivility = $oJsonResponse.StringOf("data.civility") $sDataCode = $oJsonResponse.StringOf("data.code") $sDataCountry = $oJsonResponse.StringOf("data.country") $sDataCsi_date = $oJsonResponse.StringOf("data.csi_date") $sDataDelivered_by_id = $oJsonResponse.StringOf("data.delivered_by_id") $sDataDelivered_date = $oJsonResponse.StringOf("data.delivered_date") $sDataDelivery_date = $oJsonResponse.StringOf("data.delivery_date") $sDataDivision = $oJsonResponse.StringOf("data.division") $sDataEnd_service_date = $oJsonResponse.StringOf("data.end_service_date") $sDataFirst_name = $oJsonResponse.StringOf("data.first_name") $sDataGas = $oJsonResponse.StringOf("data.gas") $iDataGender = $oJsonResponse.IntOf("data.gender") $bDataInvoiced = $oJsonResponse.BoolOf("data.invoiced") $sDataLast_name = $oJsonResponse.StringOf("data.last_name") $sDataLast_visit_date = $oJsonResponse.StringOf("data.last_visit_date") $sDataLocale = $oJsonResponse.StringOf("data.locale") $sDataLoyalty = $oJsonResponse.StringOf("data.loyalty") $sDataNext_visit_date = $oJsonResponse.StringOf("data.next_visit_date") $sDataOdometer_last_visit = $oJsonResponse.StringOf("data.odometer_last_visit") $sDataOpen_work_order_date = $oJsonResponse.StringOf("data.open_work_order_date") $sDataPlanned_pick_up_date = $oJsonResponse.StringOf("data.planned_pick_up_date") $sDataPostal_code = $oJsonResponse.StringOf("data.postal_code") $sDataPrepaid = $oJsonResponse.StringOf("data.prepaid") $bDataPrepared = $oJsonResponse.BoolOf("data.prepared") $sDataPresented_date = $oJsonResponse.StringOf("data.presented_date") $sDataPromised_date = $oJsonResponse.StringOf("data.promised_date") $sDataProvince = $oJsonResponse.StringOf("data.province") $sDataRating = $oJsonResponse.StringOf("data.rating") $bDataReached_client = $oJsonResponse.BoolOf("data.reached_client") $sDataRefinanced_date = $oJsonResponse.StringOf("data.refinanced_date") $sDataRepair_date = $oJsonResponse.StringOf("data.repair_date") $sDataRepair_order = $oJsonResponse.StringOf("data.repair_order") $sDataResult = $oJsonResponse.StringOf("data.result") $sDataRoad_test_date = $oJsonResponse.StringOf("data.road_test_date") $sDataSale_date = $oJsonResponse.StringOf("data.sale_date") $sDataSecond_contact = $oJsonResponse.StringOf("data.second_contact") $sDataSecond_contact_civility = $oJsonResponse.StringOf("data.second_contact_civility") $sDataSegment = $oJsonResponse.StringOf("data.segment") $bDataService_cleaned = $oJsonResponse.BoolOf("data.service_cleaned") $sDataService_interval_km = $oJsonResponse.StringOf("data.service_interval_km") $sDataService_monthly_km = $oJsonResponse.StringOf("data.service_monthly_km") $sDataService_processIntention = $oJsonResponse.StringOf("data.service_process.intention") $sDataService_processTransport = $oJsonResponse.StringOf("data.service_process.transport") $sDataService_processWalk_around = $oJsonResponse.StringOf("data.service_process.walk_around") $sDataSex = $oJsonResponse.StringOf("data.sex") $sDataSource = $oJsonResponse.StringOf("data.source") $sDataStatus = $oJsonResponse.StringOf("data.status") $sDataStorage = $oJsonResponse.StringOf("data.storage") $sDataTake_over_date = $oJsonResponse.StringOf("data.take_over_date") $sDataType = $oJsonResponse.StringOf("data.type") $sDataUnsubscribe_all_date = $oJsonResponse.StringOf("data.unsubscribe_all_date") $sDataUnsubscribe_call_date = $oJsonResponse.StringOf("data.unsubscribe_call_date") $sDataUnsubscribe_email_date = $oJsonResponse.StringOf("data.unsubscribe_email_date") $sDataUnsubscribe_sms_date = $oJsonResponse.StringOf("data.unsubscribe_sms_date") $sDataWork_order = $oJsonResponse.StringOf("data.work_order") $iDataAccountId = $oJsonResponse.IntOf("data.account.id") $sDataAccountCreated_at = $oJsonResponse.StringOf("data.account.created_at") $sDataAccountUpdated_at = $oJsonResponse.StringOf("data.account.updated_at") $iDataAccountPartner_id = $oJsonResponse.IntOf("data.account.partner_id") $bDataAccountActivity_report = $oJsonResponse.BoolOf("data.account.activity_report") $bDataAccountCommercial = $oJsonResponse.BoolOf("data.account.commercial") $bDataAccountEvent = $oJsonResponse.BoolOf("data.account.event") $bDataAccountLeadxpress = $oJsonResponse.BoolOf("data.account.leadxpress") $bDataAccountLoyalty = $oJsonResponse.BoolOf("data.account.loyalty") $bDataAccountPhone_up = $oJsonResponse.BoolOf("data.account.phone_up") $bDataAccountRenewal = $oJsonResponse.BoolOf("data.account.renewal") $bDataAccountSale_table = $oJsonResponse.BoolOf("data.account.sale_table") $bDataAccountService = $oJsonResponse.BoolOf("data.account.service") $bDataAccountWalk_in = $oJsonResponse.BoolOf("data.account.walk_in") $bDataAccountWebboost = $oJsonResponse.BoolOf("data.account.webboost") $bDataAccountAccount_manager = $oJsonResponse.BoolOf("data.account.account_manager") $sDataAccountActivation_date = $oJsonResponse.StringOf("data.account.activation_date") $bDataAccountActive = $oJsonResponse.BoolOf("data.account.active") $bDataAccountAssigned_lead = $oJsonResponse.BoolOf("data.account.assigned_lead") $bDataAccountAuto_renewal = $oJsonResponse.BoolOf("data.account.auto_renewal") $bDataAccountAuto_renewal_new = $oJsonResponse.BoolOf("data.account.auto_renewal_new") $bDataAccountAuto_renewal_used = $oJsonResponse.BoolOf("data.account.auto_renewal_used") $bDataAccountAutomation = $oJsonResponse.BoolOf("data.account.automation") $bDataAccountBdc_advisor = $oJsonResponse.BoolOf("data.account.bdc_advisor") $bDataAccountCalendar_options = $oJsonResponse.BoolOf("data.account.calendar_options") $bDataAccountClient_card_fieldsProcessGas = $oJsonResponse.BoolOf("data.account.client_card_fields.process.gas") $bDataAccountClient_card_fieldsProcessRecorded = $oJsonResponse.BoolOf("data.account.client_card_fields.process.recorded") $bDataAccountClient_card_fieldsProcessAvailable = $oJsonResponse.BoolOf("data.account.client_card_fields.process.available") $bDataAccountClient_card_fieldsProcessDiscounted = $oJsonResponse.BoolOf("data.account.client_card_fields.process.discounted") $bDataAccountClient_card_fieldsCommercialProfit = $oJsonResponse.BoolOf("data.account.client_card_fields.commercial.profit") $bDataAccountClient_card_fieldsCommercialExclude = $oJsonResponse.BoolOf("data.account.client_card_fields.commercial.exclude") $bDataAccountClient_card_fieldsCommercialMeeting = $oJsonResponse.BoolOf("data.account.client_card_fields.commercial.meeting") $bDataAccountClient_card_fieldsPerformanceDeposit = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.deposit") $bDataAccountClient_card_fieldsPerformanceRefinanced = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.refinanced") $bDataAccountClient_card_fieldsPerformanceDealer_tour = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.dealer_tour") $bDataAccountClient_card_fieldsPerformanceWalk_around = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.walk_around") $bDataAccountClient_card_fieldsPerformanceQualification = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.qualification") $bDataAccountClient_card_fieldsPerformanceTwenty_four_hour = $oJsonResponse.BoolOf("data.account.client_card_fields.performance.twenty_four_hour") $bDataAccountClient_card_fieldsGeneral_infoBudget = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.budget") $bDataAccountClient_card_fieldsGeneral_infoSector = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.sector") $bDataAccountClient_card_fieldsGeneral_infoCustom_1 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_1") $bDataAccountClient_card_fieldsGeneral_infoCustom_2 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_2") $bDataAccountClient_card_fieldsGeneral_infoCustom_3 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_3") $bDataAccountClient_card_fieldsGeneral_infoCustom_4 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_4") $bDataAccountClient_card_fieldsGeneral_infoCustom_5 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_5") $bDataAccountClient_card_fieldsGeneral_infoCustom_6 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_6") $bDataAccountClient_card_fieldsGeneral_infoCustom_7 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_7") $bDataAccountClient_card_fieldsGeneral_infoCustom_8 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_8") $bDataAccountClient_card_fieldsGeneral_infoCustom_9 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_9") $bDataAccountClient_card_fieldsGeneral_infoCustom_10 = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_10") $bDataAccountClient_card_fieldsGeneral_infoCommunication_preference = $oJsonResponse.BoolOf("data.account.client_card_fields.general_info.communication_preference") $bDataAccountClient_card_fieldsWanted_vehicleVin = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.vin") $bDataAccountClient_card_fieldsWanted_vehicleFuel = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.fuel") $bDataAccountClient_card_fieldsWanted_vehicleRate = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.rate") $bDataAccountClient_card_fieldsWanted_vehicleTerm = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.term") $bDataAccountClient_card_fieldsWanted_vehicleTire = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.tire") $bDataAccountClient_card_fieldsWanted_vehicleYear = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.year") $bDataAccountClient_card_fieldsWanted_vehicleColor = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color") $bDataAccountClient_card_fieldsWanted_vehiclePrice = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.price") $bDataAccountClient_card_fieldsWanted_vehicleStock = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.stock") $bDataAccountClient_card_fieldsWanted_vehicleTotal = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.total") $bDataAccountClient_card_fieldsWanted_vehicleBudget = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.budget") $bDataAccountClient_card_fieldsWanted_vehicleEngine = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.engine") $bDataAccountClient_card_fieldsWanted_vehicleLength = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.length") $bDataAccountClient_card_fieldsWanted_vehicleProfit = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.profit") $bDataAccountClient_card_fieldsWanted_vehicleSuffix = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.suffix") $bDataAccountClient_card_fieldsWanted_vehicleWeight = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.weight") $bDataAccountClient_card_fieldsWanted_vehicleComment = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.comment") $bDataAccountClient_card_fieldsWanted_vehicleMileage = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.mileage") $bDataAccountClient_card_fieldsWanted_vehiclePayment = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.payment") $bDataAccountClient_card_fieldsWanted_vehicleBodyType = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.bodyType") $bDataAccountClient_card_fieldsWanted_vehicleCategory = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.category") $bDataAccountClient_card_fieldsWanted_vehicleModality = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.modality") $bDataAccountClient_card_fieldsWanted_vehicleResidual = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.residual") $bDataAccountClient_card_fieldsWanted_vehicleSleeping = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.sleeping") $bDataAccountClient_card_fieldsWanted_vehicleWarranty = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.warranty") $bDataAccountClient_card_fieldsWanted_vehicleFrequency = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.frequency") $bDataAccountClient_card_fieldsWanted_vehicleAccessories = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.accessories") $bDataAccountClient_card_fieldsWanted_vehicleCategory_rv = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.category_rv") $bDataAccountClient_card_fieldsWanted_vehiclePreparation = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.preparation") $bDataAccountClient_card_fieldsWanted_vehicleInitial_cash = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.initial_cash") $bDataAccountClient_card_fieldsWanted_vehicleOffer_number = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.offer_number") $bDataAccountClient_card_fieldsWanted_vehicleOrder_number = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.order_number") $bDataAccountClient_card_fieldsWanted_vehicleTransmission = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.transmission") $bDataAccountClient_card_fieldsWanted_vehicleDocumentation = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.documentation") $bDataAccountClient_card_fieldsWanted_vehicleDrivingWheels = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.drivingWheels") $bDataAccountClient_card_fieldsWanted_vehicleColor_exterior = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color_exterior") $bDataAccountClient_card_fieldsWanted_vehicleColor_interior = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color_interior") $bDataAccountClient_card_fieldsWanted_vehicleAllowed_mileage = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.allowed_mileage") $bDataAccountClient_card_fieldsWanted_vehicleSecurity_deposit = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.security_deposit") $bDataAccountClient_card_fieldsWanted_vehicleEnd_contract_date = $oJsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.end_contract_date") $bDataAccountClient_card_fieldsExchange_vehicleVin = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.vin") $bDataAccountClient_card_fieldsExchange_vehicleFuel = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.fuel") $bDataAccountClient_card_fieldsExchange_vehicleLink = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.link") $bDataAccountClient_card_fieldsExchange_vehicleRate = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.rate") $bDataAccountClient_card_fieldsExchange_vehicleTerm = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.term") $bDataAccountClient_card_fieldsExchange_vehicleYear = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.year") $bDataAccountClient_card_fieldsExchange_vehicleColor = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color") $bDataAccountClient_card_fieldsExchange_vehiclePrice = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.price") $bDataAccountClient_card_fieldsExchange_vehicleStock = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.stock") $bDataAccountClient_card_fieldsExchange_vehicleValue = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.value") $bDataAccountClient_card_fieldsExchange_vehicleBudget = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.budget") $bDataAccountClient_card_fieldsExchange_vehicleEngine = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.engine") $bDataAccountClient_card_fieldsExchange_vehicleLength = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.length") $bDataAccountClient_card_fieldsExchange_vehicleProfit = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.profit") $bDataAccountClient_card_fieldsExchange_vehicleSuffix = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.suffix") $bDataAccountClient_card_fieldsExchange_vehicleWeight = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.weight") $bDataAccountClient_card_fieldsExchange_vehicleBalance = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.balance") $bDataAccountClient_card_fieldsExchange_vehicleComment = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.comment") $bDataAccountClient_card_fieldsExchange_vehicleMileage = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.mileage") $bDataAccountClient_card_fieldsExchange_vehiclePayment = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.payment") $bDataAccountClient_card_fieldsExchange_vehicleRenewal = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.renewal") $bDataAccountClient_card_fieldsExchange_vehicleSold_by = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sold_by") $bDataAccountClient_card_fieldsExchange_vehicleBodyType = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.bodyType") $bDataAccountClient_card_fieldsExchange_vehicleCategory = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.category") $bDataAccountClient_card_fieldsExchange_vehicleModality = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.modality") $bDataAccountClient_card_fieldsExchange_vehicleResidual = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.residual") $bDataAccountClient_card_fieldsExchange_vehicleSleeping = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sleeping") $bDataAccountClient_card_fieldsExchange_vehicleWarranty = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.warranty") $bDataAccountClient_card_fieldsExchange_vehicleCondition = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.condition") $bDataAccountClient_card_fieldsExchange_vehicleFrequency = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.frequency") $bDataAccountClient_card_fieldsExchange_vehicleIntention = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.intention") $bDataAccountClient_card_fieldsExchange_vehicleRefinance = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.refinance") $bDataAccountClient_card_fieldsExchange_vehicleRequested = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.requested") $bDataAccountClient_card_fieldsExchange_vehicleSold_date = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sold_date") $bDataAccountClient_card_fieldsExchange_vehicleCategory_rv = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.category_rv") $bDataAccountClient_card_fieldsExchange_vehicleInstitution = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.institution") $bDataAccountClient_card_fieldsExchange_vehicleInitial_cash = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.initial_cash") $bDataAccountClient_card_fieldsExchange_vehicleOffer_number = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.offer_number") $bDataAccountClient_card_fieldsExchange_vehicleTransmission = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.transmission") $bDataAccountClient_card_fieldsExchange_vehicleDrivingWheels = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.drivingWheels") $bDataAccountClient_card_fieldsExchange_vehicleColor_exterior = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color_exterior") $bDataAccountClient_card_fieldsExchange_vehicleColor_interior = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color_interior") $bDataAccountClient_card_fieldsExchange_vehicleAllowed_mileage = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.allowed_mileage") $bDataAccountClient_card_fieldsExchange_vehicleSecurity_deposit = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.security_deposit") $bDataAccountClient_card_fieldsExchange_vehicleEnd_contract_date = $oJsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.end_contract_date") $bDataAccountClient_number = $oJsonResponse.BoolOf("data.account.client_number") $bDataAccountConfirmation_appt = $oJsonResponse.BoolOf("data.account.confirmation_appt") $bDataAccountCredit = $oJsonResponse.BoolOf("data.account.credit") $bDataAccountCsi = $oJsonResponse.BoolOf("data.account.csi") $bDataAccountCsi_used = $oJsonResponse.BoolOf("data.account.csi_used") $sDataAccountDefault_deliveryman_user_id = $oJsonResponse.StringOf("data.account.default_deliveryman_user_id") $bDataAccountDelivered_by = $oJsonResponse.BoolOf("data.account.delivered_by") $bDataAccountDisable_communication_audio = $oJsonResponse.BoolOf("data.account.disable_communication_audio") $bDataAccountDuplicates = $oJsonResponse.BoolOf("data.account.duplicates") $bDataAccountGuest_action = $oJsonResponse.BoolOf("data.account.guest_action") $bDataAccountEmail_client = $oJsonResponse.BoolOf("data.account.email_client") $bDataAccountIn_turn = $oJsonResponse.BoolOf("data.account.in_turn") $bDataAccountIn_turn_director_management = $oJsonResponse.BoolOf("data.account.in_turn_director_management") $bDataAccountLeads_other_division = $oJsonResponse.BoolOf("data.account.leads_other_division") $iDataAccountLeadxpress_optionPriority = $oJsonResponse.IntOf("data.account.leadxpress_option.priority") $iDataAccountLeadxpress_optionReminderFrequency = $oJsonResponse.IntOf("data.account.leadxpress_option.reminder.frequency") $iDataAccountLeadxpress_optionReminderRecurrence = $oJsonResponse.IntOf("data.account.leadxpress_option.reminder.recurrence") $bDataAccountLeadxpress_optionScheduleAccount = $oJsonResponse.BoolOf("data.account.leadxpress_option.schedule.account") $bDataAccountLeadxpress_optionScheduleAdvisor = $oJsonResponse.BoolOf("data.account.leadxpress_option.schedule.advisor") $bDataAccountLimited_audio_access = $oJsonResponse.BoolOf("data.account.limited_audio_access") $sDataAccountLogo = $oJsonResponse.StringOf("data.account.logo") $sDataAccountLogo_en = $oJsonResponse.StringOf("data.account.logo_en") $bDataAccountMandatory_coordinate = $oJsonResponse.BoolOf("data.account.mandatory_coordinate") $bDataAccountManually_status = $oJsonResponse.BoolOf("data.account.manually_status") $sDataAccountMerge_rule = $oJsonResponse.StringOf("data.account.merge_rule") $iDataAccountMonth_start_day = $oJsonResponse.IntOf("data.account.month_start_day") $sDataAccountName = $oJsonResponse.StringOf("data.account.name") $bDataAccountNiotext = $oJsonResponse.BoolOf("data.account.niotext") $bDataAccountNiotext_phone = $oJsonResponse.BoolOf("data.account.niotext_phone") $sDataAccountPhone = $oJsonResponse.StringOf("data.account.phone") $bDataAccountPower_sport = $oJsonResponse.BoolOf("data.account.power_sport") $bDataAccountProcess = $oJsonResponse.BoolOf("data.account.process") $bDataAccountRecreative_special = $oJsonResponse.BoolOf("data.account.recreative_special") $bDataAccountResult_date_validation = $oJsonResponse.BoolOf("data.account.result_date_validation") $bDataAccountSale_accessories = $oJsonResponse.BoolOf("data.account.sale_accessories") $bDataAccountSale_by_phone = $oJsonResponse.BoolOf("data.account.sale_by_phone") $bDataAccountSale_date_month = $oJsonResponse.BoolOf("data.account.sale_date_month") $bDataAccountSale_table_optionsAccessory_column = $oJsonResponse.BoolOf("data.account.sale_table_options.accessory_column") $bDataAccountSale_table_optionsCommercial_column = $oJsonResponse.BoolOf("data.account.sale_table_options.commercial_column") $bDataAccountSale_table_optionsDivision_grouped_total_column = $oJsonResponse.BoolOf("data.account.sale_table_options.division_grouped_total_column") $bDataAccountSale_validation = $oJsonResponse.BoolOf("data.account.sale_validation") $bDataAccountScan = $oJsonResponse.BoolOf("data.account.scan") $bDataAccountStock_required_for_sale = $oJsonResponse.BoolOf("data.account.stock_required_for_sale") $bDataAccountTake_over_director = $oJsonResponse.BoolOf("data.account.take_over_director") $bDataAccountTrade_report = $oJsonResponse.BoolOf("data.account.trade_report") $bDataAccountUnrestricted_assignment = $oJsonResponse.BoolOf("data.account.unrestricted_assignment") $bDataAccountUnsubscribe = $oJsonResponse.BoolOf("data.account.unsubscribe") $bDataAccountUntreated_lead = $oJsonResponse.BoolOf("data.account.untreated_lead") $bDataAccountVehicle_model_text = $oJsonResponse.BoolOf("data.account.vehicle_model_text") $bDataAccountVehicle_text = $oJsonResponse.BoolOf("data.account.vehicle_text") $bDataAccountVerified_sale = $oJsonResponse.BoolOf("data.account.verified_sale") $bDataAccountVin_decoder = $oJsonResponse.BoolOf("data.account.vin_decoder") $sDataAccountWaiting_sale_date = $oJsonResponse.StringOf("data.account.waiting_sale_date") $bDataAccountWaiting_sale_option = $oJsonResponse.BoolOf("data.account.waiting_sale_option") $sDataAdvisor = $oJsonResponse.StringOf("data.advisor") $sDataBdc = $oJsonResponse.StringOf("data.bdc") $sDataCommercial = $oJsonResponse.StringOf("data.commercial") $sDataService_advisor = $oJsonResponse.StringOf("data.service_advisor") $sDataService_agent = $oJsonResponse.StringOf("data.service_agent") $i = 0 $iCount_i = $oJsonResponse.SizeOfArray("data.emails") While $i < $iCount_i $oJsonResponse.I = $i $id = $oJsonResponse.IntOf("data.emails[i].id") $sCreated_at = $oJsonResponse.StringOf("data.emails[i].created_at") $sUpdated_at = $oJsonResponse.StringOf("data.emails[i].updated_at") $iLead_id = $oJsonResponse.IntOf("data.emails[i].lead_id") $sAddress = $oJsonResponse.StringOf("data.emails[i].address") $sV_type = $oJsonResponse.StringOf("data.emails[i].type") $bValid = $oJsonResponse.BoolOf("data.emails[i].valid") $i = $i + 1 Wend $i = 0 $iCount_i = $oJsonResponse.SizeOfArray("data.phones") While $i < $iCount_i $oJsonResponse.I = $i $id = $oJsonResponse.IntOf("data.phones[i].id") $sCreated_at = $oJsonResponse.StringOf("data.phones[i].created_at") $sUpdated_at = $oJsonResponse.StringOf("data.phones[i].updated_at") $iLead_id = $oJsonResponse.IntOf("data.phones[i].lead_id") $sExtension = $oJsonResponse.StringOf("data.phones[i].extension") $sNumber = $oJsonResponse.StringOf("data.phones[i].number") $sV_type = $oJsonResponse.StringOf("data.phones[i].type") $bValid = $oJsonResponse.BoolOf("data.phones[i].valid") $bValidated = $oJsonResponse.BoolOf("data.phones[i].validated") $bMobile = $oJsonResponse.BoolOf("data.phones[i].mobile") $i = $i + 1 Wend $i = 0 $iCount_i = $oJsonResponse.SizeOfArray("data.vehicles") While $i < $iCount_i $oJsonResponse.I = $i $id = $oJsonResponse.IntOf("data.vehicles[i].id") $sCreated_at = $oJsonResponse.StringOf("data.vehicles[i].created_at") $sUpdated_at = $oJsonResponse.StringOf("data.vehicles[i].updated_at") $iLead_id = $oJsonResponse.IntOf("data.vehicles[i].lead_id") $sAccessories = $oJsonResponse.StringOf("data.vehicles[i].accessories") $sAllowed_odometer = $oJsonResponse.StringOf("data.vehicles[i].allowed_odometer") $iBalance = $oJsonResponse.IntOf("data.vehicles[i].balance") $sBudget_max = $oJsonResponse.StringOf("data.vehicles[i].budget_max") $sBudget_min = $oJsonResponse.StringOf("data.vehicles[i].budget_min") $sCash_down = $oJsonResponse.StringOf("data.vehicles[i].cash_down") $sCategory = $oJsonResponse.StringOf("data.vehicles[i].category") $sCategory_rv = $oJsonResponse.StringOf("data.vehicles[i].category_rv") $sClient_number = $oJsonResponse.StringOf("data.vehicles[i].client_number") $sColor_exterior = $oJsonResponse.StringOf("data.vehicles[i].color_exterior") $sColor_interior = $oJsonResponse.StringOf("data.vehicles[i].color_interior") $sComment = $oJsonResponse.StringOf("data.vehicles[i].comment") $sCondition = $oJsonResponse.StringOf("data.vehicles[i].condition") $sEnd_contract_date = $oJsonResponse.StringOf("data.vehicles[i].end_contract_date") $sEnd_warranty_date = $oJsonResponse.StringOf("data.vehicles[i].end_warranty_date") $sEngine = $oJsonResponse.StringOf("data.vehicles[i].engine") $sExtended_warranty = $oJsonResponse.StringOf("data.vehicles[i].extended_warranty") $sFuel = $oJsonResponse.StringOf("data.vehicles[i].fuel") $sLength_max = $oJsonResponse.StringOf("data.vehicles[i].length_max") $sLength_min = $oJsonResponse.StringOf("data.vehicles[i].length_min") $sLicense_plate = $oJsonResponse.StringOf("data.vehicles[i].license_plate") $sMake = $oJsonResponse.StringOf("data.vehicles[i].make") $sModality = $oJsonResponse.StringOf("data.vehicles[i].modality") $sModel = $oJsonResponse.StringOf("data.vehicles[i].model") $sOdometer = $oJsonResponse.StringOf("data.vehicles[i].odometer") $sOffer_number = $oJsonResponse.StringOf("data.vehicles[i].offer_number") $sV_option = $oJsonResponse.StringOf("data.vehicles[i].option") $sOrder_number = $oJsonResponse.StringOf("data.vehicles[i].order_number") $sPayment = $oJsonResponse.StringOf("data.vehicles[i].payment") $sPayment_frequency = $oJsonResponse.StringOf("data.vehicles[i].payment_frequency") $sPreparation = $oJsonResponse.StringOf("data.vehicles[i].preparation") $sPrice = $oJsonResponse.StringOf("data.vehicles[i].price") $sProfit = $oJsonResponse.StringOf("data.vehicles[i].profit") $sPurchase_date = $oJsonResponse.StringOf("data.vehicles[i].purchase_date") $sRate = $oJsonResponse.StringOf("data.vehicles[i].rate") $sRecall = $oJsonResponse.StringOf("data.vehicles[i].recall") $sRecorded_date = $oJsonResponse.StringOf("data.vehicles[i].recorded_date") $sResidual = $oJsonResponse.StringOf("data.vehicles[i].residual") $security_deposit = $oJsonResponse.StringOf("data.vehicles[i].security_deposit") $sleeping = $oJsonResponse.StringOf("data.vehicles[i].sleeping") $bSold = $oJsonResponse.BoolOf("data.vehicles[i].sold") $sold_by = $oJsonResponse.StringOf("data.vehicles[i].sold_by") $sold_date = $oJsonResponse.StringOf("data.vehicles[i].sold_date") $stock = $oJsonResponse.StringOf("data.vehicles[i].stock") $stock_state = $oJsonResponse.StringOf("data.vehicles[i].stock_state") $sTerm = $oJsonResponse.StringOf("data.vehicles[i].term") $bTire = $oJsonResponse.BoolOf("data.vehicles[i].tire") $sTransmission = $oJsonResponse.StringOf("data.vehicles[i].transmission") $sTrim = $oJsonResponse.StringOf("data.vehicles[i].trim") $sV_type = $oJsonResponse.StringOf("data.vehicles[i].type") $sUrl = $oJsonResponse.StringOf("data.vehicles[i].url") $sValue = $oJsonResponse.StringOf("data.vehicles[i].value") $sVin = $oJsonResponse.StringOf("data.vehicles[i].vin") $sWarranty = $oJsonResponse.StringOf("data.vehicles[i].warranty") $sWeight = $oJsonResponse.StringOf("data.vehicles[i].weight") $sYear = $oJsonResponse.StringOf("data.vehicles[i].year") $sYear_max = $oJsonResponse.StringOf("data.vehicles[i].year_max") $sYear_min = $oJsonResponse.StringOf("data.vehicles[i].year_min") $i = $i + 1 Wend $i = 0 $iCount_i = $oJsonResponse.SizeOfArray("data.related_ids") While $i < $iCount_i $oJsonResponse.I = $i $i = $i + 1 Wend |
© 2000-2024 Chilkat Software, Inc. All Rights Reserved.