Chilkat Examples

ChilkatHOME.NET Core C#Android™AutoItCC#C++Chilkat2-PythonCkPythonClassic ASPDataFlexDelphi ActiveXDelphi DLLGoJavaLianjaMono C#Node.jsObjective-CPHP ActiveXPHP ExtensionPerlPowerBuilderPowerShellPureBasicRubySQL ServerSwift 2Swift 3,4,5...TclUnicode CUnicode C++VB.NETVBScriptVisual Basic 6.0Visual FoxProXojo Plugin

Unicode C++ Web API Examples

Primary Categories

ABN AMRO
AWS Secrets Manager
AWS Security Token Service
AWS Translate
Activix CRM
Adyen
Alibaba Cloud OSS
Amazon Cognito
Amazon DynamoDB
Amazon MWS
Amazon Pay
Amazon Rekognition
Amazon SP-API
Amazon Voice ID
Aruba Fatturazione
Azure Maps
Azure Monitor
Azure OAuth2
Azure Storage Accounts
Backblaze S3
Banco Inter
Belgian eHealth Platform
Bitfinex v2 REST
Bluzone
BrickLink
Bunny CDN
CallRail
CardConnect
Cerved
ClickBank
Clickatell
Cloudfare
Constant Contact
DocuSign
Duo Auth MFA
ETrade
Ecwid
Egypt ITIDA
Egypt eReceipt
Etsy
Facebook
Faire
Frame.io
GeoOp
GetHarvest
Global Payments
Google People
Google Search Console
Google Translate
Google Vision
Hungary NAV Invoicing
IBM Text to Speech
Ibanity
IntakeQ
JCC Cyprus
Jira
Lightspeed
MYOB
Magento
Mailgun
Malaysia MyInvois

Mastercard
MedTunnel
MercadoLibre
MessageMedia
Microsoft Calendar
Microsoft Group
Microsoft Tasks and Plans
Microsoft Teams
Moody's
Okta OAuth/OIDC
OneLogin OIDC
OneNote
OpenAI ChatGPT
PRODA
PayPal
Paynow.pl
Peoplevox
Populi
QuickBooks
Rabobank
Refinitiv
Royal Mail OBA
SCiS Schools Catalogue
SII Chile
SMSAPI
SOAP finkok.com
Salesforce
SendGrid
Shippo
Shopify
Shopware
Shopware 6
SimpleTexting
Square
Stripe
SugarCRM
TicketBAI
TikTok Shop
Trello
Twilio
Twitter API v2
Twitter v1
UPS
UniPin
VoiceBase
Vonage
WaTrend
Walmart v3
Wasabi
WhatsApp
WiX
WooCommerce
WordPress
Xero
Yahoo Mail
Yapily
Yousign
ZATCA
Zendesk
Zoom
_Miscellaneous_
eBay
effectconnect
hacienda.go.cr

 

 

 

(Unicode C++) Activix CRM Create a Lead

Demonstrates how to create a lead and returns the created lead.

For more information, see https://docs.crm.activix.ca/api/resources/lead

Chilkat C/C++ Library Downloads

MS Visual C/C++

Linux/CentOS C/C++

Alpine Linux C/C++

MAC OS X C/C++

armhf/aarch64 C/C++

C++ Builder

iOS C/C++

Android C/C++

Solaris C/C++

MinGW C/C++

#include <CkHttpW.h>
#include <CkJsonObjectW.h>
#include <CkHttpResponseW.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");

    // The following JSON is sent in the request body:

    // {
    //   "account_id": "MY_ACCOUNT_ID",
    //   "first_name": "John",
    //   "last_name": "Doe",
    //   "type": "email",
    //   "advisor": {
    //     "first_name": "John",
    //     "last_name": "Doe"
    //   },
    //   "emails": [
    //     {
    //       "address": "hello@example.com",
    //       "type": "home"
    //     }
    //   ],
    //   "phones": [
    //     {
    //       "number": "+15144321214",
    //       "extension": 12345,
    //       "type": "home"
    //     }
    //   ],
    //   "vehicles": [
    //     {
    //       "make": "Aston Martin",
    //       "model": "DB11",
    //       "year": 2018,
    //       "type": "wanted"
    //     }
    //   ]
    // }

    // Use this online tool to generate the code from sample JSON: 
    // Generate Code to Create JSON

    CkJsonObjectW jsonRequestBody;
    jsonRequestBody.UpdateString(L"account_id",L"MY_ACCOUNT_ID");
    jsonRequestBody.UpdateString(L"first_name",L"John");
    jsonRequestBody.UpdateString(L"last_name",L"Doe");
    jsonRequestBody.UpdateString(L"type",L"email");
    jsonRequestBody.UpdateString(L"advisor.first_name",L"John");
    jsonRequestBody.UpdateString(L"advisor.last_name",L"Doe");
    jsonRequestBody.UpdateString(L"emails[0].address",L"hello@example.com");
    jsonRequestBody.UpdateString(L"emails[0].type",L"home");
    jsonRequestBody.UpdateString(L"phones[0].number",L"+15144321214");
    jsonRequestBody.UpdateInt(L"phones[0].extension",12345);
    jsonRequestBody.UpdateString(L"phones[0].type",L"home");
    jsonRequestBody.UpdateString(L"vehicles[0].make",L"Aston Martin");
    jsonRequestBody.UpdateString(L"vehicles[0].model",L"DB11");
    jsonRequestBody.UpdateInt(L"vehicles[0].year",2018);
    jsonRequestBody.UpdateString(L"vehicles[0].type",L"wanted");

    const wchar_t *url = L"https://crm.activix.ca/api/v2/leads";

    CkHttpResponseW *resp = http.PText(L"POST",url,jsonRequestBody.emit(),L"utf-8",L"application/json",false,false);
    if (http.get_LastMethodSuccess() != true) {
        wprintf(L"%s\n",http.lastErrorText());
        return;
    }

    wprintf(L"Response Status Code: %d\n",resp->get_StatusCode());

    CkJsonObjectW jsonResponse;
    jsonResponse.Load(resp->bodyStr());
    jsonResponse.put_EmitCompact(false);
    wprintf(L"%s\n",jsonResponse.emit());

    if (resp->get_StatusCode() >= 300) {
        wprintf(L"Failed.\n");
        delete resp;
        return;
    }

    delete resp;

    // 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;
    const wchar_t *dataCreated_at = 0;
    const wchar_t *dataUpdated_at = 0;
    int dataAccount_id;
    const wchar_t *dataAddress_line1 = 0;
    const wchar_t *dataAddress_line2 = 0;
    const wchar_t *dataAppointment_date = 0;
    const wchar_t *dataAppt_call = 0;
    const wchar_t *dataAvailable_date = 0;
    const wchar_t *dataAverage_spending = 0;
    const wchar_t *dataBe_back_date = 0;
    const wchar_t *dataBirth_date = 0;
    const wchar_t *dataBusiness = 0;
    const wchar_t *dataCall_date = 0;
    const wchar_t *dataCity = 0;
    const wchar_t *dataCivility = 0;
    const wchar_t *dataCode = 0;
    const wchar_t *dataCountry = 0;
    const wchar_t *dataCsi_date = 0;
    const wchar_t *dataDelivered_by_id = 0;
    const wchar_t *dataDelivered_date = 0;
    const wchar_t *dataDelivery_date = 0;
    const wchar_t *dataDivision = 0;
    const wchar_t *dataEnd_service_date = 0;
    const wchar_t *dataFirst_name = 0;
    const wchar_t *dataGas = 0;
    int dataGender;
    const wchar_t *dataInvoiced = 0;
    const wchar_t *dataLast_name = 0;
    const wchar_t *dataLast_visit_date = 0;
    const wchar_t *dataLocale = 0;
    const wchar_t *dataLoyalty = 0;
    const wchar_t *dataNext_visit_date = 0;
    const wchar_t *dataOdometer_last_visit = 0;
    const wchar_t *dataOpen_work_order_date = 0;
    const wchar_t *dataPlanned_pick_up_date = 0;
    const wchar_t *dataPostal_code = 0;
    const wchar_t *dataPrepaid = 0;
    const wchar_t *dataPrepared = 0;
    const wchar_t *dataPresented_date = 0;
    const wchar_t *dataPromised_date = 0;
    const wchar_t *dataProvince = 0;
    const wchar_t *dataRating = 0;
    const wchar_t *dataReached_client = 0;
    const wchar_t *dataRefinanced_date = 0;
    const wchar_t *dataRepair_date = 0;
    const wchar_t *dataRepair_order = 0;
    const wchar_t *dataResult = 0;
    const wchar_t *dataRoad_test_date = 0;
    const wchar_t *dataSale_date = 0;
    const wchar_t *dataSecond_contact = 0;
    const wchar_t *dataSecond_contact_civility = 0;
    const wchar_t *dataSegment = 0;
    const wchar_t *dataService_cleaned = 0;
    const wchar_t *dataService_interval_km = 0;
    const wchar_t *dataService_monthly_km = 0;
    const wchar_t *dataSex = 0;
    const wchar_t *dataSource = 0;
    const wchar_t *dataStatus = 0;
    const wchar_t *dataStorage = 0;
    const wchar_t *dataTake_over_date = 0;
    const wchar_t *dataType = 0;
    const wchar_t *dataUnsubscribe_all_date = 0;
    const wchar_t *dataUnsubscribe_call_date = 0;
    const wchar_t *dataUnsubscribe_email_date = 0;
    const wchar_t *dataUnsubscribe_sms_date = 0;
    const wchar_t *dataWork_order = 0;
    int dataAccountId;
    const wchar_t *dataAccountCreated_at = 0;
    const wchar_t *dataAccountUpdated_at = 0;
    int dataAccountPartner_id;
    bool dataAccountActivity_report;
    bool dataAccountCommercial;
    bool dataAccountEvent;
    bool dataAccountLeadxpress;
    bool dataAccountLoyalty;
    bool dataAccountPhone_up;
    bool dataAccountRenewal;
    bool dataAccountSale_table;
    bool dataAccountService;
    bool dataAccountWalk_in;
    bool dataAccountWebboost;
    bool dataAccountAccount_manager;
    const wchar_t *dataAccountActivation_date = 0;
    bool dataAccountActive;
    bool dataAccountAssigned_lead;
    bool dataAccountAuto_renewal;
    bool dataAccountAuto_renewal_new;
    bool dataAccountAuto_renewal_used;
    bool dataAccountAutomation;
    bool dataAccountBdc_advisor;
    bool dataAccountCalendar_options;
    bool dataAccountClient_card_fieldsProcessGas;
    bool dataAccountClient_card_fieldsProcessRecorded;
    bool dataAccountClient_card_fieldsProcessAvailable;
    bool dataAccountClient_card_fieldsProcessDiscounted;
    bool dataAccountClient_card_fieldsCommercialProfit;
    bool dataAccountClient_card_fieldsCommercialExclude;
    bool dataAccountClient_card_fieldsCommercialMeeting;
    bool dataAccountClient_card_fieldsPerformanceDeposit;
    bool dataAccountClient_card_fieldsPerformanceRefinanced;
    bool dataAccountClient_card_fieldsPerformanceDealer_tour;
    bool dataAccountClient_card_fieldsPerformanceWalk_around;
    bool dataAccountClient_card_fieldsPerformanceQualification;
    bool dataAccountClient_card_fieldsPerformanceTwenty_four_hour;
    bool dataAccountClient_card_fieldsGeneral_infoBudget;
    bool dataAccountClient_card_fieldsGeneral_infoSector;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_1;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_2;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_3;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_4;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_5;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_6;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_7;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_8;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_9;
    bool dataAccountClient_card_fieldsGeneral_infoCustom_10;
    bool dataAccountClient_card_fieldsGeneral_infoCommunication_preference;
    bool dataAccountClient_card_fieldsWanted_vehicleVin;
    bool dataAccountClient_card_fieldsWanted_vehicleFuel;
    bool dataAccountClient_card_fieldsWanted_vehicleRate;
    bool dataAccountClient_card_fieldsWanted_vehicleTerm;
    bool dataAccountClient_card_fieldsWanted_vehicleTire;
    bool dataAccountClient_card_fieldsWanted_vehicleYear;
    bool dataAccountClient_card_fieldsWanted_vehicleColor;
    bool dataAccountClient_card_fieldsWanted_vehiclePrice;
    bool dataAccountClient_card_fieldsWanted_vehicleStock;
    bool dataAccountClient_card_fieldsWanted_vehicleTotal;
    bool dataAccountClient_card_fieldsWanted_vehicleBudget;
    bool dataAccountClient_card_fieldsWanted_vehicleEngine;
    bool dataAccountClient_card_fieldsWanted_vehicleLength;
    bool dataAccountClient_card_fieldsWanted_vehicleProfit;
    bool dataAccountClient_card_fieldsWanted_vehicleSuffix;
    bool dataAccountClient_card_fieldsWanted_vehicleWeight;
    bool dataAccountClient_card_fieldsWanted_vehicleComment;
    bool dataAccountClient_card_fieldsWanted_vehicleMileage;
    bool dataAccountClient_card_fieldsWanted_vehiclePayment;
    bool dataAccountClient_card_fieldsWanted_vehicleBodyType;
    bool dataAccountClient_card_fieldsWanted_vehicleCategory;
    bool dataAccountClient_card_fieldsWanted_vehicleModality;
    bool dataAccountClient_card_fieldsWanted_vehicleResidual;
    bool dataAccountClient_card_fieldsWanted_vehicleSleeping;
    bool dataAccountClient_card_fieldsWanted_vehicleWarranty;
    bool dataAccountClient_card_fieldsWanted_vehicleFrequency;
    bool dataAccountClient_card_fieldsWanted_vehicleAccessories;
    bool dataAccountClient_card_fieldsWanted_vehicleCategory_rv;
    bool dataAccountClient_card_fieldsWanted_vehiclePreparation;
    bool dataAccountClient_card_fieldsWanted_vehicleInitial_cash;
    bool dataAccountClient_card_fieldsWanted_vehicleOffer_number;
    bool dataAccountClient_card_fieldsWanted_vehicleOrder_number;
    bool dataAccountClient_card_fieldsWanted_vehicleTransmission;
    bool dataAccountClient_card_fieldsWanted_vehicleDocumentation;
    bool dataAccountClient_card_fieldsWanted_vehicleDrivingWheels;
    bool dataAccountClient_card_fieldsWanted_vehicleColor_exterior;
    bool dataAccountClient_card_fieldsWanted_vehicleColor_interior;
    bool dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage;
    bool dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit;
    bool dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date;
    bool dataAccountClient_card_fieldsExchange_vehicleVin;
    bool dataAccountClient_card_fieldsExchange_vehicleFuel;
    bool dataAccountClient_card_fieldsExchange_vehicleLink;
    bool dataAccountClient_card_fieldsExchange_vehicleRate;
    bool dataAccountClient_card_fieldsExchange_vehicleTerm;
    bool dataAccountClient_card_fieldsExchange_vehicleYear;
    bool dataAccountClient_card_fieldsExchange_vehicleColor;
    bool dataAccountClient_card_fieldsExchange_vehiclePrice;
    bool dataAccountClient_card_fieldsExchange_vehicleStock;
    bool dataAccountClient_card_fieldsExchange_vehicleValue;
    bool dataAccountClient_card_fieldsExchange_vehicleBudget;
    bool dataAccountClient_card_fieldsExchange_vehicleEngine;
    bool dataAccountClient_card_fieldsExchange_vehicleLength;
    bool dataAccountClient_card_fieldsExchange_vehicleProfit;
    bool dataAccountClient_card_fieldsExchange_vehicleSuffix;
    bool dataAccountClient_card_fieldsExchange_vehicleWeight;
    bool dataAccountClient_card_fieldsExchange_vehicleBalance;
    bool dataAccountClient_card_fieldsExchange_vehicleComment;
    bool dataAccountClient_card_fieldsExchange_vehicleMileage;
    bool dataAccountClient_card_fieldsExchange_vehiclePayment;
    bool dataAccountClient_card_fieldsExchange_vehicleRenewal;
    bool dataAccountClient_card_fieldsExchange_vehicleSold_by;
    bool dataAccountClient_card_fieldsExchange_vehicleBodyType;
    bool dataAccountClient_card_fieldsExchange_vehicleCategory;
    bool dataAccountClient_card_fieldsExchange_vehicleModality;
    bool dataAccountClient_card_fieldsExchange_vehicleResidual;
    bool dataAccountClient_card_fieldsExchange_vehicleSleeping;
    bool dataAccountClient_card_fieldsExchange_vehicleWarranty;
    bool dataAccountClient_card_fieldsExchange_vehicleCondition;
    bool dataAccountClient_card_fieldsExchange_vehicleFrequency;
    bool dataAccountClient_card_fieldsExchange_vehicleIntention;
    bool dataAccountClient_card_fieldsExchange_vehicleRefinance;
    bool dataAccountClient_card_fieldsExchange_vehicleRequested;
    bool dataAccountClient_card_fieldsExchange_vehicleSold_date;
    bool dataAccountClient_card_fieldsExchange_vehicleCategory_rv;
    bool dataAccountClient_card_fieldsExchange_vehicleInstitution;
    bool dataAccountClient_card_fieldsExchange_vehicleInitial_cash;
    bool dataAccountClient_card_fieldsExchange_vehicleOffer_number;
    bool dataAccountClient_card_fieldsExchange_vehicleTransmission;
    bool dataAccountClient_card_fieldsExchange_vehicleDrivingWheels;
    bool dataAccountClient_card_fieldsExchange_vehicleColor_exterior;
    bool dataAccountClient_card_fieldsExchange_vehicleColor_interior;
    bool dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage;
    bool dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit;
    bool dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date;
    bool dataAccountClient_number;
    bool dataAccountConfirmation_appt;
    bool dataAccountCredit;
    bool dataAccountCsi;
    bool dataAccountCsi_used;
    const wchar_t *dataAccountDefault_deliveryman_user_id = 0;
    bool dataAccountDelivered_by;
    bool dataAccountDisable_communication_audio;
    bool dataAccountDuplicates;
    bool dataAccountGuest_action;
    bool dataAccountEmail_client;
    bool dataAccountIn_turn;
    bool dataAccountIn_turn_director_management;
    bool dataAccountLeads_other_division;
    int dataAccountLeadxpress_optionPriority;
    int dataAccountLeadxpress_optionReminderFrequency;
    int dataAccountLeadxpress_optionReminderRecurrence;
    bool dataAccountLeadxpress_optionScheduleAccount;
    bool dataAccountLeadxpress_optionScheduleAdvisor;
    bool dataAccountLimited_audio_access;
    const wchar_t *dataAccountLogo = 0;
    const wchar_t *dataAccountLogo_en = 0;
    bool dataAccountMandatory_coordinate;
    bool dataAccountManually_status;
    const wchar_t *dataAccountMerge_rule = 0;
    int dataAccountMonth_start_day;
    const wchar_t *dataAccountName = 0;
    bool dataAccountNiotext;
    bool dataAccountNiotext_phone;
    const wchar_t *dataAccountPhone = 0;
    bool dataAccountPower_sport;
    bool dataAccountProcess;
    bool dataAccountRecreative_special;
    bool dataAccountResult_date_validation;
    bool dataAccountSale_accessories;
    bool dataAccountSale_by_phone;
    bool dataAccountSale_date_month;
    bool dataAccountSale_table_optionsAccessory_column;
    bool dataAccountSale_table_optionsCommercial_column;
    bool dataAccountSale_table_optionsDivision_grouped_total_column;
    bool dataAccountSale_validation;
    bool dataAccountScan;
    bool dataAccountStock_required_for_sale;
    bool dataAccountTake_over_director;
    bool dataAccountTrade_report;
    bool dataAccountUnrestricted_assignment;
    bool dataAccountUnsubscribe;
    bool dataAccountUntreated_lead;
    bool dataAccountVehicle_model_text;
    bool dataAccountVehicle_text;
    bool dataAccountVerified_sale;
    bool dataAccountVin_decoder;
    const wchar_t *dataAccountWaiting_sale_date = 0;
    bool dataAccountWaiting_sale_option;
    const wchar_t *dataAdvisor = 0;
    const wchar_t *dataBdc = 0;
    const wchar_t *dataCommercial = 0;
    const wchar_t *dataService_advisor = 0;
    const wchar_t *dataService_agent = 0;
    int i;
    int count_i;
    int id;
    const wchar_t *created_at = 0;
    const wchar_t *updated_at = 0;
    int lead_id;
    const wchar_t *address = 0;
    const wchar_t *v_type = 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;

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

    i = 0;
    count_i = jsonResponse.SizeOfArray(L"data.emails");
    while (i < count_i) {
        jsonResponse.put_I(i);
        id = jsonResponse.IntOf(L"data.emails[i].id");
        created_at = jsonResponse.stringOf(L"data.emails[i].created_at");
        updated_at = jsonResponse.stringOf(L"data.emails[i].updated_at");
        lead_id = jsonResponse.IntOf(L"data.emails[i].lead_id");
        address = jsonResponse.stringOf(L"data.emails[i].address");
        v_type = jsonResponse.stringOf(L"data.emails[i].type");
        valid = jsonResponse.BoolOf(L"data.emails[i].valid");
        i = i + 1;
    }

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

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

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

 

© 2000-2024 Chilkat Software, Inc. All Rights Reserved.