Sample code for 30+ languages & platforms
Unicode C

Activix CRM Create a Lead

See more Activix CRM Examples

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

Chilkat Unicode C Downloads

Unicode C
#include <C_CkHttpW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>

void ChilkatSample(void)
    {
    BOOL success;
    HCkHttpW http;
    HCkJsonObjectW jsonRequestBody;
    const wchar_t *url;
    HCkHttpResponseW resp;
    HCkJsonObjectW jsonResponse;
    int dataId;
    const wchar_t *dataCreated_at;
    const wchar_t *dataUpdated_at;
    int dataAccount_id;
    const wchar_t *dataAddress_line1;
    const wchar_t *dataAddress_line2;
    const wchar_t *dataAppointment_date;
    const wchar_t *dataAppt_call;
    const wchar_t *dataAvailable_date;
    const wchar_t *dataAverage_spending;
    const wchar_t *dataBe_back_date;
    const wchar_t *dataBirth_date;
    const wchar_t *dataBusiness;
    const wchar_t *dataCall_date;
    const wchar_t *dataCity;
    const wchar_t *dataCivility;
    const wchar_t *dataCode;
    const wchar_t *dataCountry;
    const wchar_t *dataCsi_date;
    const wchar_t *dataDelivered_by_id;
    const wchar_t *dataDelivered_date;
    const wchar_t *dataDelivery_date;
    const wchar_t *dataDivision;
    const wchar_t *dataEnd_service_date;
    const wchar_t *dataFirst_name;
    const wchar_t *dataGas;
    int dataGender;
    const wchar_t *dataInvoiced;
    const wchar_t *dataLast_name;
    const wchar_t *dataLast_visit_date;
    const wchar_t *dataLocale;
    const wchar_t *dataLoyalty;
    const wchar_t *dataNext_visit_date;
    const wchar_t *dataOdometer_last_visit;
    const wchar_t *dataOpen_work_order_date;
    const wchar_t *dataPlanned_pick_up_date;
    const wchar_t *dataPostal_code;
    const wchar_t *dataPrepaid;
    const wchar_t *dataPrepared;
    const wchar_t *dataPresented_date;
    const wchar_t *dataPromised_date;
    const wchar_t *dataProvince;
    const wchar_t *dataRating;
    const wchar_t *dataReached_client;
    const wchar_t *dataRefinanced_date;
    const wchar_t *dataRepair_date;
    const wchar_t *dataRepair_order;
    const wchar_t *dataResult;
    const wchar_t *dataRoad_test_date;
    const wchar_t *dataSale_date;
    const wchar_t *dataSecond_contact;
    const wchar_t *dataSecond_contact_civility;
    const wchar_t *dataSegment;
    const wchar_t *dataService_cleaned;
    const wchar_t *dataService_interval_km;
    const wchar_t *dataService_monthly_km;
    const wchar_t *dataSex;
    const wchar_t *dataSource;
    const wchar_t *dataStatus;
    const wchar_t *dataStorage;
    const wchar_t *dataTake_over_date;
    const wchar_t *dataType;
    const wchar_t *dataUnsubscribe_all_date;
    const wchar_t *dataUnsubscribe_call_date;
    const wchar_t *dataUnsubscribe_email_date;
    const wchar_t *dataUnsubscribe_sms_date;
    const wchar_t *dataWork_order;
    int dataAccountId;
    const wchar_t *dataAccountCreated_at;
    const wchar_t *dataAccountUpdated_at;
    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;
    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;
    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;
    const wchar_t *dataAccountLogo_en;
    BOOL dataAccountMandatory_coordinate;
    BOOL dataAccountManually_status;
    const wchar_t *dataAccountMerge_rule;
    int dataAccountMonth_start_day;
    const wchar_t *dataAccountName;
    BOOL dataAccountNiotext;
    BOOL dataAccountNiotext_phone;
    const wchar_t *dataAccountPhone;
    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;
    BOOL dataAccountWaiting_sale_option;
    const wchar_t *dataAdvisor;
    const wchar_t *dataBdc;
    const wchar_t *dataCommercial;
    const wchar_t *dataService_advisor;
    const wchar_t *dataService_agent;
    int i;
    int count_i;
    int id;
    const wchar_t *created_at;
    const wchar_t *updated_at;
    int lead_id;
    const wchar_t *address;
    const wchar_t *v_type;
    BOOL valid;
    const wchar_t *extension;
    const wchar_t *number;
    BOOL validated;
    BOOL mobile;
    const wchar_t *accessories;
    const wchar_t *allowed_odometer;
    int balance;
    const wchar_t *budget_max;
    const wchar_t *budget_min;
    const wchar_t *cash_down;
    const wchar_t *category;
    const wchar_t *category_rv;
    const wchar_t *client_number;
    const wchar_t *color_exterior;
    const wchar_t *color_interior;
    const wchar_t *comment;
    const wchar_t *condition;
    const wchar_t *end_contract_date;
    const wchar_t *end_warranty_date;
    const wchar_t *engine;
    const wchar_t *extended_warranty;
    const wchar_t *fuel;
    const wchar_t *length_max;
    const wchar_t *length_min;
    const wchar_t *license_plate;
    const wchar_t *make;
    const wchar_t *modality;
    const wchar_t *model;
    const wchar_t *odometer;
    const wchar_t *offer_number;
    const wchar_t *v_option;
    const wchar_t *order_number;
    const wchar_t *payment;
    const wchar_t *payment_frequency;
    const wchar_t *preparation;
    const wchar_t *price;
    const wchar_t *profit;
    const wchar_t *purchase_date;
    const wchar_t *rate;
    const wchar_t *recall;
    const wchar_t *recorded_date;
    const wchar_t *residual;
    const wchar_t *security_deposit;
    const wchar_t *sleeping;
    BOOL sold;
    const wchar_t *sold_by;
    const wchar_t *sold_date;
    const wchar_t *stock;
    const wchar_t *stock_state;
    const wchar_t *term;
    BOOL tire;
    const wchar_t *transmission;
    const wchar_t *trim;
    const wchar_t *url;
    const wchar_t *value;
    const wchar_t *vin;
    const wchar_t *warranty;
    const wchar_t *weight;
    const wchar_t *year;
    const wchar_t *year_max;
    const wchar_t *year_min;

    success = FALSE;

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

    http = CkHttpW_Create();

    CkHttpW_putAuthToken(http,L"ACCESS_TOKEN");

    CkHttpW_putAccept(http,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

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

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

    resp = CkHttpResponseW_Create();
    success = CkHttpW_HttpJson(http,L"POST",url,jsonRequestBody,L"application/json",resp);
    if (success == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkJsonObjectW_Dispose(jsonRequestBody);
        CkHttpResponseW_Dispose(resp);
        return;
    }

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

    jsonResponse = CkJsonObjectW_Create();
    CkJsonObjectW_Load(jsonResponse,CkHttpResponseW_bodyStr(resp));
    CkJsonObjectW_putEmitCompact(jsonResponse,FALSE);
    wprintf(L"%s\n",CkJsonObjectW_emit(jsonResponse));

    if (CkHttpResponseW_getStatusCode(resp) >= 300) {
        wprintf(L"Failed.\n");
        CkHttpW_Dispose(http);
        CkJsonObjectW_Dispose(jsonRequestBody);
        CkHttpResponseW_Dispose(resp);
        CkJsonObjectW_Dispose(jsonResponse);
        return;
    }

    // Sample output...
    // (See the parsing code below..)
    // 
    // Use the this online tool to generate parsing code from sample JSON: 
    // Generate Parsing Code from JSON

    // {
    //     "data": {
    //         "id": 3387562,
    //         "created_at": "2018-04-09T18:05:00+00:00",
    //         "updated_at": "2018-04-09T18:07:00+00:00",
    //         "first_name": "John",
    //         "last_name": "Doe",
    //         ...
    //         "account": {
    //             "id": 66,
    //             ...
    //         },
    //         "advisor": {
    //             "id": 51112,
    //             ...
    //         },
    //         "emails": [
    //             {
    //                 "id": 3664451,
    //                 ...
    //             },
    //             ...
    //         ],
    //         "phones": [
    //             {
    //                 "id": 9465546,
    //                 ...
    //             },
    //             ...
    //         ],
    //         "vehicles": [
    //             {
    //                 "id": 4542214,
    //                 ...
    //             },
    //             ...
    //         ]
    //     }
    // }

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

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jsonResponse,L"data.emails");
    while (i < count_i) {
        CkJsonObjectW_putI(jsonResponse,i);
        id = CkJsonObjectW_IntOf(jsonResponse,L"data.emails[i].id");
        created_at = CkJsonObjectW_stringOf(jsonResponse,L"data.emails[i].created_at");
        updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data.emails[i].updated_at");
        lead_id = CkJsonObjectW_IntOf(jsonResponse,L"data.emails[i].lead_id");
        address = CkJsonObjectW_stringOf(jsonResponse,L"data.emails[i].address");
        v_type = CkJsonObjectW_stringOf(jsonResponse,L"data.emails[i].type");
        valid = CkJsonObjectW_BoolOf(jsonResponse,L"data.emails[i].valid");
        i = i + 1;
    }

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jsonResponse,L"data.phones");
    while (i < count_i) {
        CkJsonObjectW_putI(jsonResponse,i);
        id = CkJsonObjectW_IntOf(jsonResponse,L"data.phones[i].id");
        created_at = CkJsonObjectW_stringOf(jsonResponse,L"data.phones[i].created_at");
        updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data.phones[i].updated_at");
        lead_id = CkJsonObjectW_IntOf(jsonResponse,L"data.phones[i].lead_id");
        extension = CkJsonObjectW_stringOf(jsonResponse,L"data.phones[i].extension");
        number = CkJsonObjectW_stringOf(jsonResponse,L"data.phones[i].number");
        v_type = CkJsonObjectW_stringOf(jsonResponse,L"data.phones[i].type");
        valid = CkJsonObjectW_BoolOf(jsonResponse,L"data.phones[i].valid");
        validated = CkJsonObjectW_BoolOf(jsonResponse,L"data.phones[i].validated");
        mobile = CkJsonObjectW_BoolOf(jsonResponse,L"data.phones[i].mobile");
        i = i + 1;
    }

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

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jsonResponse,L"data.related_ids");
    while (i < count_i) {
        CkJsonObjectW_putI(jsonResponse,i);
        i = i + 1;
    }



    CkHttpW_Dispose(http);
    CkJsonObjectW_Dispose(jsonRequestBody);
    CkHttpResponseW_Dispose(resp);
    CkJsonObjectW_Dispose(jsonResponse);

    }