Sample code for 30+ languages & platforms
Unicode C++

Activix CRM Search for Leads

See more Activix CRM Examples

Demonstrates how to full-text search for leads, returning a JSON list of leads.

Chilkat Unicode C++ Downloads

Unicode C++
#include <CkHttpW.h>
#include <CkJsonObjectW.h>

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

    CkHttpW http;

    http.put_AuthToken(L"ACCESS_TOKEN");

    http.put_Accept(L"application/json");

    const wchar_t *strResp = http.quickGetStr(L"https://crm.activix.ca/api/v2/leads/search?query=Doe");
    if (http.get_LastMethodSuccess() != true) {
        wprintf(L"%s\n",http.lastErrorText());
        return;
    }

    wprintf(L"Response Status Code: %d\n",http.get_LastStatus());

    CkJsonObjectW jsonResponse;
    jsonResponse.Load(strResp);
    jsonResponse.put_EmitCompact(false);
    wprintf(L"%s\n",jsonResponse.emit());

    if (http.get_LastStatus() != 200) {
        wprintf(L"Failed.\n");
        return;
    }

    // Sample output...
    // (See the parsing code below..)
    // 
    // Use 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,
    //                     ...
    //                 },
    //                 ...
    //             ]
    //         },
    //         ...
    //     ],
    //     "links": {
    //         "first": "https://crm.activix.ca/api/v2/leads/search?query=John&page=1",
    //         "last": "https://crm.activix.ca/api/v2/leads/search?query=John&page=47",
    //         "prev": null,
    //         "next": "https://crm.activix.ca/api/v2/leads/search?query=John&page=2"
    //     },
    //     "meta": {
    //         "current_page": 1,
    //         "from": 1,
    //         "last_page": 47,
    //         "path": "https://crm.activix.ca/api/v2/leads/search",
    //         "per_page": 25,
    //         "to": 25,
    //         "total": 1161
    //     }
    // }

    const wchar_t *linksFirst = 0;
    const wchar_t *linksLast = 0;
    const wchar_t *linksPrev = 0;
    const wchar_t *linksNext = 0;
    int metaCurrent_page;
    int metaFrom;
    int metaLast_page;
    const wchar_t *metaPath = 0;
    int metaPer_page;
    int metaTo;
    int metaTotal;
    int i;
    int count_i;
    int id;
    const wchar_t *created_at = 0;
    const wchar_t *updated_at = 0;
    int account_id;
    const wchar_t *address_line1 = 0;
    const wchar_t *address_line2 = 0;
    const wchar_t *appointment_date = 0;
    bool appt_call;
    const wchar_t *available_date = 0;
    const wchar_t *average_spending = 0;
    const wchar_t *be_back_date = 0;
    const wchar_t *birth_date = 0;
    const wchar_t *business = 0;
    const wchar_t *call_date = 0;
    const wchar_t *city = 0;
    const wchar_t *civility = 0;
    const wchar_t *code = 0;
    const wchar_t *country = 0;
    const wchar_t *csi_date = 0;
    const wchar_t *delivered_by_id = 0;
    const wchar_t *delivered_date = 0;
    const wchar_t *delivery_date = 0;
    const wchar_t *division = 0;
    const wchar_t *end_service_date = 0;
    const wchar_t *first_name = 0;
    const wchar_t *gas = 0;
    int gender;
    bool invoiced;
    const wchar_t *last_name = 0;
    const wchar_t *last_visit_date = 0;
    const wchar_t *locale = 0;
    const wchar_t *loyalty = 0;
    const wchar_t *next_visit_date = 0;
    const wchar_t *odometer_last_visit = 0;
    const wchar_t *open_work_order_date = 0;
    const wchar_t *planned_pick_up_date = 0;
    const wchar_t *postal_code = 0;
    const wchar_t *prepaid = 0;
    bool prepared;
    const wchar_t *presented_date = 0;
    const wchar_t *promised_date = 0;
    const wchar_t *province = 0;
    const wchar_t *rating = 0;
    bool reached_client;
    const wchar_t *refinanced_date = 0;
    const wchar_t *repair_date = 0;
    const wchar_t *repair_order = 0;
    const wchar_t *result = 0;
    const wchar_t *road_test_date = 0;
    const wchar_t *sale_date = 0;
    const wchar_t *second_contact = 0;
    const wchar_t *second_contact_civility = 0;
    const wchar_t *segment = 0;
    bool service_cleaned;
    const wchar_t *service_interval_km = 0;
    const wchar_t *service_monthly_km = 0;
    const wchar_t *service_processIntention = 0;
    const wchar_t *service_processTransport = 0;
    const wchar_t *service_processWalk_around = 0;
    const wchar_t *sex = 0;
    const wchar_t *source = 0;
    const wchar_t *status = 0;
    const wchar_t *storage = 0;
    const wchar_t *take_over_date = 0;
    const wchar_t *v_type = 0;
    const wchar_t *unsubscribe_all_date = 0;
    const wchar_t *unsubscribe_call_date = 0;
    const wchar_t *unsubscribe_email_date = 0;
    const wchar_t *unsubscribe_sms_date = 0;
    const wchar_t *work_order = 0;
    int accountId;
    const wchar_t *accountCreated_at = 0;
    const wchar_t *accountUpdated_at = 0;
    int accountPartner_id;
    bool accountActivity_report;
    bool accountCommercial;
    bool accountEvent;
    bool accountLeadxpress;
    bool accountLoyalty;
    bool accountPhone_up;
    bool accountRenewal;
    bool accountSale_table;
    bool accountService;
    bool accountWalk_in;
    bool accountWebboost;
    bool accountAccount_manager;
    const wchar_t *accountActivation_date = 0;
    bool accountActive;
    bool accountAssigned_lead;
    bool accountAuto_renewal;
    bool accountAuto_renewal_new;
    bool accountAuto_renewal_used;
    bool accountAutomation;
    bool accountBdc_advisor;
    bool accountCalendar_options;
    bool accountClient_card_fieldsProcessGas;
    bool accountClient_card_fieldsProcessRecorded;
    bool accountClient_card_fieldsProcessAvailable;
    bool accountClient_card_fieldsProcessDiscounted;
    bool accountClient_card_fieldsCommercialProfit;
    bool accountClient_card_fieldsCommercialExclude;
    bool accountClient_card_fieldsCommercialMeeting;
    bool accountClient_card_fieldsPerformanceDeposit;
    bool accountClient_card_fieldsPerformanceRefinanced;
    bool accountClient_card_fieldsPerformanceDealer_tour;
    bool accountClient_card_fieldsPerformanceWalk_around;
    bool accountClient_card_fieldsPerformanceQualification;
    bool accountClient_card_fieldsPerformanceTwenty_four_hour;
    bool accountClient_card_fieldsGeneral_infoBudget;
    bool accountClient_card_fieldsGeneral_infoSector;
    bool accountClient_card_fieldsGeneral_infoCustom_1;
    bool accountClient_card_fieldsGeneral_infoCustom_2;
    bool accountClient_card_fieldsGeneral_infoCustom_3;
    bool accountClient_card_fieldsGeneral_infoCustom_4;
    bool accountClient_card_fieldsGeneral_infoCustom_5;
    bool accountClient_card_fieldsGeneral_infoCustom_6;
    bool accountClient_card_fieldsGeneral_infoCustom_7;
    bool accountClient_card_fieldsGeneral_infoCustom_8;
    bool accountClient_card_fieldsGeneral_infoCustom_9;
    bool accountClient_card_fieldsGeneral_infoCustom_10;
    bool accountClient_card_fieldsGeneral_infoCommunication_preference;
    bool accountClient_card_fieldsWanted_vehicleVin;
    bool accountClient_card_fieldsWanted_vehicleFuel;
    bool accountClient_card_fieldsWanted_vehicleRate;
    bool accountClient_card_fieldsWanted_vehicleTerm;
    bool accountClient_card_fieldsWanted_vehicleTire;
    bool accountClient_card_fieldsWanted_vehicleYear;
    bool accountClient_card_fieldsWanted_vehicleColor;
    bool accountClient_card_fieldsWanted_vehiclePrice;
    bool accountClient_card_fieldsWanted_vehicleStock;
    bool accountClient_card_fieldsWanted_vehicleTotal;
    bool accountClient_card_fieldsWanted_vehicleBudget;
    bool accountClient_card_fieldsWanted_vehicleEngine;
    bool accountClient_card_fieldsWanted_vehicleLength;
    bool accountClient_card_fieldsWanted_vehicleProfit;
    bool accountClient_card_fieldsWanted_vehicleSuffix;
    bool accountClient_card_fieldsWanted_vehicleWeight;
    bool accountClient_card_fieldsWanted_vehicleComment;
    bool accountClient_card_fieldsWanted_vehicleMileage;
    bool accountClient_card_fieldsWanted_vehiclePayment;
    bool accountClient_card_fieldsWanted_vehicleBodyType;
    bool accountClient_card_fieldsWanted_vehicleCategory;
    bool accountClient_card_fieldsWanted_vehicleModality;
    bool accountClient_card_fieldsWanted_vehicleResidual;
    bool accountClient_card_fieldsWanted_vehicleSleeping;
    bool accountClient_card_fieldsWanted_vehicleWarranty;
    bool accountClient_card_fieldsWanted_vehicleFrequency;
    bool accountClient_card_fieldsWanted_vehicleAccessories;
    bool accountClient_card_fieldsWanted_vehicleCategory_rv;
    bool accountClient_card_fieldsWanted_vehiclePreparation;
    bool accountClient_card_fieldsWanted_vehicleInitial_cash;
    bool accountClient_card_fieldsWanted_vehicleOffer_number;
    bool accountClient_card_fieldsWanted_vehicleOrder_number;
    bool accountClient_card_fieldsWanted_vehicleTransmission;
    bool accountClient_card_fieldsWanted_vehicleDocumentation;
    bool accountClient_card_fieldsWanted_vehicleDrivingWheels;
    bool accountClient_card_fieldsWanted_vehicleColor_exterior;
    bool accountClient_card_fieldsWanted_vehicleColor_interior;
    bool accountClient_card_fieldsWanted_vehicleAllowed_mileage;
    bool accountClient_card_fieldsWanted_vehicleSecurity_deposit;
    bool accountClient_card_fieldsWanted_vehicleEnd_contract_date;
    bool accountClient_card_fieldsExchange_vehicleVin;
    bool accountClient_card_fieldsExchange_vehicleFuel;
    bool accountClient_card_fieldsExchange_vehicleLink;
    bool accountClient_card_fieldsExchange_vehicleRate;
    bool accountClient_card_fieldsExchange_vehicleTerm;
    bool accountClient_card_fieldsExchange_vehicleYear;
    bool accountClient_card_fieldsExchange_vehicleColor;
    bool accountClient_card_fieldsExchange_vehiclePrice;
    bool accountClient_card_fieldsExchange_vehicleStock;
    bool accountClient_card_fieldsExchange_vehicleValue;
    bool accountClient_card_fieldsExchange_vehicleBudget;
    bool accountClient_card_fieldsExchange_vehicleEngine;
    bool accountClient_card_fieldsExchange_vehicleLength;
    bool accountClient_card_fieldsExchange_vehicleProfit;
    bool accountClient_card_fieldsExchange_vehicleSuffix;
    bool accountClient_card_fieldsExchange_vehicleWeight;
    bool accountClient_card_fieldsExchange_vehicleBalance;
    bool accountClient_card_fieldsExchange_vehicleComment;
    bool accountClient_card_fieldsExchange_vehicleMileage;
    bool accountClient_card_fieldsExchange_vehiclePayment;
    bool accountClient_card_fieldsExchange_vehicleRenewal;
    bool accountClient_card_fieldsExchange_vehicleSold_by;
    bool accountClient_card_fieldsExchange_vehicleBodyType;
    bool accountClient_card_fieldsExchange_vehicleCategory;
    bool accountClient_card_fieldsExchange_vehicleModality;
    bool accountClient_card_fieldsExchange_vehicleResidual;
    bool accountClient_card_fieldsExchange_vehicleSleeping;
    bool accountClient_card_fieldsExchange_vehicleWarranty;
    bool accountClient_card_fieldsExchange_vehicleCondition;
    bool accountClient_card_fieldsExchange_vehicleFrequency;
    bool accountClient_card_fieldsExchange_vehicleIntention;
    bool accountClient_card_fieldsExchange_vehicleRefinance;
    bool accountClient_card_fieldsExchange_vehicleRequested;
    bool accountClient_card_fieldsExchange_vehicleSold_date;
    bool accountClient_card_fieldsExchange_vehicleCategory_rv;
    bool accountClient_card_fieldsExchange_vehicleInstitution;
    bool accountClient_card_fieldsExchange_vehicleInitial_cash;
    bool accountClient_card_fieldsExchange_vehicleOffer_number;
    bool accountClient_card_fieldsExchange_vehicleTransmission;
    bool accountClient_card_fieldsExchange_vehicleDrivingWheels;
    bool accountClient_card_fieldsExchange_vehicleColor_exterior;
    bool accountClient_card_fieldsExchange_vehicleColor_interior;
    bool accountClient_card_fieldsExchange_vehicleAllowed_mileage;
    bool accountClient_card_fieldsExchange_vehicleSecurity_deposit;
    bool accountClient_card_fieldsExchange_vehicleEnd_contract_date;
    bool accountClient_number;
    bool accountConfirmation_appt;
    bool accountCredit;
    bool accountCsi;
    bool accountCsi_used;
    const wchar_t *accountDefault_deliveryman_user_id = 0;
    bool accountDelivered_by;
    bool accountDisable_communication_audio;
    bool accountDuplicates;
    bool accountGuest_action;
    bool accountEmail_client;
    bool accountIn_turn;
    bool accountIn_turn_director_management;
    bool accountLeads_other_division;
    int accountLeadxpress_optionPriority;
    int accountLeadxpress_optionReminderFrequency;
    int accountLeadxpress_optionReminderRecurrence;
    bool accountLeadxpress_optionScheduleAccount;
    bool accountLeadxpress_optionScheduleAdvisor;
    bool accountLimited_audio_access;
    const wchar_t *accountLogo = 0;
    const wchar_t *accountLogo_en = 0;
    bool accountMandatory_coordinate;
    bool accountManually_status;
    const wchar_t *accountMerge_rule = 0;
    int accountMonth_start_day;
    const wchar_t *accountName = 0;
    bool accountNiotext;
    bool accountNiotext_phone;
    const wchar_t *accountPhone = 0;
    bool accountPower_sport;
    bool accountProcess;
    bool accountRecreative_special;
    bool accountResult_date_validation;
    bool accountSale_accessories;
    bool accountSale_by_phone;
    bool accountSale_date_month;
    bool accountSale_table_optionsAccessory_column;
    bool accountSale_table_optionsCommercial_column;
    bool accountSale_table_optionsDivision_grouped_total_column;
    bool accountSale_validation;
    bool accountScan;
    bool accountStock_required_for_sale;
    bool accountTake_over_director;
    bool accountTrade_report;
    bool accountUnrestricted_assignment;
    bool accountUnsubscribe;
    bool accountUntreated_lead;
    bool accountVehicle_model_text;
    bool accountVehicle_text;
    bool accountVerified_sale;
    bool accountVin_decoder;
    const wchar_t *accountWaiting_sale_date = 0;
    bool accountWaiting_sale_option;
    const wchar_t *advisor = 0;
    int j;
    int count_j;
    int lead_id;
    const wchar_t *address = 0;
    bool valid;
    const wchar_t *extension = 0;
    const wchar_t *number = 0;
    bool validated;
    bool mobile;
    const wchar_t *accessories = 0;
    const wchar_t *allowed_odometer = 0;
    int balance;
    const wchar_t *budget_max = 0;
    const wchar_t *budget_min = 0;
    const wchar_t *cash_down = 0;
    const wchar_t *category = 0;
    const wchar_t *category_rv = 0;
    const wchar_t *client_number = 0;
    const wchar_t *color_exterior = 0;
    const wchar_t *color_interior = 0;
    const wchar_t *comment = 0;
    const wchar_t *condition = 0;
    const wchar_t *end_contract_date = 0;
    const wchar_t *end_warranty_date = 0;
    const wchar_t *engine = 0;
    const wchar_t *extended_warranty = 0;
    const wchar_t *fuel = 0;
    const wchar_t *length_max = 0;
    const wchar_t *length_min = 0;
    const wchar_t *license_plate = 0;
    const wchar_t *make = 0;
    const wchar_t *modality = 0;
    const wchar_t *model = 0;
    const wchar_t *odometer = 0;
    const wchar_t *offer_number = 0;
    const wchar_t *v_option = 0;
    const wchar_t *order_number = 0;
    const wchar_t *payment = 0;
    const wchar_t *payment_frequency = 0;
    const wchar_t *preparation = 0;
    const wchar_t *price = 0;
    const wchar_t *profit = 0;
    const wchar_t *purchase_date = 0;
    const wchar_t *rate = 0;
    const wchar_t *recall = 0;
    const wchar_t *recorded_date = 0;
    const wchar_t *residual = 0;
    const wchar_t *security_deposit = 0;
    const wchar_t *sleeping = 0;
    bool sold;
    const wchar_t *sold_by = 0;
    const wchar_t *sold_date = 0;
    const wchar_t *stock = 0;
    const wchar_t *stock_state = 0;
    const wchar_t *term = 0;
    bool tire;
    const wchar_t *transmission = 0;
    const wchar_t *trim = 0;
    const wchar_t *url = 0;
    const wchar_t *value = 0;
    const wchar_t *vin = 0;
    const wchar_t *warranty = 0;
    const wchar_t *weight = 0;
    const wchar_t *year = 0;
    const wchar_t *year_max = 0;
    const wchar_t *year_min = 0;

    linksFirst = jsonResponse.stringOf(L"links.first");
    linksLast = jsonResponse.stringOf(L"links.last");
    linksPrev = jsonResponse.stringOf(L"links.prev");
    linksNext = jsonResponse.stringOf(L"links.next");
    metaCurrent_page = jsonResponse.IntOf(L"meta.current_page");
    metaFrom = jsonResponse.IntOf(L"meta.from");
    metaLast_page = jsonResponse.IntOf(L"meta.last_page");
    metaPath = jsonResponse.stringOf(L"meta.path");
    metaPer_page = jsonResponse.IntOf(L"meta.per_page");
    metaTo = jsonResponse.IntOf(L"meta.to");
    metaTotal = jsonResponse.IntOf(L"meta.total");
    i = 0;
    count_i = jsonResponse.SizeOfArray(L"data");
    while (i < count_i) {
        jsonResponse.put_I(i);
        id = jsonResponse.IntOf(L"data[i].id");
        created_at = jsonResponse.stringOf(L"data[i].created_at");
        updated_at = jsonResponse.stringOf(L"data[i].updated_at");
        account_id = jsonResponse.IntOf(L"data[i].account_id");
        address_line1 = jsonResponse.stringOf(L"data[i].address_line1");
        address_line2 = jsonResponse.stringOf(L"data[i].address_line2");
        appointment_date = jsonResponse.stringOf(L"data[i].appointment_date");
        appt_call = jsonResponse.BoolOf(L"data[i].appt_call");
        available_date = jsonResponse.stringOf(L"data[i].available_date");
        average_spending = jsonResponse.stringOf(L"data[i].average_spending");
        be_back_date = jsonResponse.stringOf(L"data[i].be_back_date");
        birth_date = jsonResponse.stringOf(L"data[i].birth_date");
        business = jsonResponse.stringOf(L"data[i].business");
        call_date = jsonResponse.stringOf(L"data[i].call_date");
        city = jsonResponse.stringOf(L"data[i].city");
        civility = jsonResponse.stringOf(L"data[i].civility");
        code = jsonResponse.stringOf(L"data[i].code");
        country = jsonResponse.stringOf(L"data[i].country");
        csi_date = jsonResponse.stringOf(L"data[i].csi_date");
        delivered_by_id = jsonResponse.stringOf(L"data[i].delivered_by_id");
        delivered_date = jsonResponse.stringOf(L"data[i].delivered_date");
        delivery_date = jsonResponse.stringOf(L"data[i].delivery_date");
        division = jsonResponse.stringOf(L"data[i].division");
        end_service_date = jsonResponse.stringOf(L"data[i].end_service_date");
        first_name = jsonResponse.stringOf(L"data[i].first_name");
        gas = jsonResponse.stringOf(L"data[i].gas");
        gender = jsonResponse.IntOf(L"data[i].gender");
        invoiced = jsonResponse.BoolOf(L"data[i].invoiced");
        last_name = jsonResponse.stringOf(L"data[i].last_name");
        last_visit_date = jsonResponse.stringOf(L"data[i].last_visit_date");
        locale = jsonResponse.stringOf(L"data[i].locale");
        loyalty = jsonResponse.stringOf(L"data[i].loyalty");
        next_visit_date = jsonResponse.stringOf(L"data[i].next_visit_date");
        odometer_last_visit = jsonResponse.stringOf(L"data[i].odometer_last_visit");
        open_work_order_date = jsonResponse.stringOf(L"data[i].open_work_order_date");
        planned_pick_up_date = jsonResponse.stringOf(L"data[i].planned_pick_up_date");
        postal_code = jsonResponse.stringOf(L"data[i].postal_code");
        prepaid = jsonResponse.stringOf(L"data[i].prepaid");
        prepared = jsonResponse.BoolOf(L"data[i].prepared");
        presented_date = jsonResponse.stringOf(L"data[i].presented_date");
        promised_date = jsonResponse.stringOf(L"data[i].promised_date");
        province = jsonResponse.stringOf(L"data[i].province");
        rating = jsonResponse.stringOf(L"data[i].rating");
        reached_client = jsonResponse.BoolOf(L"data[i].reached_client");
        refinanced_date = jsonResponse.stringOf(L"data[i].refinanced_date");
        repair_date = jsonResponse.stringOf(L"data[i].repair_date");
        repair_order = jsonResponse.stringOf(L"data[i].repair_order");
        result = jsonResponse.stringOf(L"data[i].result");
        road_test_date = jsonResponse.stringOf(L"data[i].road_test_date");
        sale_date = jsonResponse.stringOf(L"data[i].sale_date");
        second_contact = jsonResponse.stringOf(L"data[i].second_contact");
        second_contact_civility = jsonResponse.stringOf(L"data[i].second_contact_civility");
        segment = jsonResponse.stringOf(L"data[i].segment");
        service_cleaned = jsonResponse.BoolOf(L"data[i].service_cleaned");
        service_interval_km = jsonResponse.stringOf(L"data[i].service_interval_km");
        service_monthly_km = jsonResponse.stringOf(L"data[i].service_monthly_km");
        service_processIntention = jsonResponse.stringOf(L"data[i].service_process.intention");
        service_processTransport = jsonResponse.stringOf(L"data[i].service_process.transport");
        service_processWalk_around = jsonResponse.stringOf(L"data[i].service_process.walk_around");
        sex = jsonResponse.stringOf(L"data[i].sex");
        source = jsonResponse.stringOf(L"data[i].source");
        status = jsonResponse.stringOf(L"data[i].status");
        storage = jsonResponse.stringOf(L"data[i].storage");
        take_over_date = jsonResponse.stringOf(L"data[i].take_over_date");
        v_type = jsonResponse.stringOf(L"data[i].type");
        unsubscribe_all_date = jsonResponse.stringOf(L"data[i].unsubscribe_all_date");
        unsubscribe_call_date = jsonResponse.stringOf(L"data[i].unsubscribe_call_date");
        unsubscribe_email_date = jsonResponse.stringOf(L"data[i].unsubscribe_email_date");
        unsubscribe_sms_date = jsonResponse.stringOf(L"data[i].unsubscribe_sms_date");
        work_order = jsonResponse.stringOf(L"data[i].work_order");
        accountId = jsonResponse.IntOf(L"data[i].account.id");
        accountCreated_at = jsonResponse.stringOf(L"data[i].account.created_at");
        accountUpdated_at = jsonResponse.stringOf(L"data[i].account.updated_at");
        accountPartner_id = jsonResponse.IntOf(L"data[i].account.partner_id");
        accountActivity_report = jsonResponse.BoolOf(L"data[i].account.activity_report");
        accountCommercial = jsonResponse.BoolOf(L"data[i].account.commercial");
        accountEvent = jsonResponse.BoolOf(L"data[i].account.event");
        accountLeadxpress = jsonResponse.BoolOf(L"data[i].account.leadxpress");
        accountLoyalty = jsonResponse.BoolOf(L"data[i].account.loyalty");
        accountPhone_up = jsonResponse.BoolOf(L"data[i].account.phone_up");
        accountRenewal = jsonResponse.BoolOf(L"data[i].account.renewal");
        accountSale_table = jsonResponse.BoolOf(L"data[i].account.sale_table");
        accountService = jsonResponse.BoolOf(L"data[i].account.service");
        accountWalk_in = jsonResponse.BoolOf(L"data[i].account.walk_in");
        accountWebboost = jsonResponse.BoolOf(L"data[i].account.webboost");
        accountAccount_manager = jsonResponse.BoolOf(L"data[i].account.account_manager");
        accountActivation_date = jsonResponse.stringOf(L"data[i].account.activation_date");
        accountActive = jsonResponse.BoolOf(L"data[i].account.active");
        accountAssigned_lead = jsonResponse.BoolOf(L"data[i].account.assigned_lead");
        accountAuto_renewal = jsonResponse.BoolOf(L"data[i].account.auto_renewal");
        accountAuto_renewal_new = jsonResponse.BoolOf(L"data[i].account.auto_renewal_new");
        accountAuto_renewal_used = jsonResponse.BoolOf(L"data[i].account.auto_renewal_used");
        accountAutomation = jsonResponse.BoolOf(L"data[i].account.automation");
        accountBdc_advisor = jsonResponse.BoolOf(L"data[i].account.bdc_advisor");
        accountCalendar_options = jsonResponse.BoolOf(L"data[i].account.calendar_options");
        accountClient_card_fieldsProcessGas = jsonResponse.BoolOf(L"data[i].account.client_card_fields.process.gas");
        accountClient_card_fieldsProcessRecorded = jsonResponse.BoolOf(L"data[i].account.client_card_fields.process.recorded");
        accountClient_card_fieldsProcessAvailable = jsonResponse.BoolOf(L"data[i].account.client_card_fields.process.available");
        accountClient_card_fieldsProcessDiscounted = jsonResponse.BoolOf(L"data[i].account.client_card_fields.process.discounted");
        accountClient_card_fieldsCommercialProfit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.commercial.profit");
        accountClient_card_fieldsCommercialExclude = jsonResponse.BoolOf(L"data[i].account.client_card_fields.commercial.exclude");
        accountClient_card_fieldsCommercialMeeting = jsonResponse.BoolOf(L"data[i].account.client_card_fields.commercial.meeting");
        accountClient_card_fieldsPerformanceDeposit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.deposit");
        accountClient_card_fieldsPerformanceRefinanced = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.refinanced");
        accountClient_card_fieldsPerformanceDealer_tour = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.dealer_tour");
        accountClient_card_fieldsPerformanceWalk_around = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.walk_around");
        accountClient_card_fieldsPerformanceQualification = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.qualification");
        accountClient_card_fieldsPerformanceTwenty_four_hour = jsonResponse.BoolOf(L"data[i].account.client_card_fields.performance.twenty_four_hour");
        accountClient_card_fieldsGeneral_infoBudget = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.budget");
        accountClient_card_fieldsGeneral_infoSector = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.sector");
        accountClient_card_fieldsGeneral_infoCustom_1 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_1");
        accountClient_card_fieldsGeneral_infoCustom_2 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_2");
        accountClient_card_fieldsGeneral_infoCustom_3 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_3");
        accountClient_card_fieldsGeneral_infoCustom_4 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_4");
        accountClient_card_fieldsGeneral_infoCustom_5 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_5");
        accountClient_card_fieldsGeneral_infoCustom_6 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_6");
        accountClient_card_fieldsGeneral_infoCustom_7 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_7");
        accountClient_card_fieldsGeneral_infoCustom_8 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_8");
        accountClient_card_fieldsGeneral_infoCustom_9 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_9");
        accountClient_card_fieldsGeneral_infoCustom_10 = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.custom_10");
        accountClient_card_fieldsGeneral_infoCommunication_preference = jsonResponse.BoolOf(L"data[i].account.client_card_fields.general_info.communication_preference");
        accountClient_card_fieldsWanted_vehicleVin = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.vin");
        accountClient_card_fieldsWanted_vehicleFuel = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.fuel");
        accountClient_card_fieldsWanted_vehicleRate = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.rate");
        accountClient_card_fieldsWanted_vehicleTerm = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.term");
        accountClient_card_fieldsWanted_vehicleTire = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.tire");
        accountClient_card_fieldsWanted_vehicleYear = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.year");
        accountClient_card_fieldsWanted_vehicleColor = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.color");
        accountClient_card_fieldsWanted_vehiclePrice = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.price");
        accountClient_card_fieldsWanted_vehicleStock = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.stock");
        accountClient_card_fieldsWanted_vehicleTotal = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.total");
        accountClient_card_fieldsWanted_vehicleBudget = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.budget");
        accountClient_card_fieldsWanted_vehicleEngine = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.engine");
        accountClient_card_fieldsWanted_vehicleLength = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.length");
        accountClient_card_fieldsWanted_vehicleProfit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.profit");
        accountClient_card_fieldsWanted_vehicleSuffix = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.suffix");
        accountClient_card_fieldsWanted_vehicleWeight = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.weight");
        accountClient_card_fieldsWanted_vehicleComment = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.comment");
        accountClient_card_fieldsWanted_vehicleMileage = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.mileage");
        accountClient_card_fieldsWanted_vehiclePayment = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.payment");
        accountClient_card_fieldsWanted_vehicleBodyType = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.bodyType");
        accountClient_card_fieldsWanted_vehicleCategory = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.category");
        accountClient_card_fieldsWanted_vehicleModality = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.modality");
        accountClient_card_fieldsWanted_vehicleResidual = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.residual");
        accountClient_card_fieldsWanted_vehicleSleeping = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.sleeping");
        accountClient_card_fieldsWanted_vehicleWarranty = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.warranty");
        accountClient_card_fieldsWanted_vehicleFrequency = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.frequency");
        accountClient_card_fieldsWanted_vehicleAccessories = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.accessories");
        accountClient_card_fieldsWanted_vehicleCategory_rv = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.category_rv");
        accountClient_card_fieldsWanted_vehiclePreparation = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.preparation");
        accountClient_card_fieldsWanted_vehicleInitial_cash = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.initial_cash");
        accountClient_card_fieldsWanted_vehicleOffer_number = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.offer_number");
        accountClient_card_fieldsWanted_vehicleOrder_number = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.order_number");
        accountClient_card_fieldsWanted_vehicleTransmission = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.transmission");
        accountClient_card_fieldsWanted_vehicleDocumentation = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.documentation");
        accountClient_card_fieldsWanted_vehicleDrivingWheels = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.drivingWheels");
        accountClient_card_fieldsWanted_vehicleColor_exterior = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.color_exterior");
        accountClient_card_fieldsWanted_vehicleColor_interior = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.color_interior");
        accountClient_card_fieldsWanted_vehicleAllowed_mileage = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.allowed_mileage");
        accountClient_card_fieldsWanted_vehicleSecurity_deposit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.security_deposit");
        accountClient_card_fieldsWanted_vehicleEnd_contract_date = jsonResponse.BoolOf(L"data[i].account.client_card_fields.wanted_vehicle.end_contract_date");
        accountClient_card_fieldsExchange_vehicleVin = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.vin");
        accountClient_card_fieldsExchange_vehicleFuel = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.fuel");
        accountClient_card_fieldsExchange_vehicleLink = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.link");
        accountClient_card_fieldsExchange_vehicleRate = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.rate");
        accountClient_card_fieldsExchange_vehicleTerm = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.term");
        accountClient_card_fieldsExchange_vehicleYear = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.year");
        accountClient_card_fieldsExchange_vehicleColor = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.color");
        accountClient_card_fieldsExchange_vehiclePrice = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.price");
        accountClient_card_fieldsExchange_vehicleStock = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.stock");
        accountClient_card_fieldsExchange_vehicleValue = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.value");
        accountClient_card_fieldsExchange_vehicleBudget = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.budget");
        accountClient_card_fieldsExchange_vehicleEngine = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.engine");
        accountClient_card_fieldsExchange_vehicleLength = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.length");
        accountClient_card_fieldsExchange_vehicleProfit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.profit");
        accountClient_card_fieldsExchange_vehicleSuffix = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.suffix");
        accountClient_card_fieldsExchange_vehicleWeight = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.weight");
        accountClient_card_fieldsExchange_vehicleBalance = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.balance");
        accountClient_card_fieldsExchange_vehicleComment = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.comment");
        accountClient_card_fieldsExchange_vehicleMileage = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.mileage");
        accountClient_card_fieldsExchange_vehiclePayment = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.payment");
        accountClient_card_fieldsExchange_vehicleRenewal = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.renewal");
        accountClient_card_fieldsExchange_vehicleSold_by = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.sold_by");
        accountClient_card_fieldsExchange_vehicleBodyType = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.bodyType");
        accountClient_card_fieldsExchange_vehicleCategory = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.category");
        accountClient_card_fieldsExchange_vehicleModality = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.modality");
        accountClient_card_fieldsExchange_vehicleResidual = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.residual");
        accountClient_card_fieldsExchange_vehicleSleeping = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.sleeping");
        accountClient_card_fieldsExchange_vehicleWarranty = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.warranty");
        accountClient_card_fieldsExchange_vehicleCondition = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.condition");
        accountClient_card_fieldsExchange_vehicleFrequency = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.frequency");
        accountClient_card_fieldsExchange_vehicleIntention = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.intention");
        accountClient_card_fieldsExchange_vehicleRefinance = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.refinance");
        accountClient_card_fieldsExchange_vehicleRequested = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.requested");
        accountClient_card_fieldsExchange_vehicleSold_date = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.sold_date");
        accountClient_card_fieldsExchange_vehicleCategory_rv = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.category_rv");
        accountClient_card_fieldsExchange_vehicleInstitution = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.institution");
        accountClient_card_fieldsExchange_vehicleInitial_cash = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.initial_cash");
        accountClient_card_fieldsExchange_vehicleOffer_number = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.offer_number");
        accountClient_card_fieldsExchange_vehicleTransmission = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.transmission");
        accountClient_card_fieldsExchange_vehicleDrivingWheels = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.drivingWheels");
        accountClient_card_fieldsExchange_vehicleColor_exterior = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.color_exterior");
        accountClient_card_fieldsExchange_vehicleColor_interior = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.color_interior");
        accountClient_card_fieldsExchange_vehicleAllowed_mileage = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.allowed_mileage");
        accountClient_card_fieldsExchange_vehicleSecurity_deposit = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.security_deposit");
        accountClient_card_fieldsExchange_vehicleEnd_contract_date = jsonResponse.BoolOf(L"data[i].account.client_card_fields.exchange_vehicle.end_contract_date");
        accountClient_number = jsonResponse.BoolOf(L"data[i].account.client_number");
        accountConfirmation_appt = jsonResponse.BoolOf(L"data[i].account.confirmation_appt");
        accountCredit = jsonResponse.BoolOf(L"data[i].account.credit");
        accountCsi = jsonResponse.BoolOf(L"data[i].account.csi");
        accountCsi_used = jsonResponse.BoolOf(L"data[i].account.csi_used");
        accountDefault_deliveryman_user_id = jsonResponse.stringOf(L"data[i].account.default_deliveryman_user_id");
        accountDelivered_by = jsonResponse.BoolOf(L"data[i].account.delivered_by");
        accountDisable_communication_audio = jsonResponse.BoolOf(L"data[i].account.disable_communication_audio");
        accountDuplicates = jsonResponse.BoolOf(L"data[i].account.duplicates");
        accountGuest_action = jsonResponse.BoolOf(L"data[i].account.guest_action");
        accountEmail_client = jsonResponse.BoolOf(L"data[i].account.email_client");
        accountIn_turn = jsonResponse.BoolOf(L"data[i].account.in_turn");
        accountIn_turn_director_management = jsonResponse.BoolOf(L"data[i].account.in_turn_director_management");
        accountLeads_other_division = jsonResponse.BoolOf(L"data[i].account.leads_other_division");
        accountLeadxpress_optionPriority = jsonResponse.IntOf(L"data[i].account.leadxpress_option.priority");
        accountLeadxpress_optionReminderFrequency = jsonResponse.IntOf(L"data[i].account.leadxpress_option.reminder.frequency");
        accountLeadxpress_optionReminderRecurrence = jsonResponse.IntOf(L"data[i].account.leadxpress_option.reminder.recurrence");
        accountLeadxpress_optionScheduleAccount = jsonResponse.BoolOf(L"data[i].account.leadxpress_option.schedule.account");
        accountLeadxpress_optionScheduleAdvisor = jsonResponse.BoolOf(L"data[i].account.leadxpress_option.schedule.advisor");
        accountLimited_audio_access = jsonResponse.BoolOf(L"data[i].account.limited_audio_access");
        accountLogo = jsonResponse.stringOf(L"data[i].account.logo");
        accountLogo_en = jsonResponse.stringOf(L"data[i].account.logo_en");
        accountMandatory_coordinate = jsonResponse.BoolOf(L"data[i].account.mandatory_coordinate");
        accountManually_status = jsonResponse.BoolOf(L"data[i].account.manually_status");
        accountMerge_rule = jsonResponse.stringOf(L"data[i].account.merge_rule");
        accountMonth_start_day = jsonResponse.IntOf(L"data[i].account.month_start_day");
        accountName = jsonResponse.stringOf(L"data[i].account.name");
        accountNiotext = jsonResponse.BoolOf(L"data[i].account.niotext");
        accountNiotext_phone = jsonResponse.BoolOf(L"data[i].account.niotext_phone");
        accountPhone = jsonResponse.stringOf(L"data[i].account.phone");
        accountPower_sport = jsonResponse.BoolOf(L"data[i].account.power_sport");
        accountProcess = jsonResponse.BoolOf(L"data[i].account.process");
        accountRecreative_special = jsonResponse.BoolOf(L"data[i].account.recreative_special");
        accountResult_date_validation = jsonResponse.BoolOf(L"data[i].account.result_date_validation");
        accountSale_accessories = jsonResponse.BoolOf(L"data[i].account.sale_accessories");
        accountSale_by_phone = jsonResponse.BoolOf(L"data[i].account.sale_by_phone");
        accountSale_date_month = jsonResponse.BoolOf(L"data[i].account.sale_date_month");
        accountSale_table_optionsAccessory_column = jsonResponse.BoolOf(L"data[i].account.sale_table_options.accessory_column");
        accountSale_table_optionsCommercial_column = jsonResponse.BoolOf(L"data[i].account.sale_table_options.commercial_column");
        accountSale_table_optionsDivision_grouped_total_column = jsonResponse.BoolOf(L"data[i].account.sale_table_options.division_grouped_total_column");
        accountSale_validation = jsonResponse.BoolOf(L"data[i].account.sale_validation");
        accountScan = jsonResponse.BoolOf(L"data[i].account.scan");
        accountStock_required_for_sale = jsonResponse.BoolOf(L"data[i].account.stock_required_for_sale");
        accountTake_over_director = jsonResponse.BoolOf(L"data[i].account.take_over_director");
        accountTrade_report = jsonResponse.BoolOf(L"data[i].account.trade_report");
        accountUnrestricted_assignment = jsonResponse.BoolOf(L"data[i].account.unrestricted_assignment");
        accountUnsubscribe = jsonResponse.BoolOf(L"data[i].account.unsubscribe");
        accountUntreated_lead = jsonResponse.BoolOf(L"data[i].account.untreated_lead");
        accountVehicle_model_text = jsonResponse.BoolOf(L"data[i].account.vehicle_model_text");
        accountVehicle_text = jsonResponse.BoolOf(L"data[i].account.vehicle_text");
        accountVerified_sale = jsonResponse.BoolOf(L"data[i].account.verified_sale");
        accountVin_decoder = jsonResponse.BoolOf(L"data[i].account.vin_decoder");
        accountWaiting_sale_date = jsonResponse.stringOf(L"data[i].account.waiting_sale_date");
        accountWaiting_sale_option = jsonResponse.BoolOf(L"data[i].account.waiting_sale_option");
        advisor = jsonResponse.stringOf(L"data[i].advisor");
        j = 0;
        count_j = jsonResponse.SizeOfArray(L"data[i].emails");
        while (j < count_j) {
            jsonResponse.put_J(j);
            id = jsonResponse.IntOf(L"data[i].emails[j].id");
            created_at = jsonResponse.stringOf(L"data[i].emails[j].created_at");
            updated_at = jsonResponse.stringOf(L"data[i].emails[j].updated_at");
            lead_id = jsonResponse.IntOf(L"data[i].emails[j].lead_id");
            address = jsonResponse.stringOf(L"data[i].emails[j].address");
            v_type = jsonResponse.stringOf(L"data[i].emails[j].type");
            valid = jsonResponse.BoolOf(L"data[i].emails[j].valid");
            j = j + 1;
        }

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

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

        j = 0;
        count_j = jsonResponse.SizeOfArray(L"data[i].products");
        while (j < count_j) {
            jsonResponse.put_J(j);
            j = j + 1;
        }

        i = i + 1;
    }
    }