Sample code for 30+ languages & platforms
Java

Activix CRM Update a Lead

See more Activix CRM Examples

Demonstrates how to update a lead and returns the updated lead.

Chilkat Java Downloads

Java
import com.chilkatsoft.*;

public class ChilkatExample {

  static {
    try {
        System.loadLibrary("chilkat");
    } catch (UnsatisfiedLinkError e) {
      System.err.println("Native code library failed to load.\n" + e);
      System.exit(1);
    }
  }

  public static void main(String argv[])
  {
    boolean success = false;

    // This example requires the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    CkHttp http = new CkHttp();

    http.put_AuthToken("ACCESS_TOKEN");

    http.put_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

    CkJsonObject jsonRequestBody = new CkJsonObject();
    jsonRequestBody.UpdateString("first_name","John");
    jsonRequestBody.UpdateString("last_name","Doe");
    jsonRequestBody.UpdateString("advisor.first_name","Johan");
    jsonRequestBody.UpdateString("advisor.last_name","Strauss");

    String url = "https://crm.activix.ca/api/v2/leads/LEAD_ID";

    CkHttpResponse resp = new CkHttpResponse();
    success = http.HttpJson("PUT",url,jsonRequestBody,"application/json",resp);
    if (success == false) {
        System.out.println(http.lastErrorText());
        return;
        }

    System.out.println("Response Status Code: " + resp.get_StatusCode());

    CkJsonObject jsonResponse = new CkJsonObject();
    jsonResponse.Load(resp.bodyStr());
    jsonResponse.put_EmitCompact(false);
    System.out.println(jsonResponse.emit());

    if (resp.get_StatusCode() >= 300) {
        System.out.println("Failed.");
        return;
        }

    // 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,
    //                 ...
    //             },
    //             ...
    //         ]
    //     }
    // }

    int dataId;
    String dataCreated_at;
    String dataUpdated_at;
    int dataAccount_id;
    String dataAddress_line1;
    String dataAddress_line2;
    String dataAppointment_date;
    boolean dataAppt_call;
    String dataAvailable_date;
    String dataAverage_spending;
    String dataBe_back_date;
    String dataBirth_date;
    String dataBusiness;
    String dataCall_date;
    String dataCity;
    String dataCivility;
    String dataCode;
    String dataCountry;
    String dataCsi_date;
    String dataDelivered_by_id;
    String dataDelivered_date;
    String dataDelivery_date;
    String dataDivision;
    String dataEnd_service_date;
    String dataFirst_name;
    String dataGas;
    int dataGender;
    boolean dataInvoiced;
    String dataLast_name;
    String dataLast_visit_date;
    String dataLocale;
    String dataLoyalty;
    String dataNext_visit_date;
    String dataOdometer_last_visit;
    String dataOpen_work_order_date;
    String dataPlanned_pick_up_date;
    String dataPostal_code;
    String dataPrepaid;
    boolean dataPrepared;
    String dataPresented_date;
    String dataPromised_date;
    String dataProvince;
    String dataRating;
    boolean dataReached_client;
    String dataRefinanced_date;
    String dataRepair_date;
    String dataRepair_order;
    String dataResult;
    String dataRoad_test_date;
    String dataSale_date;
    String dataSecond_contact;
    String dataSecond_contact_civility;
    String dataSegment;
    boolean dataService_cleaned;
    String dataService_interval_km;
    String dataService_monthly_km;
    String dataService_processIntention;
    String dataService_processTransport;
    String dataService_processWalk_around;
    String dataSex;
    String dataSource;
    String dataStatus;
    String dataStorage;
    String dataTake_over_date;
    String dataType;
    String dataUnsubscribe_all_date;
    String dataUnsubscribe_call_date;
    String dataUnsubscribe_email_date;
    String dataUnsubscribe_sms_date;
    String dataWork_order;
    int dataAccountId;
    String dataAccountCreated_at;
    String dataAccountUpdated_at;
    int dataAccountPartner_id;
    boolean dataAccountActivity_report;
    boolean dataAccountCommercial;
    boolean dataAccountEvent;
    boolean dataAccountLeadxpress;
    boolean dataAccountLoyalty;
    boolean dataAccountPhone_up;
    boolean dataAccountRenewal;
    boolean dataAccountSale_table;
    boolean dataAccountService;
    boolean dataAccountWalk_in;
    boolean dataAccountWebboost;
    boolean dataAccountAccount_manager;
    String dataAccountActivation_date;
    boolean dataAccountActive;
    boolean dataAccountAssigned_lead;
    boolean dataAccountAuto_renewal;
    boolean dataAccountAuto_renewal_new;
    boolean dataAccountAuto_renewal_used;
    boolean dataAccountAutomation;
    boolean dataAccountBdc_advisor;
    boolean dataAccountCalendar_options;
    boolean dataAccountClient_card_fieldsProcessGas;
    boolean dataAccountClient_card_fieldsProcessRecorded;
    boolean dataAccountClient_card_fieldsProcessAvailable;
    boolean dataAccountClient_card_fieldsProcessDiscounted;
    boolean dataAccountClient_card_fieldsCommercialProfit;
    boolean dataAccountClient_card_fieldsCommercialExclude;
    boolean dataAccountClient_card_fieldsCommercialMeeting;
    boolean dataAccountClient_card_fieldsPerformanceDeposit;
    boolean dataAccountClient_card_fieldsPerformanceRefinanced;
    boolean dataAccountClient_card_fieldsPerformanceDealer_tour;
    boolean dataAccountClient_card_fieldsPerformanceWalk_around;
    boolean dataAccountClient_card_fieldsPerformanceQualification;
    boolean dataAccountClient_card_fieldsPerformanceTwenty_four_hour;
    boolean dataAccountClient_card_fieldsGeneral_infoBudget;
    boolean dataAccountClient_card_fieldsGeneral_infoSector;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_1;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_2;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_3;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_4;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_5;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_6;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_7;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_8;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_9;
    boolean dataAccountClient_card_fieldsGeneral_infoCustom_10;
    boolean dataAccountClient_card_fieldsGeneral_infoCommunication_preference;
    boolean dataAccountClient_card_fieldsWanted_vehicleVin;
    boolean dataAccountClient_card_fieldsWanted_vehicleFuel;
    boolean dataAccountClient_card_fieldsWanted_vehicleRate;
    boolean dataAccountClient_card_fieldsWanted_vehicleTerm;
    boolean dataAccountClient_card_fieldsWanted_vehicleTire;
    boolean dataAccountClient_card_fieldsWanted_vehicleYear;
    boolean dataAccountClient_card_fieldsWanted_vehicleColor;
    boolean dataAccountClient_card_fieldsWanted_vehiclePrice;
    boolean dataAccountClient_card_fieldsWanted_vehicleStock;
    boolean dataAccountClient_card_fieldsWanted_vehicleTotal;
    boolean dataAccountClient_card_fieldsWanted_vehicleBudget;
    boolean dataAccountClient_card_fieldsWanted_vehicleEngine;
    boolean dataAccountClient_card_fieldsWanted_vehicleLength;
    boolean dataAccountClient_card_fieldsWanted_vehicleProfit;
    boolean dataAccountClient_card_fieldsWanted_vehicleSuffix;
    boolean dataAccountClient_card_fieldsWanted_vehicleWeight;
    boolean dataAccountClient_card_fieldsWanted_vehicleComment;
    boolean dataAccountClient_card_fieldsWanted_vehicleMileage;
    boolean dataAccountClient_card_fieldsWanted_vehiclePayment;
    boolean dataAccountClient_card_fieldsWanted_vehicleBodyType;
    boolean dataAccountClient_card_fieldsWanted_vehicleCategory;
    boolean dataAccountClient_card_fieldsWanted_vehicleModality;
    boolean dataAccountClient_card_fieldsWanted_vehicleResidual;
    boolean dataAccountClient_card_fieldsWanted_vehicleSleeping;
    boolean dataAccountClient_card_fieldsWanted_vehicleWarranty;
    boolean dataAccountClient_card_fieldsWanted_vehicleFrequency;
    boolean dataAccountClient_card_fieldsWanted_vehicleAccessories;
    boolean dataAccountClient_card_fieldsWanted_vehicleCategory_rv;
    boolean dataAccountClient_card_fieldsWanted_vehiclePreparation;
    boolean dataAccountClient_card_fieldsWanted_vehicleInitial_cash;
    boolean dataAccountClient_card_fieldsWanted_vehicleOffer_number;
    boolean dataAccountClient_card_fieldsWanted_vehicleOrder_number;
    boolean dataAccountClient_card_fieldsWanted_vehicleTransmission;
    boolean dataAccountClient_card_fieldsWanted_vehicleDocumentation;
    boolean dataAccountClient_card_fieldsWanted_vehicleDrivingWheels;
    boolean dataAccountClient_card_fieldsWanted_vehicleColor_exterior;
    boolean dataAccountClient_card_fieldsWanted_vehicleColor_interior;
    boolean dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage;
    boolean dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit;
    boolean dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date;
    boolean dataAccountClient_card_fieldsExchange_vehicleVin;
    boolean dataAccountClient_card_fieldsExchange_vehicleFuel;
    boolean dataAccountClient_card_fieldsExchange_vehicleLink;
    boolean dataAccountClient_card_fieldsExchange_vehicleRate;
    boolean dataAccountClient_card_fieldsExchange_vehicleTerm;
    boolean dataAccountClient_card_fieldsExchange_vehicleYear;
    boolean dataAccountClient_card_fieldsExchange_vehicleColor;
    boolean dataAccountClient_card_fieldsExchange_vehiclePrice;
    boolean dataAccountClient_card_fieldsExchange_vehicleStock;
    boolean dataAccountClient_card_fieldsExchange_vehicleValue;
    boolean dataAccountClient_card_fieldsExchange_vehicleBudget;
    boolean dataAccountClient_card_fieldsExchange_vehicleEngine;
    boolean dataAccountClient_card_fieldsExchange_vehicleLength;
    boolean dataAccountClient_card_fieldsExchange_vehicleProfit;
    boolean dataAccountClient_card_fieldsExchange_vehicleSuffix;
    boolean dataAccountClient_card_fieldsExchange_vehicleWeight;
    boolean dataAccountClient_card_fieldsExchange_vehicleBalance;
    boolean dataAccountClient_card_fieldsExchange_vehicleComment;
    boolean dataAccountClient_card_fieldsExchange_vehicleMileage;
    boolean dataAccountClient_card_fieldsExchange_vehiclePayment;
    boolean dataAccountClient_card_fieldsExchange_vehicleRenewal;
    boolean dataAccountClient_card_fieldsExchange_vehicleSold_by;
    boolean dataAccountClient_card_fieldsExchange_vehicleBodyType;
    boolean dataAccountClient_card_fieldsExchange_vehicleCategory;
    boolean dataAccountClient_card_fieldsExchange_vehicleModality;
    boolean dataAccountClient_card_fieldsExchange_vehicleResidual;
    boolean dataAccountClient_card_fieldsExchange_vehicleSleeping;
    boolean dataAccountClient_card_fieldsExchange_vehicleWarranty;
    boolean dataAccountClient_card_fieldsExchange_vehicleCondition;
    boolean dataAccountClient_card_fieldsExchange_vehicleFrequency;
    boolean dataAccountClient_card_fieldsExchange_vehicleIntention;
    boolean dataAccountClient_card_fieldsExchange_vehicleRefinance;
    boolean dataAccountClient_card_fieldsExchange_vehicleRequested;
    boolean dataAccountClient_card_fieldsExchange_vehicleSold_date;
    boolean dataAccountClient_card_fieldsExchange_vehicleCategory_rv;
    boolean dataAccountClient_card_fieldsExchange_vehicleInstitution;
    boolean dataAccountClient_card_fieldsExchange_vehicleInitial_cash;
    boolean dataAccountClient_card_fieldsExchange_vehicleOffer_number;
    boolean dataAccountClient_card_fieldsExchange_vehicleTransmission;
    boolean dataAccountClient_card_fieldsExchange_vehicleDrivingWheels;
    boolean dataAccountClient_card_fieldsExchange_vehicleColor_exterior;
    boolean dataAccountClient_card_fieldsExchange_vehicleColor_interior;
    boolean dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage;
    boolean dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit;
    boolean dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date;
    boolean dataAccountClient_number;
    boolean dataAccountConfirmation_appt;
    boolean dataAccountCredit;
    boolean dataAccountCsi;
    boolean dataAccountCsi_used;
    String dataAccountDefault_deliveryman_user_id;
    boolean dataAccountDelivered_by;
    boolean dataAccountDisable_communication_audio;
    boolean dataAccountDuplicates;
    boolean dataAccountGuest_action;
    boolean dataAccountEmail_client;
    boolean dataAccountIn_turn;
    boolean dataAccountIn_turn_director_management;
    boolean dataAccountLeads_other_division;
    int dataAccountLeadxpress_optionPriority;
    int dataAccountLeadxpress_optionReminderFrequency;
    int dataAccountLeadxpress_optionReminderRecurrence;
    boolean dataAccountLeadxpress_optionScheduleAccount;
    boolean dataAccountLeadxpress_optionScheduleAdvisor;
    boolean dataAccountLimited_audio_access;
    String dataAccountLogo;
    String dataAccountLogo_en;
    boolean dataAccountMandatory_coordinate;
    boolean dataAccountManually_status;
    String dataAccountMerge_rule;
    int dataAccountMonth_start_day;
    String dataAccountName;
    boolean dataAccountNiotext;
    boolean dataAccountNiotext_phone;
    String dataAccountPhone;
    boolean dataAccountPower_sport;
    boolean dataAccountProcess;
    boolean dataAccountRecreative_special;
    boolean dataAccountResult_date_validation;
    boolean dataAccountSale_accessories;
    boolean dataAccountSale_by_phone;
    boolean dataAccountSale_date_month;
    boolean dataAccountSale_table_optionsAccessory_column;
    boolean dataAccountSale_table_optionsCommercial_column;
    boolean dataAccountSale_table_optionsDivision_grouped_total_column;
    boolean dataAccountSale_validation;
    boolean dataAccountScan;
    boolean dataAccountStock_required_for_sale;
    boolean dataAccountTake_over_director;
    boolean dataAccountTrade_report;
    boolean dataAccountUnrestricted_assignment;
    boolean dataAccountUnsubscribe;
    boolean dataAccountUntreated_lead;
    boolean dataAccountVehicle_model_text;
    boolean dataAccountVehicle_text;
    boolean dataAccountVerified_sale;
    boolean dataAccountVin_decoder;
    String dataAccountWaiting_sale_date;
    boolean dataAccountWaiting_sale_option;
    String dataAdvisor;
    String dataBdc;
    String dataCommercial;
    String dataService_advisor;
    String dataService_agent;
    int i;
    int count_i;
    int id;
    String created_at;
    String updated_at;
    int lead_id;
    String address;
    String v_type;
    boolean valid;
    String extension;
    String number;
    boolean validated;
    boolean mobile;
    String accessories;
    String allowed_odometer;
    int balance;
    String budget_max;
    String budget_min;
    String cash_down;
    String category;
    String category_rv;
    String client_number;
    String color_exterior;
    String color_interior;
    String comment;
    String condition;
    String end_contract_date;
    String end_warranty_date;
    String engine;
    String extended_warranty;
    String fuel;
    String length_max;
    String length_min;
    String license_plate;
    String make;
    String modality;
    String model;
    String odometer;
    String offer_number;
    String v_option;
    String order_number;
    String payment;
    String payment_frequency;
    String preparation;
    String price;
    String profit;
    String purchase_date;
    String rate;
    String recall;
    String recorded_date;
    String residual;
    String security_deposit;
    String sleeping;
    boolean sold;
    String sold_by;
    String sold_date;
    String stock;
    String stock_state;
    String term;
    boolean tire;
    String transmission;
    String trim;
    String url;
    String value;
    String vin;
    String warranty;
    String weight;
    String year;
    String year_max;
    String year_min;

    dataId = jsonResponse.IntOf("data.id");
    dataCreated_at = jsonResponse.stringOf("data.created_at");
    dataUpdated_at = jsonResponse.stringOf("data.updated_at");
    dataAccount_id = jsonResponse.IntOf("data.account_id");
    dataAddress_line1 = jsonResponse.stringOf("data.address_line1");
    dataAddress_line2 = jsonResponse.stringOf("data.address_line2");
    dataAppointment_date = jsonResponse.stringOf("data.appointment_date");
    dataAppt_call = jsonResponse.BoolOf("data.appt_call");
    dataAvailable_date = jsonResponse.stringOf("data.available_date");
    dataAverage_spending = jsonResponse.stringOf("data.average_spending");
    dataBe_back_date = jsonResponse.stringOf("data.be_back_date");
    dataBirth_date = jsonResponse.stringOf("data.birth_date");
    dataBusiness = jsonResponse.stringOf("data.business");
    dataCall_date = jsonResponse.stringOf("data.call_date");
    dataCity = jsonResponse.stringOf("data.city");
    dataCivility = jsonResponse.stringOf("data.civility");
    dataCode = jsonResponse.stringOf("data.code");
    dataCountry = jsonResponse.stringOf("data.country");
    dataCsi_date = jsonResponse.stringOf("data.csi_date");
    dataDelivered_by_id = jsonResponse.stringOf("data.delivered_by_id");
    dataDelivered_date = jsonResponse.stringOf("data.delivered_date");
    dataDelivery_date = jsonResponse.stringOf("data.delivery_date");
    dataDivision = jsonResponse.stringOf("data.division");
    dataEnd_service_date = jsonResponse.stringOf("data.end_service_date");
    dataFirst_name = jsonResponse.stringOf("data.first_name");
    dataGas = jsonResponse.stringOf("data.gas");
    dataGender = jsonResponse.IntOf("data.gender");
    dataInvoiced = jsonResponse.BoolOf("data.invoiced");
    dataLast_name = jsonResponse.stringOf("data.last_name");
    dataLast_visit_date = jsonResponse.stringOf("data.last_visit_date");
    dataLocale = jsonResponse.stringOf("data.locale");
    dataLoyalty = jsonResponse.stringOf("data.loyalty");
    dataNext_visit_date = jsonResponse.stringOf("data.next_visit_date");
    dataOdometer_last_visit = jsonResponse.stringOf("data.odometer_last_visit");
    dataOpen_work_order_date = jsonResponse.stringOf("data.open_work_order_date");
    dataPlanned_pick_up_date = jsonResponse.stringOf("data.planned_pick_up_date");
    dataPostal_code = jsonResponse.stringOf("data.postal_code");
    dataPrepaid = jsonResponse.stringOf("data.prepaid");
    dataPrepared = jsonResponse.BoolOf("data.prepared");
    dataPresented_date = jsonResponse.stringOf("data.presented_date");
    dataPromised_date = jsonResponse.stringOf("data.promised_date");
    dataProvince = jsonResponse.stringOf("data.province");
    dataRating = jsonResponse.stringOf("data.rating");
    dataReached_client = jsonResponse.BoolOf("data.reached_client");
    dataRefinanced_date = jsonResponse.stringOf("data.refinanced_date");
    dataRepair_date = jsonResponse.stringOf("data.repair_date");
    dataRepair_order = jsonResponse.stringOf("data.repair_order");
    dataResult = jsonResponse.stringOf("data.result");
    dataRoad_test_date = jsonResponse.stringOf("data.road_test_date");
    dataSale_date = jsonResponse.stringOf("data.sale_date");
    dataSecond_contact = jsonResponse.stringOf("data.second_contact");
    dataSecond_contact_civility = jsonResponse.stringOf("data.second_contact_civility");
    dataSegment = jsonResponse.stringOf("data.segment");
    dataService_cleaned = jsonResponse.BoolOf("data.service_cleaned");
    dataService_interval_km = jsonResponse.stringOf("data.service_interval_km");
    dataService_monthly_km = jsonResponse.stringOf("data.service_monthly_km");
    dataService_processIntention = jsonResponse.stringOf("data.service_process.intention");
    dataService_processTransport = jsonResponse.stringOf("data.service_process.transport");
    dataService_processWalk_around = jsonResponse.stringOf("data.service_process.walk_around");
    dataSex = jsonResponse.stringOf("data.sex");
    dataSource = jsonResponse.stringOf("data.source");
    dataStatus = jsonResponse.stringOf("data.status");
    dataStorage = jsonResponse.stringOf("data.storage");
    dataTake_over_date = jsonResponse.stringOf("data.take_over_date");
    dataType = jsonResponse.stringOf("data.type");
    dataUnsubscribe_all_date = jsonResponse.stringOf("data.unsubscribe_all_date");
    dataUnsubscribe_call_date = jsonResponse.stringOf("data.unsubscribe_call_date");
    dataUnsubscribe_email_date = jsonResponse.stringOf("data.unsubscribe_email_date");
    dataUnsubscribe_sms_date = jsonResponse.stringOf("data.unsubscribe_sms_date");
    dataWork_order = jsonResponse.stringOf("data.work_order");
    dataAccountId = jsonResponse.IntOf("data.account.id");
    dataAccountCreated_at = jsonResponse.stringOf("data.account.created_at");
    dataAccountUpdated_at = jsonResponse.stringOf("data.account.updated_at");
    dataAccountPartner_id = jsonResponse.IntOf("data.account.partner_id");
    dataAccountActivity_report = jsonResponse.BoolOf("data.account.activity_report");
    dataAccountCommercial = jsonResponse.BoolOf("data.account.commercial");
    dataAccountEvent = jsonResponse.BoolOf("data.account.event");
    dataAccountLeadxpress = jsonResponse.BoolOf("data.account.leadxpress");
    dataAccountLoyalty = jsonResponse.BoolOf("data.account.loyalty");
    dataAccountPhone_up = jsonResponse.BoolOf("data.account.phone_up");
    dataAccountRenewal = jsonResponse.BoolOf("data.account.renewal");
    dataAccountSale_table = jsonResponse.BoolOf("data.account.sale_table");
    dataAccountService = jsonResponse.BoolOf("data.account.service");
    dataAccountWalk_in = jsonResponse.BoolOf("data.account.walk_in");
    dataAccountWebboost = jsonResponse.BoolOf("data.account.webboost");
    dataAccountAccount_manager = jsonResponse.BoolOf("data.account.account_manager");
    dataAccountActivation_date = jsonResponse.stringOf("data.account.activation_date");
    dataAccountActive = jsonResponse.BoolOf("data.account.active");
    dataAccountAssigned_lead = jsonResponse.BoolOf("data.account.assigned_lead");
    dataAccountAuto_renewal = jsonResponse.BoolOf("data.account.auto_renewal");
    dataAccountAuto_renewal_new = jsonResponse.BoolOf("data.account.auto_renewal_new");
    dataAccountAuto_renewal_used = jsonResponse.BoolOf("data.account.auto_renewal_used");
    dataAccountAutomation = jsonResponse.BoolOf("data.account.automation");
    dataAccountBdc_advisor = jsonResponse.BoolOf("data.account.bdc_advisor");
    dataAccountCalendar_options = jsonResponse.BoolOf("data.account.calendar_options");
    dataAccountClient_card_fieldsProcessGas = jsonResponse.BoolOf("data.account.client_card_fields.process.gas");
    dataAccountClient_card_fieldsProcessRecorded = jsonResponse.BoolOf("data.account.client_card_fields.process.recorded");
    dataAccountClient_card_fieldsProcessAvailable = jsonResponse.BoolOf("data.account.client_card_fields.process.available");
    dataAccountClient_card_fieldsProcessDiscounted = jsonResponse.BoolOf("data.account.client_card_fields.process.discounted");
    dataAccountClient_card_fieldsCommercialProfit = jsonResponse.BoolOf("data.account.client_card_fields.commercial.profit");
    dataAccountClient_card_fieldsCommercialExclude = jsonResponse.BoolOf("data.account.client_card_fields.commercial.exclude");
    dataAccountClient_card_fieldsCommercialMeeting = jsonResponse.BoolOf("data.account.client_card_fields.commercial.meeting");
    dataAccountClient_card_fieldsPerformanceDeposit = jsonResponse.BoolOf("data.account.client_card_fields.performance.deposit");
    dataAccountClient_card_fieldsPerformanceRefinanced = jsonResponse.BoolOf("data.account.client_card_fields.performance.refinanced");
    dataAccountClient_card_fieldsPerformanceDealer_tour = jsonResponse.BoolOf("data.account.client_card_fields.performance.dealer_tour");
    dataAccountClient_card_fieldsPerformanceWalk_around = jsonResponse.BoolOf("data.account.client_card_fields.performance.walk_around");
    dataAccountClient_card_fieldsPerformanceQualification = jsonResponse.BoolOf("data.account.client_card_fields.performance.qualification");
    dataAccountClient_card_fieldsPerformanceTwenty_four_hour = jsonResponse.BoolOf("data.account.client_card_fields.performance.twenty_four_hour");
    dataAccountClient_card_fieldsGeneral_infoBudget = jsonResponse.BoolOf("data.account.client_card_fields.general_info.budget");
    dataAccountClient_card_fieldsGeneral_infoSector = jsonResponse.BoolOf("data.account.client_card_fields.general_info.sector");
    dataAccountClient_card_fieldsGeneral_infoCustom_1 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_1");
    dataAccountClient_card_fieldsGeneral_infoCustom_2 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_2");
    dataAccountClient_card_fieldsGeneral_infoCustom_3 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_3");
    dataAccountClient_card_fieldsGeneral_infoCustom_4 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_4");
    dataAccountClient_card_fieldsGeneral_infoCustom_5 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_5");
    dataAccountClient_card_fieldsGeneral_infoCustom_6 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_6");
    dataAccountClient_card_fieldsGeneral_infoCustom_7 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_7");
    dataAccountClient_card_fieldsGeneral_infoCustom_8 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_8");
    dataAccountClient_card_fieldsGeneral_infoCustom_9 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_9");
    dataAccountClient_card_fieldsGeneral_infoCustom_10 = jsonResponse.BoolOf("data.account.client_card_fields.general_info.custom_10");
    dataAccountClient_card_fieldsGeneral_infoCommunication_preference = jsonResponse.BoolOf("data.account.client_card_fields.general_info.communication_preference");
    dataAccountClient_card_fieldsWanted_vehicleVin = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.vin");
    dataAccountClient_card_fieldsWanted_vehicleFuel = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.fuel");
    dataAccountClient_card_fieldsWanted_vehicleRate = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.rate");
    dataAccountClient_card_fieldsWanted_vehicleTerm = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.term");
    dataAccountClient_card_fieldsWanted_vehicleTire = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.tire");
    dataAccountClient_card_fieldsWanted_vehicleYear = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.year");
    dataAccountClient_card_fieldsWanted_vehicleColor = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color");
    dataAccountClient_card_fieldsWanted_vehiclePrice = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.price");
    dataAccountClient_card_fieldsWanted_vehicleStock = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.stock");
    dataAccountClient_card_fieldsWanted_vehicleTotal = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.total");
    dataAccountClient_card_fieldsWanted_vehicleBudget = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.budget");
    dataAccountClient_card_fieldsWanted_vehicleEngine = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.engine");
    dataAccountClient_card_fieldsWanted_vehicleLength = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.length");
    dataAccountClient_card_fieldsWanted_vehicleProfit = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.profit");
    dataAccountClient_card_fieldsWanted_vehicleSuffix = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.suffix");
    dataAccountClient_card_fieldsWanted_vehicleWeight = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.weight");
    dataAccountClient_card_fieldsWanted_vehicleComment = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.comment");
    dataAccountClient_card_fieldsWanted_vehicleMileage = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.mileage");
    dataAccountClient_card_fieldsWanted_vehiclePayment = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.payment");
    dataAccountClient_card_fieldsWanted_vehicleBodyType = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.bodyType");
    dataAccountClient_card_fieldsWanted_vehicleCategory = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.category");
    dataAccountClient_card_fieldsWanted_vehicleModality = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.modality");
    dataAccountClient_card_fieldsWanted_vehicleResidual = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.residual");
    dataAccountClient_card_fieldsWanted_vehicleSleeping = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.sleeping");
    dataAccountClient_card_fieldsWanted_vehicleWarranty = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.warranty");
    dataAccountClient_card_fieldsWanted_vehicleFrequency = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.frequency");
    dataAccountClient_card_fieldsWanted_vehicleAccessories = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.accessories");
    dataAccountClient_card_fieldsWanted_vehicleCategory_rv = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.category_rv");
    dataAccountClient_card_fieldsWanted_vehiclePreparation = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.preparation");
    dataAccountClient_card_fieldsWanted_vehicleInitial_cash = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.initial_cash");
    dataAccountClient_card_fieldsWanted_vehicleOffer_number = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.offer_number");
    dataAccountClient_card_fieldsWanted_vehicleOrder_number = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.order_number");
    dataAccountClient_card_fieldsWanted_vehicleTransmission = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.transmission");
    dataAccountClient_card_fieldsWanted_vehicleDocumentation = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.documentation");
    dataAccountClient_card_fieldsWanted_vehicleDrivingWheels = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.drivingWheels");
    dataAccountClient_card_fieldsWanted_vehicleColor_exterior = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color_exterior");
    dataAccountClient_card_fieldsWanted_vehicleColor_interior = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.color_interior");
    dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.allowed_mileage");
    dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.security_deposit");
    dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date = jsonResponse.BoolOf("data.account.client_card_fields.wanted_vehicle.end_contract_date");
    dataAccountClient_card_fieldsExchange_vehicleVin = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.vin");
    dataAccountClient_card_fieldsExchange_vehicleFuel = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.fuel");
    dataAccountClient_card_fieldsExchange_vehicleLink = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.link");
    dataAccountClient_card_fieldsExchange_vehicleRate = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.rate");
    dataAccountClient_card_fieldsExchange_vehicleTerm = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.term");
    dataAccountClient_card_fieldsExchange_vehicleYear = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.year");
    dataAccountClient_card_fieldsExchange_vehicleColor = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color");
    dataAccountClient_card_fieldsExchange_vehiclePrice = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.price");
    dataAccountClient_card_fieldsExchange_vehicleStock = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.stock");
    dataAccountClient_card_fieldsExchange_vehicleValue = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.value");
    dataAccountClient_card_fieldsExchange_vehicleBudget = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.budget");
    dataAccountClient_card_fieldsExchange_vehicleEngine = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.engine");
    dataAccountClient_card_fieldsExchange_vehicleLength = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.length");
    dataAccountClient_card_fieldsExchange_vehicleProfit = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.profit");
    dataAccountClient_card_fieldsExchange_vehicleSuffix = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.suffix");
    dataAccountClient_card_fieldsExchange_vehicleWeight = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.weight");
    dataAccountClient_card_fieldsExchange_vehicleBalance = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.balance");
    dataAccountClient_card_fieldsExchange_vehicleComment = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.comment");
    dataAccountClient_card_fieldsExchange_vehicleMileage = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.mileage");
    dataAccountClient_card_fieldsExchange_vehiclePayment = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.payment");
    dataAccountClient_card_fieldsExchange_vehicleRenewal = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.renewal");
    dataAccountClient_card_fieldsExchange_vehicleSold_by = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sold_by");
    dataAccountClient_card_fieldsExchange_vehicleBodyType = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.bodyType");
    dataAccountClient_card_fieldsExchange_vehicleCategory = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.category");
    dataAccountClient_card_fieldsExchange_vehicleModality = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.modality");
    dataAccountClient_card_fieldsExchange_vehicleResidual = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.residual");
    dataAccountClient_card_fieldsExchange_vehicleSleeping = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sleeping");
    dataAccountClient_card_fieldsExchange_vehicleWarranty = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.warranty");
    dataAccountClient_card_fieldsExchange_vehicleCondition = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.condition");
    dataAccountClient_card_fieldsExchange_vehicleFrequency = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.frequency");
    dataAccountClient_card_fieldsExchange_vehicleIntention = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.intention");
    dataAccountClient_card_fieldsExchange_vehicleRefinance = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.refinance");
    dataAccountClient_card_fieldsExchange_vehicleRequested = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.requested");
    dataAccountClient_card_fieldsExchange_vehicleSold_date = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.sold_date");
    dataAccountClient_card_fieldsExchange_vehicleCategory_rv = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.category_rv");
    dataAccountClient_card_fieldsExchange_vehicleInstitution = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.institution");
    dataAccountClient_card_fieldsExchange_vehicleInitial_cash = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.initial_cash");
    dataAccountClient_card_fieldsExchange_vehicleOffer_number = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.offer_number");
    dataAccountClient_card_fieldsExchange_vehicleTransmission = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.transmission");
    dataAccountClient_card_fieldsExchange_vehicleDrivingWheels = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.drivingWheels");
    dataAccountClient_card_fieldsExchange_vehicleColor_exterior = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color_exterior");
    dataAccountClient_card_fieldsExchange_vehicleColor_interior = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.color_interior");
    dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.allowed_mileage");
    dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.security_deposit");
    dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date = jsonResponse.BoolOf("data.account.client_card_fields.exchange_vehicle.end_contract_date");
    dataAccountClient_number = jsonResponse.BoolOf("data.account.client_number");
    dataAccountConfirmation_appt = jsonResponse.BoolOf("data.account.confirmation_appt");
    dataAccountCredit = jsonResponse.BoolOf("data.account.credit");
    dataAccountCsi = jsonResponse.BoolOf("data.account.csi");
    dataAccountCsi_used = jsonResponse.BoolOf("data.account.csi_used");
    dataAccountDefault_deliveryman_user_id = jsonResponse.stringOf("data.account.default_deliveryman_user_id");
    dataAccountDelivered_by = jsonResponse.BoolOf("data.account.delivered_by");
    dataAccountDisable_communication_audio = jsonResponse.BoolOf("data.account.disable_communication_audio");
    dataAccountDuplicates = jsonResponse.BoolOf("data.account.duplicates");
    dataAccountGuest_action = jsonResponse.BoolOf("data.account.guest_action");
    dataAccountEmail_client = jsonResponse.BoolOf("data.account.email_client");
    dataAccountIn_turn = jsonResponse.BoolOf("data.account.in_turn");
    dataAccountIn_turn_director_management = jsonResponse.BoolOf("data.account.in_turn_director_management");
    dataAccountLeads_other_division = jsonResponse.BoolOf("data.account.leads_other_division");
    dataAccountLeadxpress_optionPriority = jsonResponse.IntOf("data.account.leadxpress_option.priority");
    dataAccountLeadxpress_optionReminderFrequency = jsonResponse.IntOf("data.account.leadxpress_option.reminder.frequency");
    dataAccountLeadxpress_optionReminderRecurrence = jsonResponse.IntOf("data.account.leadxpress_option.reminder.recurrence");
    dataAccountLeadxpress_optionScheduleAccount = jsonResponse.BoolOf("data.account.leadxpress_option.schedule.account");
    dataAccountLeadxpress_optionScheduleAdvisor = jsonResponse.BoolOf("data.account.leadxpress_option.schedule.advisor");
    dataAccountLimited_audio_access = jsonResponse.BoolOf("data.account.limited_audio_access");
    dataAccountLogo = jsonResponse.stringOf("data.account.logo");
    dataAccountLogo_en = jsonResponse.stringOf("data.account.logo_en");
    dataAccountMandatory_coordinate = jsonResponse.BoolOf("data.account.mandatory_coordinate");
    dataAccountManually_status = jsonResponse.BoolOf("data.account.manually_status");
    dataAccountMerge_rule = jsonResponse.stringOf("data.account.merge_rule");
    dataAccountMonth_start_day = jsonResponse.IntOf("data.account.month_start_day");
    dataAccountName = jsonResponse.stringOf("data.account.name");
    dataAccountNiotext = jsonResponse.BoolOf("data.account.niotext");
    dataAccountNiotext_phone = jsonResponse.BoolOf("data.account.niotext_phone");
    dataAccountPhone = jsonResponse.stringOf("data.account.phone");
    dataAccountPower_sport = jsonResponse.BoolOf("data.account.power_sport");
    dataAccountProcess = jsonResponse.BoolOf("data.account.process");
    dataAccountRecreative_special = jsonResponse.BoolOf("data.account.recreative_special");
    dataAccountResult_date_validation = jsonResponse.BoolOf("data.account.result_date_validation");
    dataAccountSale_accessories = jsonResponse.BoolOf("data.account.sale_accessories");
    dataAccountSale_by_phone = jsonResponse.BoolOf("data.account.sale_by_phone");
    dataAccountSale_date_month = jsonResponse.BoolOf("data.account.sale_date_month");
    dataAccountSale_table_optionsAccessory_column = jsonResponse.BoolOf("data.account.sale_table_options.accessory_column");
    dataAccountSale_table_optionsCommercial_column = jsonResponse.BoolOf("data.account.sale_table_options.commercial_column");
    dataAccountSale_table_optionsDivision_grouped_total_column = jsonResponse.BoolOf("data.account.sale_table_options.division_grouped_total_column");
    dataAccountSale_validation = jsonResponse.BoolOf("data.account.sale_validation");
    dataAccountScan = jsonResponse.BoolOf("data.account.scan");
    dataAccountStock_required_for_sale = jsonResponse.BoolOf("data.account.stock_required_for_sale");
    dataAccountTake_over_director = jsonResponse.BoolOf("data.account.take_over_director");
    dataAccountTrade_report = jsonResponse.BoolOf("data.account.trade_report");
    dataAccountUnrestricted_assignment = jsonResponse.BoolOf("data.account.unrestricted_assignment");
    dataAccountUnsubscribe = jsonResponse.BoolOf("data.account.unsubscribe");
    dataAccountUntreated_lead = jsonResponse.BoolOf("data.account.untreated_lead");
    dataAccountVehicle_model_text = jsonResponse.BoolOf("data.account.vehicle_model_text");
    dataAccountVehicle_text = jsonResponse.BoolOf("data.account.vehicle_text");
    dataAccountVerified_sale = jsonResponse.BoolOf("data.account.verified_sale");
    dataAccountVin_decoder = jsonResponse.BoolOf("data.account.vin_decoder");
    dataAccountWaiting_sale_date = jsonResponse.stringOf("data.account.waiting_sale_date");
    dataAccountWaiting_sale_option = jsonResponse.BoolOf("data.account.waiting_sale_option");
    dataAdvisor = jsonResponse.stringOf("data.advisor");
    dataBdc = jsonResponse.stringOf("data.bdc");
    dataCommercial = jsonResponse.stringOf("data.commercial");
    dataService_advisor = jsonResponse.stringOf("data.service_advisor");
    dataService_agent = jsonResponse.stringOf("data.service_agent");
    i = 0;
    count_i = jsonResponse.SizeOfArray("data.emails");
    while (i < count_i) {
        jsonResponse.put_I(i);
        id = jsonResponse.IntOf("data.emails[i].id");
        created_at = jsonResponse.stringOf("data.emails[i].created_at");
        updated_at = jsonResponse.stringOf("data.emails[i].updated_at");
        lead_id = jsonResponse.IntOf("data.emails[i].lead_id");
        address = jsonResponse.stringOf("data.emails[i].address");
        v_type = jsonResponse.stringOf("data.emails[i].type");
        valid = jsonResponse.BoolOf("data.emails[i].valid");
        i = i+1;
        }

    i = 0;
    count_i = jsonResponse.SizeOfArray("data.phones");
    while (i < count_i) {
        jsonResponse.put_I(i);
        id = jsonResponse.IntOf("data.phones[i].id");
        created_at = jsonResponse.stringOf("data.phones[i].created_at");
        updated_at = jsonResponse.stringOf("data.phones[i].updated_at");
        lead_id = jsonResponse.IntOf("data.phones[i].lead_id");
        extension = jsonResponse.stringOf("data.phones[i].extension");
        number = jsonResponse.stringOf("data.phones[i].number");
        v_type = jsonResponse.stringOf("data.phones[i].type");
        valid = jsonResponse.BoolOf("data.phones[i].valid");
        validated = jsonResponse.BoolOf("data.phones[i].validated");
        mobile = jsonResponse.BoolOf("data.phones[i].mobile");
        i = i+1;
        }

    i = 0;
    count_i = jsonResponse.SizeOfArray("data.vehicles");
    while (i < count_i) {
        jsonResponse.put_I(i);
        id = jsonResponse.IntOf("data.vehicles[i].id");
        created_at = jsonResponse.stringOf("data.vehicles[i].created_at");
        updated_at = jsonResponse.stringOf("data.vehicles[i].updated_at");
        lead_id = jsonResponse.IntOf("data.vehicles[i].lead_id");
        accessories = jsonResponse.stringOf("data.vehicles[i].accessories");
        allowed_odometer = jsonResponse.stringOf("data.vehicles[i].allowed_odometer");
        balance = jsonResponse.IntOf("data.vehicles[i].balance");
        budget_max = jsonResponse.stringOf("data.vehicles[i].budget_max");
        budget_min = jsonResponse.stringOf("data.vehicles[i].budget_min");
        cash_down = jsonResponse.stringOf("data.vehicles[i].cash_down");
        category = jsonResponse.stringOf("data.vehicles[i].category");
        category_rv = jsonResponse.stringOf("data.vehicles[i].category_rv");
        client_number = jsonResponse.stringOf("data.vehicles[i].client_number");
        color_exterior = jsonResponse.stringOf("data.vehicles[i].color_exterior");
        color_interior = jsonResponse.stringOf("data.vehicles[i].color_interior");
        comment = jsonResponse.stringOf("data.vehicles[i].comment");
        condition = jsonResponse.stringOf("data.vehicles[i].condition");
        end_contract_date = jsonResponse.stringOf("data.vehicles[i].end_contract_date");
        end_warranty_date = jsonResponse.stringOf("data.vehicles[i].end_warranty_date");
        engine = jsonResponse.stringOf("data.vehicles[i].engine");
        extended_warranty = jsonResponse.stringOf("data.vehicles[i].extended_warranty");
        fuel = jsonResponse.stringOf("data.vehicles[i].fuel");
        length_max = jsonResponse.stringOf("data.vehicles[i].length_max");
        length_min = jsonResponse.stringOf("data.vehicles[i].length_min");
        license_plate = jsonResponse.stringOf("data.vehicles[i].license_plate");
        make = jsonResponse.stringOf("data.vehicles[i].make");
        modality = jsonResponse.stringOf("data.vehicles[i].modality");
        model = jsonResponse.stringOf("data.vehicles[i].model");
        odometer = jsonResponse.stringOf("data.vehicles[i].odometer");
        offer_number = jsonResponse.stringOf("data.vehicles[i].offer_number");
        v_option = jsonResponse.stringOf("data.vehicles[i].option");
        order_number = jsonResponse.stringOf("data.vehicles[i].order_number");
        payment = jsonResponse.stringOf("data.vehicles[i].payment");
        payment_frequency = jsonResponse.stringOf("data.vehicles[i].payment_frequency");
        preparation = jsonResponse.stringOf("data.vehicles[i].preparation");
        price = jsonResponse.stringOf("data.vehicles[i].price");
        profit = jsonResponse.stringOf("data.vehicles[i].profit");
        purchase_date = jsonResponse.stringOf("data.vehicles[i].purchase_date");
        rate = jsonResponse.stringOf("data.vehicles[i].rate");
        recall = jsonResponse.stringOf("data.vehicles[i].recall");
        recorded_date = jsonResponse.stringOf("data.vehicles[i].recorded_date");
        residual = jsonResponse.stringOf("data.vehicles[i].residual");
        security_deposit = jsonResponse.stringOf("data.vehicles[i].security_deposit");
        sleeping = jsonResponse.stringOf("data.vehicles[i].sleeping");
        sold = jsonResponse.BoolOf("data.vehicles[i].sold");
        sold_by = jsonResponse.stringOf("data.vehicles[i].sold_by");
        sold_date = jsonResponse.stringOf("data.vehicles[i].sold_date");
        stock = jsonResponse.stringOf("data.vehicles[i].stock");
        stock_state = jsonResponse.stringOf("data.vehicles[i].stock_state");
        term = jsonResponse.stringOf("data.vehicles[i].term");
        tire = jsonResponse.BoolOf("data.vehicles[i].tire");
        transmission = jsonResponse.stringOf("data.vehicles[i].transmission");
        trim = jsonResponse.stringOf("data.vehicles[i].trim");
        v_type = jsonResponse.stringOf("data.vehicles[i].type");
        url = jsonResponse.stringOf("data.vehicles[i].url");
        value = jsonResponse.stringOf("data.vehicles[i].value");
        vin = jsonResponse.stringOf("data.vehicles[i].vin");
        warranty = jsonResponse.stringOf("data.vehicles[i].warranty");
        weight = jsonResponse.stringOf("data.vehicles[i].weight");
        year = jsonResponse.stringOf("data.vehicles[i].year");
        year_max = jsonResponse.stringOf("data.vehicles[i].year_max");
        year_min = jsonResponse.stringOf("data.vehicles[i].year_min");
        i = i+1;
        }

    i = 0;
    count_i = jsonResponse.SizeOfArray("data.related_ids");
    while (i < count_i) {
        jsonResponse.put_I(i);
        i = i+1;
        }
  }
}