Chilkat HOME .NET Core C# Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi ActiveX Delphi DLL Go Java Lianja Mono C# Node.js Objective-C PHP ActiveX PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift 2 Swift 3,4,5... Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(Unicode C) Activix CRM Search for LeadsDemonstrates how to full-text search for leads, returning a JSON list of leads. For more information, see https://docs.crm.activix.ca/api/resources/lead
#include <C_CkHttpW.h> #include <C_CkJsonObjectW.h> void ChilkatSample(void) { HCkHttpW http; const wchar_t *strResp; HCkJsonObjectW jsonResponse; const wchar_t *linksFirst; const wchar_t *linksLast; const wchar_t *linksPrev; const wchar_t *linksNext; int metaCurrent_page; int metaFrom; int metaLast_page; const wchar_t *metaPath; int metaPer_page; int metaTo; int metaTotal; int i; int count_i; int id; const wchar_t *created_at; const wchar_t *updated_at; int account_id; const wchar_t *address_line1; const wchar_t *address_line2; const wchar_t *appointment_date; BOOL appt_call; const wchar_t *available_date; const wchar_t *average_spending; const wchar_t *be_back_date; const wchar_t *birth_date; const wchar_t *business; const wchar_t *call_date; const wchar_t *city; const wchar_t *civility; const wchar_t *code; const wchar_t *country; const wchar_t *csi_date; const wchar_t *delivered_by_id; const wchar_t *delivered_date; const wchar_t *delivery_date; const wchar_t *division; const wchar_t *end_service_date; const wchar_t *first_name; const wchar_t *gas; int gender; BOOL invoiced; const wchar_t *last_name; const wchar_t *last_visit_date; const wchar_t *locale; const wchar_t *loyalty; const wchar_t *next_visit_date; const wchar_t *odometer_last_visit; const wchar_t *open_work_order_date; const wchar_t *planned_pick_up_date; const wchar_t *postal_code; const wchar_t *prepaid; BOOL prepared; const wchar_t *presented_date; const wchar_t *promised_date; const wchar_t *province; const wchar_t *rating; BOOL reached_client; const wchar_t *refinanced_date; const wchar_t *repair_date; const wchar_t *repair_order; const wchar_t *result; const wchar_t *road_test_date; const wchar_t *sale_date; const wchar_t *second_contact; const wchar_t *second_contact_civility; const wchar_t *segment; BOOL service_cleaned; const wchar_t *service_interval_km; const wchar_t *service_monthly_km; const wchar_t *service_processIntention; const wchar_t *service_processTransport; const wchar_t *service_processWalk_around; const wchar_t *sex; const wchar_t *source; const wchar_t *status; const wchar_t *storage; const wchar_t *take_over_date; const wchar_t *v_type; const wchar_t *unsubscribe_all_date; const wchar_t *unsubscribe_call_date; const wchar_t *unsubscribe_email_date; const wchar_t *unsubscribe_sms_date; const wchar_t *work_order; int accountId; const wchar_t *accountCreated_at; const wchar_t *accountUpdated_at; int accountPartner_id; BOOL accountActivity_report; BOOL accountCommercial; BOOL accountEvent; BOOL accountLeadxpress; BOOL accountLoyalty; BOOL accountPhone_up; BOOL accountRenewal; BOOL accountSale_table; BOOL accountService; BOOL accountWalk_in; BOOL accountWebboost; BOOL accountAccount_manager; const wchar_t *accountActivation_date; BOOL accountActive; BOOL accountAssigned_lead; BOOL accountAuto_renewal; BOOL accountAuto_renewal_new; BOOL accountAuto_renewal_used; BOOL accountAutomation; BOOL accountBdc_advisor; BOOL accountCalendar_options; BOOL accountClient_card_fieldsProcessGas; BOOL accountClient_card_fieldsProcessRecorded; BOOL accountClient_card_fieldsProcessAvailable; BOOL accountClient_card_fieldsProcessDiscounted; BOOL accountClient_card_fieldsCommercialProfit; BOOL accountClient_card_fieldsCommercialExclude; BOOL accountClient_card_fieldsCommercialMeeting; BOOL accountClient_card_fieldsPerformanceDeposit; BOOL accountClient_card_fieldsPerformanceRefinanced; BOOL accountClient_card_fieldsPerformanceDealer_tour; BOOL accountClient_card_fieldsPerformanceWalk_around; BOOL accountClient_card_fieldsPerformanceQualification; BOOL accountClient_card_fieldsPerformanceTwenty_four_hour; BOOL accountClient_card_fieldsGeneral_infoBudget; BOOL accountClient_card_fieldsGeneral_infoSector; BOOL accountClient_card_fieldsGeneral_infoCustom_1; BOOL accountClient_card_fieldsGeneral_infoCustom_2; BOOL accountClient_card_fieldsGeneral_infoCustom_3; BOOL accountClient_card_fieldsGeneral_infoCustom_4; BOOL accountClient_card_fieldsGeneral_infoCustom_5; BOOL accountClient_card_fieldsGeneral_infoCustom_6; BOOL accountClient_card_fieldsGeneral_infoCustom_7; BOOL accountClient_card_fieldsGeneral_infoCustom_8; BOOL accountClient_card_fieldsGeneral_infoCustom_9; BOOL accountClient_card_fieldsGeneral_infoCustom_10; BOOL accountClient_card_fieldsGeneral_infoCommunication_preference; BOOL accountClient_card_fieldsWanted_vehicleVin; BOOL accountClient_card_fieldsWanted_vehicleFuel; BOOL accountClient_card_fieldsWanted_vehicleRate; BOOL accountClient_card_fieldsWanted_vehicleTerm; BOOL accountClient_card_fieldsWanted_vehicleTire; BOOL accountClient_card_fieldsWanted_vehicleYear; BOOL accountClient_card_fieldsWanted_vehicleColor; BOOL accountClient_card_fieldsWanted_vehiclePrice; BOOL accountClient_card_fieldsWanted_vehicleStock; BOOL accountClient_card_fieldsWanted_vehicleTotal; BOOL accountClient_card_fieldsWanted_vehicleBudget; BOOL accountClient_card_fieldsWanted_vehicleEngine; BOOL accountClient_card_fieldsWanted_vehicleLength; BOOL accountClient_card_fieldsWanted_vehicleProfit; BOOL accountClient_card_fieldsWanted_vehicleSuffix; BOOL accountClient_card_fieldsWanted_vehicleWeight; BOOL accountClient_card_fieldsWanted_vehicleComment; BOOL accountClient_card_fieldsWanted_vehicleMileage; BOOL accountClient_card_fieldsWanted_vehiclePayment; BOOL accountClient_card_fieldsWanted_vehicleBodyType; BOOL accountClient_card_fieldsWanted_vehicleCategory; BOOL accountClient_card_fieldsWanted_vehicleModality; BOOL accountClient_card_fieldsWanted_vehicleResidual; BOOL accountClient_card_fieldsWanted_vehicleSleeping; BOOL accountClient_card_fieldsWanted_vehicleWarranty; BOOL accountClient_card_fieldsWanted_vehicleFrequency; BOOL accountClient_card_fieldsWanted_vehicleAccessories; BOOL accountClient_card_fieldsWanted_vehicleCategory_rv; BOOL accountClient_card_fieldsWanted_vehiclePreparation; BOOL accountClient_card_fieldsWanted_vehicleInitial_cash; BOOL accountClient_card_fieldsWanted_vehicleOffer_number; BOOL accountClient_card_fieldsWanted_vehicleOrder_number; BOOL accountClient_card_fieldsWanted_vehicleTransmission; BOOL accountClient_card_fieldsWanted_vehicleDocumentation; BOOL accountClient_card_fieldsWanted_vehicleDrivingWheels; BOOL accountClient_card_fieldsWanted_vehicleColor_exterior; BOOL accountClient_card_fieldsWanted_vehicleColor_interior; BOOL accountClient_card_fieldsWanted_vehicleAllowed_mileage; BOOL accountClient_card_fieldsWanted_vehicleSecurity_deposit; BOOL accountClient_card_fieldsWanted_vehicleEnd_contract_date; BOOL accountClient_card_fieldsExchange_vehicleVin; BOOL accountClient_card_fieldsExchange_vehicleFuel; BOOL accountClient_card_fieldsExchange_vehicleLink; BOOL accountClient_card_fieldsExchange_vehicleRate; BOOL accountClient_card_fieldsExchange_vehicleTerm; BOOL accountClient_card_fieldsExchange_vehicleYear; BOOL accountClient_card_fieldsExchange_vehicleColor; BOOL accountClient_card_fieldsExchange_vehiclePrice; BOOL accountClient_card_fieldsExchange_vehicleStock; BOOL accountClient_card_fieldsExchange_vehicleValue; BOOL accountClient_card_fieldsExchange_vehicleBudget; BOOL accountClient_card_fieldsExchange_vehicleEngine; BOOL accountClient_card_fieldsExchange_vehicleLength; BOOL accountClient_card_fieldsExchange_vehicleProfit; BOOL accountClient_card_fieldsExchange_vehicleSuffix; BOOL accountClient_card_fieldsExchange_vehicleWeight; BOOL accountClient_card_fieldsExchange_vehicleBalance; BOOL accountClient_card_fieldsExchange_vehicleComment; BOOL accountClient_card_fieldsExchange_vehicleMileage; BOOL accountClient_card_fieldsExchange_vehiclePayment; BOOL accountClient_card_fieldsExchange_vehicleRenewal; BOOL accountClient_card_fieldsExchange_vehicleSold_by; BOOL accountClient_card_fieldsExchange_vehicleBodyType; BOOL accountClient_card_fieldsExchange_vehicleCategory; BOOL accountClient_card_fieldsExchange_vehicleModality; BOOL accountClient_card_fieldsExchange_vehicleResidual; BOOL accountClient_card_fieldsExchange_vehicleSleeping; BOOL accountClient_card_fieldsExchange_vehicleWarranty; BOOL accountClient_card_fieldsExchange_vehicleCondition; BOOL accountClient_card_fieldsExchange_vehicleFrequency; BOOL accountClient_card_fieldsExchange_vehicleIntention; BOOL accountClient_card_fieldsExchange_vehicleRefinance; BOOL accountClient_card_fieldsExchange_vehicleRequested; BOOL accountClient_card_fieldsExchange_vehicleSold_date; BOOL accountClient_card_fieldsExchange_vehicleCategory_rv; BOOL accountClient_card_fieldsExchange_vehicleInstitution; BOOL accountClient_card_fieldsExchange_vehicleInitial_cash; BOOL accountClient_card_fieldsExchange_vehicleOffer_number; BOOL accountClient_card_fieldsExchange_vehicleTransmission; BOOL accountClient_card_fieldsExchange_vehicleDrivingWheels; BOOL accountClient_card_fieldsExchange_vehicleColor_exterior; BOOL accountClient_card_fieldsExchange_vehicleColor_interior; BOOL accountClient_card_fieldsExchange_vehicleAllowed_mileage; BOOL accountClient_card_fieldsExchange_vehicleSecurity_deposit; BOOL accountClient_card_fieldsExchange_vehicleEnd_contract_date; BOOL accountClient_number; BOOL accountConfirmation_appt; BOOL accountCredit; BOOL accountCsi; BOOL accountCsi_used; const wchar_t *accountDefault_deliveryman_user_id; BOOL accountDelivered_by; BOOL accountDisable_communication_audio; BOOL accountDuplicates; BOOL accountGuest_action; BOOL accountEmail_client; BOOL accountIn_turn; BOOL accountIn_turn_director_management; BOOL accountLeads_other_division; int accountLeadxpress_optionPriority; int accountLeadxpress_optionReminderFrequency; int accountLeadxpress_optionReminderRecurrence; BOOL accountLeadxpress_optionScheduleAccount; BOOL accountLeadxpress_optionScheduleAdvisor; BOOL accountLimited_audio_access; const wchar_t *accountLogo; const wchar_t *accountLogo_en; BOOL accountMandatory_coordinate; BOOL accountManually_status; const wchar_t *accountMerge_rule; int accountMonth_start_day; const wchar_t *accountName; BOOL accountNiotext; BOOL accountNiotext_phone; const wchar_t *accountPhone; BOOL accountPower_sport; BOOL accountProcess; BOOL accountRecreative_special; BOOL accountResult_date_validation; BOOL accountSale_accessories; BOOL accountSale_by_phone; BOOL accountSale_date_month; BOOL accountSale_table_optionsAccessory_column; BOOL accountSale_table_optionsCommercial_column; BOOL accountSale_table_optionsDivision_grouped_total_column; BOOL accountSale_validation; BOOL accountScan; BOOL accountStock_required_for_sale; BOOL accountTake_over_director; BOOL accountTrade_report; BOOL accountUnrestricted_assignment; BOOL accountUnsubscribe; BOOL accountUntreated_lead; BOOL accountVehicle_model_text; BOOL accountVehicle_text; BOOL accountVerified_sale; BOOL accountVin_decoder; const wchar_t *accountWaiting_sale_date; BOOL accountWaiting_sale_option; const wchar_t *advisor; int j; int count_j; int lead_id; const wchar_t *address; 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; // 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"); strResp = CkHttpW_quickGetStr(http,L"https://crm.activix.ca/api/v2/leads/search?query=Doe"); if (CkHttpW_getLastMethodSuccess(http) != TRUE) { wprintf(L"%s\n",CkHttpW_lastErrorText(http)); CkHttpW_Dispose(http); return; } wprintf(L"Response Status Code: %d\n",CkHttpW_getLastStatus(http)); jsonResponse = CkJsonObjectW_Create(); CkJsonObjectW_Load(jsonResponse,strResp); CkJsonObjectW_putEmitCompact(jsonResponse,FALSE); wprintf(L"%s\n",CkJsonObjectW_emit(jsonResponse)); if (CkHttpW_getLastStatus(http) != 200) { wprintf(L"Failed.\n"); CkHttpW_Dispose(http); CkJsonObjectW_Dispose(jsonResponse); return; } // Sample output... // (See the parsing code below..) // // Use this online tool to generate parsing code from sample JSON: // Generate Parsing Code from JSON // { // "data": [ // { // "id": 3387562, // "created_at": "2018-04-09T18:05:00+00:00", // "updated_at": "2018-04-09T18:07:00+00:00", // "first_name": "John", // "last_name": "Doe", // ... // "account": { // "id": 66, // ... // }, // "advisor": { // "id": 51112, // ... // }, // "emails": [ // { // "id": 3664451, // ... // }, // ... // ], // "phones": [ // { // "id": 9465546, // ... // }, // ... // ], // "vehicles": [ // { // "id": 4542214, // ... // }, // ... // ] // }, // ... // ], // "links": { // "first": "https://crm.activix.ca/api/v2/leads/search?query=John&page=1", // "last": "https://crm.activix.ca/api/v2/leads/search?query=John&page=47", // "prev": null, // "next": "https://crm.activix.ca/api/v2/leads/search?query=John&page=2" // }, // "meta": { // "current_page": 1, // "from": 1, // "last_page": 47, // "path": "https://crm.activix.ca/api/v2/leads/search", // "per_page": 25, // "to": 25, // "total": 1161 // } // } linksFirst = CkJsonObjectW_stringOf(jsonResponse,L"links.first"); linksLast = CkJsonObjectW_stringOf(jsonResponse,L"links.last"); linksPrev = CkJsonObjectW_stringOf(jsonResponse,L"links.prev"); linksNext = CkJsonObjectW_stringOf(jsonResponse,L"links.next"); metaCurrent_page = CkJsonObjectW_IntOf(jsonResponse,L"meta.current_page"); metaFrom = CkJsonObjectW_IntOf(jsonResponse,L"meta.from"); metaLast_page = CkJsonObjectW_IntOf(jsonResponse,L"meta.last_page"); metaPath = CkJsonObjectW_stringOf(jsonResponse,L"meta.path"); metaPer_page = CkJsonObjectW_IntOf(jsonResponse,L"meta.per_page"); metaTo = CkJsonObjectW_IntOf(jsonResponse,L"meta.to"); metaTotal = CkJsonObjectW_IntOf(jsonResponse,L"meta.total"); i = 0; count_i = CkJsonObjectW_SizeOfArray(jsonResponse,L"data"); while (i < count_i) { CkJsonObjectW_putI(jsonResponse,i); id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].id"); created_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].created_at"); updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].updated_at"); account_id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account_id"); address_line1 = CkJsonObjectW_stringOf(jsonResponse,L"data[i].address_line1"); address_line2 = CkJsonObjectW_stringOf(jsonResponse,L"data[i].address_line2"); appointment_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].appointment_date"); appt_call = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].appt_call"); available_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].available_date"); average_spending = CkJsonObjectW_stringOf(jsonResponse,L"data[i].average_spending"); be_back_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].be_back_date"); birth_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].birth_date"); business = CkJsonObjectW_stringOf(jsonResponse,L"data[i].business"); call_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].call_date"); city = CkJsonObjectW_stringOf(jsonResponse,L"data[i].city"); civility = CkJsonObjectW_stringOf(jsonResponse,L"data[i].civility"); code = CkJsonObjectW_stringOf(jsonResponse,L"data[i].code"); country = CkJsonObjectW_stringOf(jsonResponse,L"data[i].country"); csi_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].csi_date"); delivered_by_id = CkJsonObjectW_stringOf(jsonResponse,L"data[i].delivered_by_id"); delivered_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].delivered_date"); delivery_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].delivery_date"); division = CkJsonObjectW_stringOf(jsonResponse,L"data[i].division"); end_service_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].end_service_date"); first_name = CkJsonObjectW_stringOf(jsonResponse,L"data[i].first_name"); gas = CkJsonObjectW_stringOf(jsonResponse,L"data[i].gas"); gender = CkJsonObjectW_IntOf(jsonResponse,L"data[i].gender"); invoiced = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].invoiced"); last_name = CkJsonObjectW_stringOf(jsonResponse,L"data[i].last_name"); last_visit_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].last_visit_date"); locale = CkJsonObjectW_stringOf(jsonResponse,L"data[i].locale"); loyalty = CkJsonObjectW_stringOf(jsonResponse,L"data[i].loyalty"); next_visit_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].next_visit_date"); odometer_last_visit = CkJsonObjectW_stringOf(jsonResponse,L"data[i].odometer_last_visit"); open_work_order_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].open_work_order_date"); planned_pick_up_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].planned_pick_up_date"); postal_code = CkJsonObjectW_stringOf(jsonResponse,L"data[i].postal_code"); prepaid = CkJsonObjectW_stringOf(jsonResponse,L"data[i].prepaid"); prepared = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].prepared"); presented_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].presented_date"); promised_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].promised_date"); province = CkJsonObjectW_stringOf(jsonResponse,L"data[i].province"); rating = CkJsonObjectW_stringOf(jsonResponse,L"data[i].rating"); reached_client = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].reached_client"); refinanced_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].refinanced_date"); repair_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].repair_date"); repair_order = CkJsonObjectW_stringOf(jsonResponse,L"data[i].repair_order"); result = CkJsonObjectW_stringOf(jsonResponse,L"data[i].result"); road_test_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].road_test_date"); sale_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].sale_date"); second_contact = CkJsonObjectW_stringOf(jsonResponse,L"data[i].second_contact"); second_contact_civility = CkJsonObjectW_stringOf(jsonResponse,L"data[i].second_contact_civility"); segment = CkJsonObjectW_stringOf(jsonResponse,L"data[i].segment"); service_cleaned = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].service_cleaned"); service_interval_km = CkJsonObjectW_stringOf(jsonResponse,L"data[i].service_interval_km"); service_monthly_km = CkJsonObjectW_stringOf(jsonResponse,L"data[i].service_monthly_km"); service_processIntention = CkJsonObjectW_stringOf(jsonResponse,L"data[i].service_process.intention"); service_processTransport = CkJsonObjectW_stringOf(jsonResponse,L"data[i].service_process.transport"); service_processWalk_around = CkJsonObjectW_stringOf(jsonResponse,L"data[i].service_process.walk_around"); sex = CkJsonObjectW_stringOf(jsonResponse,L"data[i].sex"); source = CkJsonObjectW_stringOf(jsonResponse,L"data[i].source"); status = CkJsonObjectW_stringOf(jsonResponse,L"data[i].status"); storage = CkJsonObjectW_stringOf(jsonResponse,L"data[i].storage"); take_over_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].take_over_date"); v_type = CkJsonObjectW_stringOf(jsonResponse,L"data[i].type"); unsubscribe_all_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].unsubscribe_all_date"); unsubscribe_call_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].unsubscribe_call_date"); unsubscribe_email_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].unsubscribe_email_date"); unsubscribe_sms_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].unsubscribe_sms_date"); work_order = CkJsonObjectW_stringOf(jsonResponse,L"data[i].work_order"); accountId = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.id"); accountCreated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.created_at"); accountUpdated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.updated_at"); accountPartner_id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.partner_id"); accountActivity_report = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.activity_report"); accountCommercial = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.commercial"); accountEvent = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.event"); accountLeadxpress = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.leadxpress"); accountLoyalty = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.loyalty"); accountPhone_up = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.phone_up"); accountRenewal = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.renewal"); accountSale_table = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_table"); accountService = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.service"); accountWalk_in = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.walk_in"); accountWebboost = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.webboost"); accountAccount_manager = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.account_manager"); accountActivation_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.activation_date"); accountActive = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.active"); accountAssigned_lead = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.assigned_lead"); accountAuto_renewal = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.auto_renewal"); accountAuto_renewal_new = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.auto_renewal_new"); accountAuto_renewal_used = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.auto_renewal_used"); accountAutomation = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.automation"); accountBdc_advisor = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.bdc_advisor"); accountCalendar_options = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.calendar_options"); accountClient_card_fieldsProcessGas = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.process.gas"); accountClient_card_fieldsProcessRecorded = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.process.recorded"); accountClient_card_fieldsProcessAvailable = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.process.available"); accountClient_card_fieldsProcessDiscounted = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.process.discounted"); accountClient_card_fieldsCommercialProfit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.commercial.profit"); accountClient_card_fieldsCommercialExclude = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.commercial.exclude"); accountClient_card_fieldsCommercialMeeting = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.commercial.meeting"); accountClient_card_fieldsPerformanceDeposit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.deposit"); accountClient_card_fieldsPerformanceRefinanced = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.refinanced"); accountClient_card_fieldsPerformanceDealer_tour = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.dealer_tour"); accountClient_card_fieldsPerformanceWalk_around = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.walk_around"); accountClient_card_fieldsPerformanceQualification = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.qualification"); accountClient_card_fieldsPerformanceTwenty_four_hour = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.performance.twenty_four_hour"); accountClient_card_fieldsGeneral_infoBudget = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.budget"); accountClient_card_fieldsGeneral_infoSector = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.sector"); accountClient_card_fieldsGeneral_infoCustom_1 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_1"); accountClient_card_fieldsGeneral_infoCustom_2 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_2"); accountClient_card_fieldsGeneral_infoCustom_3 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_3"); accountClient_card_fieldsGeneral_infoCustom_4 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_4"); accountClient_card_fieldsGeneral_infoCustom_5 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_5"); accountClient_card_fieldsGeneral_infoCustom_6 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_6"); accountClient_card_fieldsGeneral_infoCustom_7 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_7"); accountClient_card_fieldsGeneral_infoCustom_8 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_8"); accountClient_card_fieldsGeneral_infoCustom_9 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_9"); accountClient_card_fieldsGeneral_infoCustom_10 = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.custom_10"); accountClient_card_fieldsGeneral_infoCommunication_preference = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.general_info.communication_preference"); accountClient_card_fieldsWanted_vehicleVin = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.vin"); accountClient_card_fieldsWanted_vehicleFuel = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.fuel"); accountClient_card_fieldsWanted_vehicleRate = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.rate"); accountClient_card_fieldsWanted_vehicleTerm = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.term"); accountClient_card_fieldsWanted_vehicleTire = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.tire"); accountClient_card_fieldsWanted_vehicleYear = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.year"); accountClient_card_fieldsWanted_vehicleColor = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.color"); accountClient_card_fieldsWanted_vehiclePrice = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.price"); accountClient_card_fieldsWanted_vehicleStock = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.stock"); accountClient_card_fieldsWanted_vehicleTotal = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.total"); accountClient_card_fieldsWanted_vehicleBudget = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.budget"); accountClient_card_fieldsWanted_vehicleEngine = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.engine"); accountClient_card_fieldsWanted_vehicleLength = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.length"); accountClient_card_fieldsWanted_vehicleProfit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.profit"); accountClient_card_fieldsWanted_vehicleSuffix = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.suffix"); accountClient_card_fieldsWanted_vehicleWeight = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.weight"); accountClient_card_fieldsWanted_vehicleComment = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.comment"); accountClient_card_fieldsWanted_vehicleMileage = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.mileage"); accountClient_card_fieldsWanted_vehiclePayment = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.payment"); accountClient_card_fieldsWanted_vehicleBodyType = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.bodyType"); accountClient_card_fieldsWanted_vehicleCategory = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.category"); accountClient_card_fieldsWanted_vehicleModality = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.modality"); accountClient_card_fieldsWanted_vehicleResidual = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.residual"); accountClient_card_fieldsWanted_vehicleSleeping = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.sleeping"); accountClient_card_fieldsWanted_vehicleWarranty = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.warranty"); accountClient_card_fieldsWanted_vehicleFrequency = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.frequency"); accountClient_card_fieldsWanted_vehicleAccessories = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.accessories"); accountClient_card_fieldsWanted_vehicleCategory_rv = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.category_rv"); accountClient_card_fieldsWanted_vehiclePreparation = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.preparation"); accountClient_card_fieldsWanted_vehicleInitial_cash = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.initial_cash"); accountClient_card_fieldsWanted_vehicleOffer_number = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.offer_number"); accountClient_card_fieldsWanted_vehicleOrder_number = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.order_number"); accountClient_card_fieldsWanted_vehicleTransmission = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.transmission"); accountClient_card_fieldsWanted_vehicleDocumentation = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.documentation"); accountClient_card_fieldsWanted_vehicleDrivingWheels = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.drivingWheels"); accountClient_card_fieldsWanted_vehicleColor_exterior = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.color_exterior"); accountClient_card_fieldsWanted_vehicleColor_interior = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.color_interior"); accountClient_card_fieldsWanted_vehicleAllowed_mileage = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.allowed_mileage"); accountClient_card_fieldsWanted_vehicleSecurity_deposit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.security_deposit"); accountClient_card_fieldsWanted_vehicleEnd_contract_date = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.wanted_vehicle.end_contract_date"); accountClient_card_fieldsExchange_vehicleVin = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.vin"); accountClient_card_fieldsExchange_vehicleFuel = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.fuel"); accountClient_card_fieldsExchange_vehicleLink = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.link"); accountClient_card_fieldsExchange_vehicleRate = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.rate"); accountClient_card_fieldsExchange_vehicleTerm = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.term"); accountClient_card_fieldsExchange_vehicleYear = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.year"); accountClient_card_fieldsExchange_vehicleColor = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.color"); accountClient_card_fieldsExchange_vehiclePrice = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.price"); accountClient_card_fieldsExchange_vehicleStock = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.stock"); accountClient_card_fieldsExchange_vehicleValue = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.value"); accountClient_card_fieldsExchange_vehicleBudget = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.budget"); accountClient_card_fieldsExchange_vehicleEngine = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.engine"); accountClient_card_fieldsExchange_vehicleLength = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.length"); accountClient_card_fieldsExchange_vehicleProfit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.profit"); accountClient_card_fieldsExchange_vehicleSuffix = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.suffix"); accountClient_card_fieldsExchange_vehicleWeight = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.weight"); accountClient_card_fieldsExchange_vehicleBalance = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.balance"); accountClient_card_fieldsExchange_vehicleComment = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.comment"); accountClient_card_fieldsExchange_vehicleMileage = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.mileage"); accountClient_card_fieldsExchange_vehiclePayment = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.payment"); accountClient_card_fieldsExchange_vehicleRenewal = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.renewal"); accountClient_card_fieldsExchange_vehicleSold_by = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.sold_by"); accountClient_card_fieldsExchange_vehicleBodyType = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.bodyType"); accountClient_card_fieldsExchange_vehicleCategory = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.category"); accountClient_card_fieldsExchange_vehicleModality = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.modality"); accountClient_card_fieldsExchange_vehicleResidual = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.residual"); accountClient_card_fieldsExchange_vehicleSleeping = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.sleeping"); accountClient_card_fieldsExchange_vehicleWarranty = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.warranty"); accountClient_card_fieldsExchange_vehicleCondition = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.condition"); accountClient_card_fieldsExchange_vehicleFrequency = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.frequency"); accountClient_card_fieldsExchange_vehicleIntention = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.intention"); accountClient_card_fieldsExchange_vehicleRefinance = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.refinance"); accountClient_card_fieldsExchange_vehicleRequested = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.requested"); accountClient_card_fieldsExchange_vehicleSold_date = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.sold_date"); accountClient_card_fieldsExchange_vehicleCategory_rv = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.category_rv"); accountClient_card_fieldsExchange_vehicleInstitution = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.institution"); accountClient_card_fieldsExchange_vehicleInitial_cash = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.initial_cash"); accountClient_card_fieldsExchange_vehicleOffer_number = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.offer_number"); accountClient_card_fieldsExchange_vehicleTransmission = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.transmission"); accountClient_card_fieldsExchange_vehicleDrivingWheels = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.drivingWheels"); accountClient_card_fieldsExchange_vehicleColor_exterior = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.color_exterior"); accountClient_card_fieldsExchange_vehicleColor_interior = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.color_interior"); accountClient_card_fieldsExchange_vehicleAllowed_mileage = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.allowed_mileage"); accountClient_card_fieldsExchange_vehicleSecurity_deposit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.security_deposit"); accountClient_card_fieldsExchange_vehicleEnd_contract_date = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_card_fields.exchange_vehicle.end_contract_date"); accountClient_number = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.client_number"); accountConfirmation_appt = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.confirmation_appt"); accountCredit = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.credit"); accountCsi = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.csi"); accountCsi_used = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.csi_used"); accountDefault_deliveryman_user_id = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.default_deliveryman_user_id"); accountDelivered_by = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.delivered_by"); accountDisable_communication_audio = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.disable_communication_audio"); accountDuplicates = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.duplicates"); accountGuest_action = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.guest_action"); accountEmail_client = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.email_client"); accountIn_turn = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.in_turn"); accountIn_turn_director_management = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.in_turn_director_management"); accountLeads_other_division = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.leads_other_division"); accountLeadxpress_optionPriority = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.leadxpress_option.priority"); accountLeadxpress_optionReminderFrequency = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.leadxpress_option.reminder.frequency"); accountLeadxpress_optionReminderRecurrence = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.leadxpress_option.reminder.recurrence"); accountLeadxpress_optionScheduleAccount = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.leadxpress_option.schedule.account"); accountLeadxpress_optionScheduleAdvisor = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.leadxpress_option.schedule.advisor"); accountLimited_audio_access = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.limited_audio_access"); accountLogo = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.logo"); accountLogo_en = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.logo_en"); accountMandatory_coordinate = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.mandatory_coordinate"); accountManually_status = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.manually_status"); accountMerge_rule = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.merge_rule"); accountMonth_start_day = CkJsonObjectW_IntOf(jsonResponse,L"data[i].account.month_start_day"); accountName = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.name"); accountNiotext = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.niotext"); accountNiotext_phone = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.niotext_phone"); accountPhone = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.phone"); accountPower_sport = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.power_sport"); accountProcess = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.process"); accountRecreative_special = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.recreative_special"); accountResult_date_validation = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.result_date_validation"); accountSale_accessories = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_accessories"); accountSale_by_phone = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_by_phone"); accountSale_date_month = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_date_month"); accountSale_table_optionsAccessory_column = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_table_options.accessory_column"); accountSale_table_optionsCommercial_column = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_table_options.commercial_column"); accountSale_table_optionsDivision_grouped_total_column = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_table_options.division_grouped_total_column"); accountSale_validation = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.sale_validation"); accountScan = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.scan"); accountStock_required_for_sale = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.stock_required_for_sale"); accountTake_over_director = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.take_over_director"); accountTrade_report = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.trade_report"); accountUnrestricted_assignment = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.unrestricted_assignment"); accountUnsubscribe = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.unsubscribe"); accountUntreated_lead = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.untreated_lead"); accountVehicle_model_text = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.vehicle_model_text"); accountVehicle_text = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.vehicle_text"); accountVerified_sale = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.verified_sale"); accountVin_decoder = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.vin_decoder"); accountWaiting_sale_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].account.waiting_sale_date"); accountWaiting_sale_option = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].account.waiting_sale_option"); advisor = CkJsonObjectW_stringOf(jsonResponse,L"data[i].advisor"); j = 0; count_j = CkJsonObjectW_SizeOfArray(jsonResponse,L"data[i].emails"); while (j < count_j) { CkJsonObjectW_putJ(jsonResponse,j); id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].emails[j].id"); created_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].emails[j].created_at"); updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].emails[j].updated_at"); lead_id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].emails[j].lead_id"); address = CkJsonObjectW_stringOf(jsonResponse,L"data[i].emails[j].address"); v_type = CkJsonObjectW_stringOf(jsonResponse,L"data[i].emails[j].type"); valid = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].emails[j].valid"); j = j + 1; } j = 0; count_j = CkJsonObjectW_SizeOfArray(jsonResponse,L"data[i].phones"); while (j < count_j) { CkJsonObjectW_putJ(jsonResponse,j); id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].phones[j].id"); created_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].phones[j].created_at"); updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].phones[j].updated_at"); lead_id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].phones[j].lead_id"); extension = CkJsonObjectW_stringOf(jsonResponse,L"data[i].phones[j].extension"); number = CkJsonObjectW_stringOf(jsonResponse,L"data[i].phones[j].number"); v_type = CkJsonObjectW_stringOf(jsonResponse,L"data[i].phones[j].type"); valid = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].phones[j].valid"); validated = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].phones[j].validated"); mobile = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].phones[j].mobile"); j = j + 1; } j = 0; count_j = CkJsonObjectW_SizeOfArray(jsonResponse,L"data[i].vehicles"); while (j < count_j) { CkJsonObjectW_putJ(jsonResponse,j); id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].vehicles[j].id"); created_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].created_at"); updated_at = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].updated_at"); lead_id = CkJsonObjectW_IntOf(jsonResponse,L"data[i].vehicles[j].lead_id"); accessories = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].accessories"); allowed_odometer = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].allowed_odometer"); balance = CkJsonObjectW_IntOf(jsonResponse,L"data[i].vehicles[j].balance"); budget_max = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].budget_max"); budget_min = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].budget_min"); cash_down = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].cash_down"); category = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].category"); category_rv = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].category_rv"); client_number = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].client_number"); color_exterior = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].color_exterior"); color_interior = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].color_interior"); comment = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].comment"); condition = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].condition"); end_contract_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].end_contract_date"); end_warranty_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].end_warranty_date"); engine = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].engine"); extended_warranty = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].extended_warranty"); fuel = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].fuel"); length_max = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].length_max"); length_min = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].length_min"); license_plate = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].license_plate"); make = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].make"); modality = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].modality"); model = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].model"); odometer = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].odometer"); offer_number = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].offer_number"); v_option = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].option"); order_number = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].order_number"); payment = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].payment"); payment_frequency = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].payment_frequency"); preparation = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].preparation"); price = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].price"); profit = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].profit"); purchase_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].purchase_date"); rate = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].rate"); recall = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].recall"); recorded_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].recorded_date"); residual = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].residual"); security_deposit = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].security_deposit"); sleeping = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].sleeping"); sold = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].vehicles[j].sold"); sold_by = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].sold_by"); sold_date = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].sold_date"); stock = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].stock"); stock_state = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].stock_state"); term = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].term"); tire = CkJsonObjectW_BoolOf(jsonResponse,L"data[i].vehicles[j].tire"); transmission = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].transmission"); trim = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].trim"); v_type = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].type"); url = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].url"); value = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].value"); vin = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].vin"); warranty = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].warranty"); weight = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].weight"); year = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].year"); year_max = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].year_max"); year_min = CkJsonObjectW_stringOf(jsonResponse,L"data[i].vehicles[j].year_min"); j = j + 1; } j = 0; count_j = CkJsonObjectW_SizeOfArray(jsonResponse,L"data[i].products"); while (j < count_j) { CkJsonObjectW_putJ(jsonResponse,j); j = j + 1; } i = i + 1; } CkHttpW_Dispose(http); CkJsonObjectW_Dispose(jsonResponse); } |
© 2000-2024 Chilkat Software, Inc. All Rights Reserved.