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
(PureBasic) Activix CRM Update a LeadDemonstrates how to update a lead and returns the updated lead. For more information, see https://docs.crm.activix.ca/api/resources/lead
IncludeFile "CkHttpResponse.pb" IncludeFile "CkHttp.pb" IncludeFile "CkJsonObject.pb" Procedure ChilkatExample() ; This example requires the Chilkat API to have been previously unlocked. ; See Global Unlock Sample for sample code. http.i = CkHttp::ckCreate() If http.i = 0 Debug "Failed to create object." ProcedureReturn EndIf CkHttp::setCkAuthToken(http, "ACCESS_TOKEN") CkHttp::setCkAccept(http, "application/json") ; The following JSON is sent in the request body: ; { ; "first_name": "John", ; "last_name": "Doe", ; "advisor": { ; "first_name": "Johan", ; "last_name": "Strauss" ; } ; } ; Use this online tool to generate the code from sample JSON: ; Generate Code to Create JSON jsonRequestBody.i = CkJsonObject::ckCreate() If jsonRequestBody.i = 0 Debug "Failed to create object." ProcedureReturn EndIf CkJsonObject::ckUpdateString(jsonRequestBody,"first_name","John") CkJsonObject::ckUpdateString(jsonRequestBody,"last_name","Doe") CkJsonObject::ckUpdateString(jsonRequestBody,"advisor.first_name","Johan") CkJsonObject::ckUpdateString(jsonRequestBody,"advisor.last_name","Strauss") url.s = "https://crm.activix.ca/api/v2/leads/LEAD_ID" resp.i = CkHttp::ckPText(http,"PUT",url,CkJsonObject::ckEmit(jsonRequestBody),"utf-8","application/json",0,0) If CkHttp::ckLastMethodSuccess(http) <> 1 Debug CkHttp::ckLastErrorText(http) CkHttp::ckDispose(http) CkJsonObject::ckDispose(jsonRequestBody) ProcedureReturn EndIf Debug "Response Status Code: " + Str(CkHttpResponse::ckStatusCode(resp)) jsonResponse.i = CkJsonObject::ckCreate() If jsonResponse.i = 0 Debug "Failed to create object." ProcedureReturn EndIf CkJsonObject::ckLoad(jsonResponse,CkHttpResponse::ckBodyStr(resp)) CkJsonObject::setCkEmitCompact(jsonResponse, 0) Debug CkJsonObject::ckEmit(jsonResponse) If CkHttpResponse::ckStatusCode(resp) >= 300 Debug "Failed." CkHttpResponse::ckDispose(resp) CkHttp::ckDispose(http) CkJsonObject::ckDispose(jsonRequestBody) CkJsonObject::ckDispose(jsonResponse) ProcedureReturn EndIf CkHttpResponse::ckDispose(resp) ; Sample output... ; (See the parsing code below..) ; ; Use the this online tool to generate parsing code from sample JSON: ; Generate Parsing Code from JSON ; { ; "data": { ; "id": 3387562, ; "created_at": "2018-04-09T18:05:00+00:00", ; "updated_at": "2018-04-09T18:07:00+00:00", ; "first_name": "John", ; "last_name": "Doe", ; ... ; "account": { ; "id": 66, ; ... ; }, ; "advisor": { ; "id": 51112, ; ... ; }, ; "emails": [ ; { ; "id": 3664451, ; ... ; }, ; ... ; ], ; "phones": [ ; { ; "id": 9465546, ; ... ; }, ; ... ; ], ; "vehicles": [ ; { ; "id": 4542214, ; ... ; }, ; ... ; ] ; } ; } dataId.i dataCreated_at.s dataUpdated_at.s dataAccount_id.i dataAddress_line1.s dataAddress_line2.s dataAppointment_date.s dataAppt_call.i dataAvailable_date.s dataAverage_spending.s dataBe_back_date.s dataBirth_date.s dataBusiness.s dataCall_date.s dataCity.s dataCivility.s dataCode.s dataCountry.s dataCsi_date.s dataDelivered_by_id.s dataDelivered_date.s dataDelivery_date.s dataDivision.s dataEnd_service_date.s dataFirst_name.s dataGas.s dataGender.i dataInvoiced.i dataLast_name.s dataLast_visit_date.s dataLocale.s dataLoyalty.s dataNext_visit_date.s dataOdometer_last_visit.s dataOpen_work_order_date.s dataPlanned_pick_up_date.s dataPostal_code.s dataPrepaid.s dataPrepared.i dataPresented_date.s dataPromised_date.s dataProvince.s dataRating.s dataReached_client.i dataRefinanced_date.s dataRepair_date.s dataRepair_order.s dataResult.s dataRoad_test_date.s dataSale_date.s dataSecond_contact.s dataSecond_contact_civility.s dataSegment.s dataService_cleaned.i dataService_interval_km.s dataService_monthly_km.s dataService_processIntention.s dataService_processTransport.s dataService_processWalk_around.s dataSex.s dataSource.s dataStatus.s dataStorage.s dataTake_over_date.s dataType.s dataUnsubscribe_all_date.s dataUnsubscribe_call_date.s dataUnsubscribe_email_date.s dataUnsubscribe_sms_date.s dataWork_order.s dataAccountId.i dataAccountCreated_at.s dataAccountUpdated_at.s dataAccountPartner_id.i dataAccountActivity_report.i dataAccountCommercial.i dataAccountEvent.i dataAccountLeadxpress.i dataAccountLoyalty.i dataAccountPhone_up.i dataAccountRenewal.i dataAccountSale_table.i dataAccountService.i dataAccountWalk_in.i dataAccountWebboost.i dataAccountAccount_manager.i dataAccountActivation_date.s dataAccountActive.i dataAccountAssigned_lead.i dataAccountAuto_renewal.i dataAccountAuto_renewal_new.i dataAccountAuto_renewal_used.i dataAccountAutomation.i dataAccountBdc_advisor.i dataAccountCalendar_options.i dataAccountClient_card_fieldsProcessGas.i dataAccountClient_card_fieldsProcessRecorded.i dataAccountClient_card_fieldsProcessAvailable.i dataAccountClient_card_fieldsProcessDiscounted.i dataAccountClient_card_fieldsCommercialProfit.i dataAccountClient_card_fieldsCommercialExclude.i dataAccountClient_card_fieldsCommercialMeeting.i dataAccountClient_card_fieldsPerformanceDeposit.i dataAccountClient_card_fieldsPerformanceRefinanced.i dataAccountClient_card_fieldsPerformanceDealer_tour.i dataAccountClient_card_fieldsPerformanceWalk_around.i dataAccountClient_card_fieldsPerformanceQualification.i dataAccountClient_card_fieldsPerformanceTwenty_four_hour.i dataAccountClient_card_fieldsGeneral_infoBudget.i dataAccountClient_card_fieldsGeneral_infoSector.i dataAccountClient_card_fieldsGeneral_infoCustom_1.i dataAccountClient_card_fieldsGeneral_infoCustom_2.i dataAccountClient_card_fieldsGeneral_infoCustom_3.i dataAccountClient_card_fieldsGeneral_infoCustom_4.i dataAccountClient_card_fieldsGeneral_infoCustom_5.i dataAccountClient_card_fieldsGeneral_infoCustom_6.i dataAccountClient_card_fieldsGeneral_infoCustom_7.i dataAccountClient_card_fieldsGeneral_infoCustom_8.i dataAccountClient_card_fieldsGeneral_infoCustom_9.i dataAccountClient_card_fieldsGeneral_infoCustom_10.i dataAccountClient_card_fieldsGeneral_infoCommunication_preference.i dataAccountClient_card_fieldsWanted_vehicleVin.i dataAccountClient_card_fieldsWanted_vehicleFuel.i dataAccountClient_card_fieldsWanted_vehicleRate.i dataAccountClient_card_fieldsWanted_vehicleTerm.i dataAccountClient_card_fieldsWanted_vehicleTire.i dataAccountClient_card_fieldsWanted_vehicleYear.i dataAccountClient_card_fieldsWanted_vehicleColor.i dataAccountClient_card_fieldsWanted_vehiclePrice.i dataAccountClient_card_fieldsWanted_vehicleStock.i dataAccountClient_card_fieldsWanted_vehicleTotal.i dataAccountClient_card_fieldsWanted_vehicleBudget.i dataAccountClient_card_fieldsWanted_vehicleEngine.i dataAccountClient_card_fieldsWanted_vehicleLength.i dataAccountClient_card_fieldsWanted_vehicleProfit.i dataAccountClient_card_fieldsWanted_vehicleSuffix.i dataAccountClient_card_fieldsWanted_vehicleWeight.i dataAccountClient_card_fieldsWanted_vehicleComment.i dataAccountClient_card_fieldsWanted_vehicleMileage.i dataAccountClient_card_fieldsWanted_vehiclePayment.i dataAccountClient_card_fieldsWanted_vehicleBodyType.i dataAccountClient_card_fieldsWanted_vehicleCategory.i dataAccountClient_card_fieldsWanted_vehicleModality.i dataAccountClient_card_fieldsWanted_vehicleResidual.i dataAccountClient_card_fieldsWanted_vehicleSleeping.i dataAccountClient_card_fieldsWanted_vehicleWarranty.i dataAccountClient_card_fieldsWanted_vehicleFrequency.i dataAccountClient_card_fieldsWanted_vehicleAccessories.i dataAccountClient_card_fieldsWanted_vehicleCategory_rv.i dataAccountClient_card_fieldsWanted_vehiclePreparation.i dataAccountClient_card_fieldsWanted_vehicleInitial_cash.i dataAccountClient_card_fieldsWanted_vehicleOffer_number.i dataAccountClient_card_fieldsWanted_vehicleOrder_number.i dataAccountClient_card_fieldsWanted_vehicleTransmission.i dataAccountClient_card_fieldsWanted_vehicleDocumentation.i dataAccountClient_card_fieldsWanted_vehicleDrivingWheels.i dataAccountClient_card_fieldsWanted_vehicleColor_exterior.i dataAccountClient_card_fieldsWanted_vehicleColor_interior.i dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage.i dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit.i dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date.i dataAccountClient_card_fieldsExchange_vehicleVin.i dataAccountClient_card_fieldsExchange_vehicleFuel.i dataAccountClient_card_fieldsExchange_vehicleLink.i dataAccountClient_card_fieldsExchange_vehicleRate.i dataAccountClient_card_fieldsExchange_vehicleTerm.i dataAccountClient_card_fieldsExchange_vehicleYear.i dataAccountClient_card_fieldsExchange_vehicleColor.i dataAccountClient_card_fieldsExchange_vehiclePrice.i dataAccountClient_card_fieldsExchange_vehicleStock.i dataAccountClient_card_fieldsExchange_vehicleValue.i dataAccountClient_card_fieldsExchange_vehicleBudget.i dataAccountClient_card_fieldsExchange_vehicleEngine.i dataAccountClient_card_fieldsExchange_vehicleLength.i dataAccountClient_card_fieldsExchange_vehicleProfit.i dataAccountClient_card_fieldsExchange_vehicleSuffix.i dataAccountClient_card_fieldsExchange_vehicleWeight.i dataAccountClient_card_fieldsExchange_vehicleBalance.i dataAccountClient_card_fieldsExchange_vehicleComment.i dataAccountClient_card_fieldsExchange_vehicleMileage.i dataAccountClient_card_fieldsExchange_vehiclePayment.i dataAccountClient_card_fieldsExchange_vehicleRenewal.i dataAccountClient_card_fieldsExchange_vehicleSold_by.i dataAccountClient_card_fieldsExchange_vehicleBodyType.i dataAccountClient_card_fieldsExchange_vehicleCategory.i dataAccountClient_card_fieldsExchange_vehicleModality.i dataAccountClient_card_fieldsExchange_vehicleResidual.i dataAccountClient_card_fieldsExchange_vehicleSleeping.i dataAccountClient_card_fieldsExchange_vehicleWarranty.i dataAccountClient_card_fieldsExchange_vehicleCondition.i dataAccountClient_card_fieldsExchange_vehicleFrequency.i dataAccountClient_card_fieldsExchange_vehicleIntention.i dataAccountClient_card_fieldsExchange_vehicleRefinance.i dataAccountClient_card_fieldsExchange_vehicleRequested.i dataAccountClient_card_fieldsExchange_vehicleSold_date.i dataAccountClient_card_fieldsExchange_vehicleCategory_rv.i dataAccountClient_card_fieldsExchange_vehicleInstitution.i dataAccountClient_card_fieldsExchange_vehicleInitial_cash.i dataAccountClient_card_fieldsExchange_vehicleOffer_number.i dataAccountClient_card_fieldsExchange_vehicleTransmission.i dataAccountClient_card_fieldsExchange_vehicleDrivingWheels.i dataAccountClient_card_fieldsExchange_vehicleColor_exterior.i dataAccountClient_card_fieldsExchange_vehicleColor_interior.i dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage.i dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit.i dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date.i dataAccountClient_number.i dataAccountConfirmation_appt.i dataAccountCredit.i dataAccountCsi.i dataAccountCsi_used.i dataAccountDefault_deliveryman_user_id.s dataAccountDelivered_by.i dataAccountDisable_communication_audio.i dataAccountDuplicates.i dataAccountGuest_action.i dataAccountEmail_client.i dataAccountIn_turn.i dataAccountIn_turn_director_management.i dataAccountLeads_other_division.i dataAccountLeadxpress_optionPriority.i dataAccountLeadxpress_optionReminderFrequency.i dataAccountLeadxpress_optionReminderRecurrence.i dataAccountLeadxpress_optionScheduleAccount.i dataAccountLeadxpress_optionScheduleAdvisor.i dataAccountLimited_audio_access.i dataAccountLogo.s dataAccountLogo_en.s dataAccountMandatory_coordinate.i dataAccountManually_status.i dataAccountMerge_rule.s dataAccountMonth_start_day.i dataAccountName.s dataAccountNiotext.i dataAccountNiotext_phone.i dataAccountPhone.s dataAccountPower_sport.i dataAccountProcess.i dataAccountRecreative_special.i dataAccountResult_date_validation.i dataAccountSale_accessories.i dataAccountSale_by_phone.i dataAccountSale_date_month.i dataAccountSale_table_optionsAccessory_column.i dataAccountSale_table_optionsCommercial_column.i dataAccountSale_table_optionsDivision_grouped_total_column.i dataAccountSale_validation.i dataAccountScan.i dataAccountStock_required_for_sale.i dataAccountTake_over_director.i dataAccountTrade_report.i dataAccountUnrestricted_assignment.i dataAccountUnsubscribe.i dataAccountUntreated_lead.i dataAccountVehicle_model_text.i dataAccountVehicle_text.i dataAccountVerified_sale.i dataAccountVin_decoder.i dataAccountWaiting_sale_date.s dataAccountWaiting_sale_option.i dataAdvisor.s dataBdc.s dataCommercial.s dataService_advisor.s dataService_agent.s i.i count_i.i id.i created_at.s updated_at.s lead_id.i address.s v_type.s valid.i extension.s number.s validated.i mobile.i accessories.s allowed_odometer.s balance.i budget_max.s budget_min.s cash_down.s category.s category_rv.s client_number.s color_exterior.s color_interior.s comment.s condition.s end_contract_date.s end_warranty_date.s engine.s extended_warranty.s fuel.s length_max.s length_min.s license_plate.s make.s modality.s model.s odometer.s offer_number.s v_option.s order_number.s payment.s payment_frequency.s preparation.s price.s profit.s purchase_date.s rate.s recall.s recorded_date.s residual.s security_deposit.s sleeping.s sold.i sold_by.s sold_date.s stock.s stock_state.s term.s tire.i transmission.s trim.s url.s value.s vin.s warranty.s weight.s year.s year_max.s year_min.s dataId = CkJsonObject::ckIntOf(jsonResponse,"data.id") dataCreated_at = CkJsonObject::ckStringOf(jsonResponse,"data.created_at") dataUpdated_at = CkJsonObject::ckStringOf(jsonResponse,"data.updated_at") dataAccount_id = CkJsonObject::ckIntOf(jsonResponse,"data.account_id") dataAddress_line1 = CkJsonObject::ckStringOf(jsonResponse,"data.address_line1") dataAddress_line2 = CkJsonObject::ckStringOf(jsonResponse,"data.address_line2") dataAppointment_date = CkJsonObject::ckStringOf(jsonResponse,"data.appointment_date") dataAppt_call = CkJsonObject::ckBoolOf(jsonResponse,"data.appt_call") dataAvailable_date = CkJsonObject::ckStringOf(jsonResponse,"data.available_date") dataAverage_spending = CkJsonObject::ckStringOf(jsonResponse,"data.average_spending") dataBe_back_date = CkJsonObject::ckStringOf(jsonResponse,"data.be_back_date") dataBirth_date = CkJsonObject::ckStringOf(jsonResponse,"data.birth_date") dataBusiness = CkJsonObject::ckStringOf(jsonResponse,"data.business") dataCall_date = CkJsonObject::ckStringOf(jsonResponse,"data.call_date") dataCity = CkJsonObject::ckStringOf(jsonResponse,"data.city") dataCivility = CkJsonObject::ckStringOf(jsonResponse,"data.civility") dataCode = CkJsonObject::ckStringOf(jsonResponse,"data.code") dataCountry = CkJsonObject::ckStringOf(jsonResponse,"data.country") dataCsi_date = CkJsonObject::ckStringOf(jsonResponse,"data.csi_date") dataDelivered_by_id = CkJsonObject::ckStringOf(jsonResponse,"data.delivered_by_id") dataDelivered_date = CkJsonObject::ckStringOf(jsonResponse,"data.delivered_date") dataDelivery_date = CkJsonObject::ckStringOf(jsonResponse,"data.delivery_date") dataDivision = CkJsonObject::ckStringOf(jsonResponse,"data.division") dataEnd_service_date = CkJsonObject::ckStringOf(jsonResponse,"data.end_service_date") dataFirst_name = CkJsonObject::ckStringOf(jsonResponse,"data.first_name") dataGas = CkJsonObject::ckStringOf(jsonResponse,"data.gas") dataGender = CkJsonObject::ckIntOf(jsonResponse,"data.gender") dataInvoiced = CkJsonObject::ckBoolOf(jsonResponse,"data.invoiced") dataLast_name = CkJsonObject::ckStringOf(jsonResponse,"data.last_name") dataLast_visit_date = CkJsonObject::ckStringOf(jsonResponse,"data.last_visit_date") dataLocale = CkJsonObject::ckStringOf(jsonResponse,"data.locale") dataLoyalty = CkJsonObject::ckStringOf(jsonResponse,"data.loyalty") dataNext_visit_date = CkJsonObject::ckStringOf(jsonResponse,"data.next_visit_date") dataOdometer_last_visit = CkJsonObject::ckStringOf(jsonResponse,"data.odometer_last_visit") dataOpen_work_order_date = CkJsonObject::ckStringOf(jsonResponse,"data.open_work_order_date") dataPlanned_pick_up_date = CkJsonObject::ckStringOf(jsonResponse,"data.planned_pick_up_date") dataPostal_code = CkJsonObject::ckStringOf(jsonResponse,"data.postal_code") dataPrepaid = CkJsonObject::ckStringOf(jsonResponse,"data.prepaid") dataPrepared = CkJsonObject::ckBoolOf(jsonResponse,"data.prepared") dataPresented_date = CkJsonObject::ckStringOf(jsonResponse,"data.presented_date") dataPromised_date = CkJsonObject::ckStringOf(jsonResponse,"data.promised_date") dataProvince = CkJsonObject::ckStringOf(jsonResponse,"data.province") dataRating = CkJsonObject::ckStringOf(jsonResponse,"data.rating") dataReached_client = CkJsonObject::ckBoolOf(jsonResponse,"data.reached_client") dataRefinanced_date = CkJsonObject::ckStringOf(jsonResponse,"data.refinanced_date") dataRepair_date = CkJsonObject::ckStringOf(jsonResponse,"data.repair_date") dataRepair_order = CkJsonObject::ckStringOf(jsonResponse,"data.repair_order") dataResult = CkJsonObject::ckStringOf(jsonResponse,"data.result") dataRoad_test_date = CkJsonObject::ckStringOf(jsonResponse,"data.road_test_date") dataSale_date = CkJsonObject::ckStringOf(jsonResponse,"data.sale_date") dataSecond_contact = CkJsonObject::ckStringOf(jsonResponse,"data.second_contact") dataSecond_contact_civility = CkJsonObject::ckStringOf(jsonResponse,"data.second_contact_civility") dataSegment = CkJsonObject::ckStringOf(jsonResponse,"data.segment") dataService_cleaned = CkJsonObject::ckBoolOf(jsonResponse,"data.service_cleaned") dataService_interval_km = CkJsonObject::ckStringOf(jsonResponse,"data.service_interval_km") dataService_monthly_km = CkJsonObject::ckStringOf(jsonResponse,"data.service_monthly_km") dataService_processIntention = CkJsonObject::ckStringOf(jsonResponse,"data.service_process.intention") dataService_processTransport = CkJsonObject::ckStringOf(jsonResponse,"data.service_process.transport") dataService_processWalk_around = CkJsonObject::ckStringOf(jsonResponse,"data.service_process.walk_around") dataSex = CkJsonObject::ckStringOf(jsonResponse,"data.sex") dataSource = CkJsonObject::ckStringOf(jsonResponse,"data.source") dataStatus = CkJsonObject::ckStringOf(jsonResponse,"data.status") dataStorage = CkJsonObject::ckStringOf(jsonResponse,"data.storage") dataTake_over_date = CkJsonObject::ckStringOf(jsonResponse,"data.take_over_date") dataType = CkJsonObject::ckStringOf(jsonResponse,"data.type") dataUnsubscribe_all_date = CkJsonObject::ckStringOf(jsonResponse,"data.unsubscribe_all_date") dataUnsubscribe_call_date = CkJsonObject::ckStringOf(jsonResponse,"data.unsubscribe_call_date") dataUnsubscribe_email_date = CkJsonObject::ckStringOf(jsonResponse,"data.unsubscribe_email_date") dataUnsubscribe_sms_date = CkJsonObject::ckStringOf(jsonResponse,"data.unsubscribe_sms_date") dataWork_order = CkJsonObject::ckStringOf(jsonResponse,"data.work_order") dataAccountId = CkJsonObject::ckIntOf(jsonResponse,"data.account.id") dataAccountCreated_at = CkJsonObject::ckStringOf(jsonResponse,"data.account.created_at") dataAccountUpdated_at = CkJsonObject::ckStringOf(jsonResponse,"data.account.updated_at") dataAccountPartner_id = CkJsonObject::ckIntOf(jsonResponse,"data.account.partner_id") dataAccountActivity_report = CkJsonObject::ckBoolOf(jsonResponse,"data.account.activity_report") dataAccountCommercial = CkJsonObject::ckBoolOf(jsonResponse,"data.account.commercial") dataAccountEvent = CkJsonObject::ckBoolOf(jsonResponse,"data.account.event") dataAccountLeadxpress = CkJsonObject::ckBoolOf(jsonResponse,"data.account.leadxpress") dataAccountLoyalty = CkJsonObject::ckBoolOf(jsonResponse,"data.account.loyalty") dataAccountPhone_up = CkJsonObject::ckBoolOf(jsonResponse,"data.account.phone_up") dataAccountRenewal = CkJsonObject::ckBoolOf(jsonResponse,"data.account.renewal") dataAccountSale_table = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_table") dataAccountService = CkJsonObject::ckBoolOf(jsonResponse,"data.account.service") dataAccountWalk_in = CkJsonObject::ckBoolOf(jsonResponse,"data.account.walk_in") dataAccountWebboost = CkJsonObject::ckBoolOf(jsonResponse,"data.account.webboost") dataAccountAccount_manager = CkJsonObject::ckBoolOf(jsonResponse,"data.account.account_manager") dataAccountActivation_date = CkJsonObject::ckStringOf(jsonResponse,"data.account.activation_date") dataAccountActive = CkJsonObject::ckBoolOf(jsonResponse,"data.account.active") dataAccountAssigned_lead = CkJsonObject::ckBoolOf(jsonResponse,"data.account.assigned_lead") dataAccountAuto_renewal = CkJsonObject::ckBoolOf(jsonResponse,"data.account.auto_renewal") dataAccountAuto_renewal_new = CkJsonObject::ckBoolOf(jsonResponse,"data.account.auto_renewal_new") dataAccountAuto_renewal_used = CkJsonObject::ckBoolOf(jsonResponse,"data.account.auto_renewal_used") dataAccountAutomation = CkJsonObject::ckBoolOf(jsonResponse,"data.account.automation") dataAccountBdc_advisor = CkJsonObject::ckBoolOf(jsonResponse,"data.account.bdc_advisor") dataAccountCalendar_options = CkJsonObject::ckBoolOf(jsonResponse,"data.account.calendar_options") dataAccountClient_card_fieldsProcessGas = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.process.gas") dataAccountClient_card_fieldsProcessRecorded = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.process.recorded") dataAccountClient_card_fieldsProcessAvailable = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.process.available") dataAccountClient_card_fieldsProcessDiscounted = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.process.discounted") dataAccountClient_card_fieldsCommercialProfit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.commercial.profit") dataAccountClient_card_fieldsCommercialExclude = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.commercial.exclude") dataAccountClient_card_fieldsCommercialMeeting = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.commercial.meeting") dataAccountClient_card_fieldsPerformanceDeposit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.deposit") dataAccountClient_card_fieldsPerformanceRefinanced = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.refinanced") dataAccountClient_card_fieldsPerformanceDealer_tour = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.dealer_tour") dataAccountClient_card_fieldsPerformanceWalk_around = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.walk_around") dataAccountClient_card_fieldsPerformanceQualification = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.qualification") dataAccountClient_card_fieldsPerformanceTwenty_four_hour = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.performance.twenty_four_hour") dataAccountClient_card_fieldsGeneral_infoBudget = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.budget") dataAccountClient_card_fieldsGeneral_infoSector = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.sector") dataAccountClient_card_fieldsGeneral_infoCustom_1 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_1") dataAccountClient_card_fieldsGeneral_infoCustom_2 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_2") dataAccountClient_card_fieldsGeneral_infoCustom_3 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_3") dataAccountClient_card_fieldsGeneral_infoCustom_4 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_4") dataAccountClient_card_fieldsGeneral_infoCustom_5 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_5") dataAccountClient_card_fieldsGeneral_infoCustom_6 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_6") dataAccountClient_card_fieldsGeneral_infoCustom_7 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_7") dataAccountClient_card_fieldsGeneral_infoCustom_8 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_8") dataAccountClient_card_fieldsGeneral_infoCustom_9 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_9") dataAccountClient_card_fieldsGeneral_infoCustom_10 = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.custom_10") dataAccountClient_card_fieldsGeneral_infoCommunication_preference = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.general_info.communication_preference") dataAccountClient_card_fieldsWanted_vehicleVin = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.vin") dataAccountClient_card_fieldsWanted_vehicleFuel = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.fuel") dataAccountClient_card_fieldsWanted_vehicleRate = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.rate") dataAccountClient_card_fieldsWanted_vehicleTerm = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.term") dataAccountClient_card_fieldsWanted_vehicleTire = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.tire") dataAccountClient_card_fieldsWanted_vehicleYear = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.year") dataAccountClient_card_fieldsWanted_vehicleColor = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.color") dataAccountClient_card_fieldsWanted_vehiclePrice = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.price") dataAccountClient_card_fieldsWanted_vehicleStock = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.stock") dataAccountClient_card_fieldsWanted_vehicleTotal = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.total") dataAccountClient_card_fieldsWanted_vehicleBudget = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.budget") dataAccountClient_card_fieldsWanted_vehicleEngine = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.engine") dataAccountClient_card_fieldsWanted_vehicleLength = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.length") dataAccountClient_card_fieldsWanted_vehicleProfit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.profit") dataAccountClient_card_fieldsWanted_vehicleSuffix = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.suffix") dataAccountClient_card_fieldsWanted_vehicleWeight = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.weight") dataAccountClient_card_fieldsWanted_vehicleComment = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.comment") dataAccountClient_card_fieldsWanted_vehicleMileage = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.mileage") dataAccountClient_card_fieldsWanted_vehiclePayment = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.payment") dataAccountClient_card_fieldsWanted_vehicleBodyType = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.bodyType") dataAccountClient_card_fieldsWanted_vehicleCategory = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.category") dataAccountClient_card_fieldsWanted_vehicleModality = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.modality") dataAccountClient_card_fieldsWanted_vehicleResidual = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.residual") dataAccountClient_card_fieldsWanted_vehicleSleeping = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.sleeping") dataAccountClient_card_fieldsWanted_vehicleWarranty = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.warranty") dataAccountClient_card_fieldsWanted_vehicleFrequency = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.frequency") dataAccountClient_card_fieldsWanted_vehicleAccessories = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.accessories") dataAccountClient_card_fieldsWanted_vehicleCategory_rv = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.category_rv") dataAccountClient_card_fieldsWanted_vehiclePreparation = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.preparation") dataAccountClient_card_fieldsWanted_vehicleInitial_cash = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.initial_cash") dataAccountClient_card_fieldsWanted_vehicleOffer_number = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.offer_number") dataAccountClient_card_fieldsWanted_vehicleOrder_number = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.order_number") dataAccountClient_card_fieldsWanted_vehicleTransmission = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.transmission") dataAccountClient_card_fieldsWanted_vehicleDocumentation = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.documentation") dataAccountClient_card_fieldsWanted_vehicleDrivingWheels = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.drivingWheels") dataAccountClient_card_fieldsWanted_vehicleColor_exterior = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.color_exterior") dataAccountClient_card_fieldsWanted_vehicleColor_interior = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.color_interior") dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.allowed_mileage") dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.security_deposit") dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.wanted_vehicle.end_contract_date") dataAccountClient_card_fieldsExchange_vehicleVin = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.vin") dataAccountClient_card_fieldsExchange_vehicleFuel = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.fuel") dataAccountClient_card_fieldsExchange_vehicleLink = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.link") dataAccountClient_card_fieldsExchange_vehicleRate = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.rate") dataAccountClient_card_fieldsExchange_vehicleTerm = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.term") dataAccountClient_card_fieldsExchange_vehicleYear = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.year") dataAccountClient_card_fieldsExchange_vehicleColor = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.color") dataAccountClient_card_fieldsExchange_vehiclePrice = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.price") dataAccountClient_card_fieldsExchange_vehicleStock = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.stock") dataAccountClient_card_fieldsExchange_vehicleValue = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.value") dataAccountClient_card_fieldsExchange_vehicleBudget = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.budget") dataAccountClient_card_fieldsExchange_vehicleEngine = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.engine") dataAccountClient_card_fieldsExchange_vehicleLength = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.length") dataAccountClient_card_fieldsExchange_vehicleProfit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.profit") dataAccountClient_card_fieldsExchange_vehicleSuffix = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.suffix") dataAccountClient_card_fieldsExchange_vehicleWeight = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.weight") dataAccountClient_card_fieldsExchange_vehicleBalance = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.balance") dataAccountClient_card_fieldsExchange_vehicleComment = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.comment") dataAccountClient_card_fieldsExchange_vehicleMileage = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.mileage") dataAccountClient_card_fieldsExchange_vehiclePayment = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.payment") dataAccountClient_card_fieldsExchange_vehicleRenewal = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.renewal") dataAccountClient_card_fieldsExchange_vehicleSold_by = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.sold_by") dataAccountClient_card_fieldsExchange_vehicleBodyType = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.bodyType") dataAccountClient_card_fieldsExchange_vehicleCategory = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.category") dataAccountClient_card_fieldsExchange_vehicleModality = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.modality") dataAccountClient_card_fieldsExchange_vehicleResidual = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.residual") dataAccountClient_card_fieldsExchange_vehicleSleeping = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.sleeping") dataAccountClient_card_fieldsExchange_vehicleWarranty = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.warranty") dataAccountClient_card_fieldsExchange_vehicleCondition = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.condition") dataAccountClient_card_fieldsExchange_vehicleFrequency = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.frequency") dataAccountClient_card_fieldsExchange_vehicleIntention = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.intention") dataAccountClient_card_fieldsExchange_vehicleRefinance = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.refinance") dataAccountClient_card_fieldsExchange_vehicleRequested = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.requested") dataAccountClient_card_fieldsExchange_vehicleSold_date = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.sold_date") dataAccountClient_card_fieldsExchange_vehicleCategory_rv = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.category_rv") dataAccountClient_card_fieldsExchange_vehicleInstitution = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.institution") dataAccountClient_card_fieldsExchange_vehicleInitial_cash = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.initial_cash") dataAccountClient_card_fieldsExchange_vehicleOffer_number = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.offer_number") dataAccountClient_card_fieldsExchange_vehicleTransmission = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.transmission") dataAccountClient_card_fieldsExchange_vehicleDrivingWheels = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.drivingWheels") dataAccountClient_card_fieldsExchange_vehicleColor_exterior = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.color_exterior") dataAccountClient_card_fieldsExchange_vehicleColor_interior = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.color_interior") dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.allowed_mileage") dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.security_deposit") dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_card_fields.exchange_vehicle.end_contract_date") dataAccountClient_number = CkJsonObject::ckBoolOf(jsonResponse,"data.account.client_number") dataAccountConfirmation_appt = CkJsonObject::ckBoolOf(jsonResponse,"data.account.confirmation_appt") dataAccountCredit = CkJsonObject::ckBoolOf(jsonResponse,"data.account.credit") dataAccountCsi = CkJsonObject::ckBoolOf(jsonResponse,"data.account.csi") dataAccountCsi_used = CkJsonObject::ckBoolOf(jsonResponse,"data.account.csi_used") dataAccountDefault_deliveryman_user_id = CkJsonObject::ckStringOf(jsonResponse,"data.account.default_deliveryman_user_id") dataAccountDelivered_by = CkJsonObject::ckBoolOf(jsonResponse,"data.account.delivered_by") dataAccountDisable_communication_audio = CkJsonObject::ckBoolOf(jsonResponse,"data.account.disable_communication_audio") dataAccountDuplicates = CkJsonObject::ckBoolOf(jsonResponse,"data.account.duplicates") dataAccountGuest_action = CkJsonObject::ckBoolOf(jsonResponse,"data.account.guest_action") dataAccountEmail_client = CkJsonObject::ckBoolOf(jsonResponse,"data.account.email_client") dataAccountIn_turn = CkJsonObject::ckBoolOf(jsonResponse,"data.account.in_turn") dataAccountIn_turn_director_management = CkJsonObject::ckBoolOf(jsonResponse,"data.account.in_turn_director_management") dataAccountLeads_other_division = CkJsonObject::ckBoolOf(jsonResponse,"data.account.leads_other_division") dataAccountLeadxpress_optionPriority = CkJsonObject::ckIntOf(jsonResponse,"data.account.leadxpress_option.priority") dataAccountLeadxpress_optionReminderFrequency = CkJsonObject::ckIntOf(jsonResponse,"data.account.leadxpress_option.reminder.frequency") dataAccountLeadxpress_optionReminderRecurrence = CkJsonObject::ckIntOf(jsonResponse,"data.account.leadxpress_option.reminder.recurrence") dataAccountLeadxpress_optionScheduleAccount = CkJsonObject::ckBoolOf(jsonResponse,"data.account.leadxpress_option.schedule.account") dataAccountLeadxpress_optionScheduleAdvisor = CkJsonObject::ckBoolOf(jsonResponse,"data.account.leadxpress_option.schedule.advisor") dataAccountLimited_audio_access = CkJsonObject::ckBoolOf(jsonResponse,"data.account.limited_audio_access") dataAccountLogo = CkJsonObject::ckStringOf(jsonResponse,"data.account.logo") dataAccountLogo_en = CkJsonObject::ckStringOf(jsonResponse,"data.account.logo_en") dataAccountMandatory_coordinate = CkJsonObject::ckBoolOf(jsonResponse,"data.account.mandatory_coordinate") dataAccountManually_status = CkJsonObject::ckBoolOf(jsonResponse,"data.account.manually_status") dataAccountMerge_rule = CkJsonObject::ckStringOf(jsonResponse,"data.account.merge_rule") dataAccountMonth_start_day = CkJsonObject::ckIntOf(jsonResponse,"data.account.month_start_day") dataAccountName = CkJsonObject::ckStringOf(jsonResponse,"data.account.name") dataAccountNiotext = CkJsonObject::ckBoolOf(jsonResponse,"data.account.niotext") dataAccountNiotext_phone = CkJsonObject::ckBoolOf(jsonResponse,"data.account.niotext_phone") dataAccountPhone = CkJsonObject::ckStringOf(jsonResponse,"data.account.phone") dataAccountPower_sport = CkJsonObject::ckBoolOf(jsonResponse,"data.account.power_sport") dataAccountProcess = CkJsonObject::ckBoolOf(jsonResponse,"data.account.process") dataAccountRecreative_special = CkJsonObject::ckBoolOf(jsonResponse,"data.account.recreative_special") dataAccountResult_date_validation = CkJsonObject::ckBoolOf(jsonResponse,"data.account.result_date_validation") dataAccountSale_accessories = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_accessories") dataAccountSale_by_phone = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_by_phone") dataAccountSale_date_month = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_date_month") dataAccountSale_table_optionsAccessory_column = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_table_options.accessory_column") dataAccountSale_table_optionsCommercial_column = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_table_options.commercial_column") dataAccountSale_table_optionsDivision_grouped_total_column = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_table_options.division_grouped_total_column") dataAccountSale_validation = CkJsonObject::ckBoolOf(jsonResponse,"data.account.sale_validation") dataAccountScan = CkJsonObject::ckBoolOf(jsonResponse,"data.account.scan") dataAccountStock_required_for_sale = CkJsonObject::ckBoolOf(jsonResponse,"data.account.stock_required_for_sale") dataAccountTake_over_director = CkJsonObject::ckBoolOf(jsonResponse,"data.account.take_over_director") dataAccountTrade_report = CkJsonObject::ckBoolOf(jsonResponse,"data.account.trade_report") dataAccountUnrestricted_assignment = CkJsonObject::ckBoolOf(jsonResponse,"data.account.unrestricted_assignment") dataAccountUnsubscribe = CkJsonObject::ckBoolOf(jsonResponse,"data.account.unsubscribe") dataAccountUntreated_lead = CkJsonObject::ckBoolOf(jsonResponse,"data.account.untreated_lead") dataAccountVehicle_model_text = CkJsonObject::ckBoolOf(jsonResponse,"data.account.vehicle_model_text") dataAccountVehicle_text = CkJsonObject::ckBoolOf(jsonResponse,"data.account.vehicle_text") dataAccountVerified_sale = CkJsonObject::ckBoolOf(jsonResponse,"data.account.verified_sale") dataAccountVin_decoder = CkJsonObject::ckBoolOf(jsonResponse,"data.account.vin_decoder") dataAccountWaiting_sale_date = CkJsonObject::ckStringOf(jsonResponse,"data.account.waiting_sale_date") dataAccountWaiting_sale_option = CkJsonObject::ckBoolOf(jsonResponse,"data.account.waiting_sale_option") dataAdvisor = CkJsonObject::ckStringOf(jsonResponse,"data.advisor") dataBdc = CkJsonObject::ckStringOf(jsonResponse,"data.bdc") dataCommercial = CkJsonObject::ckStringOf(jsonResponse,"data.commercial") dataService_advisor = CkJsonObject::ckStringOf(jsonResponse,"data.service_advisor") dataService_agent = CkJsonObject::ckStringOf(jsonResponse,"data.service_agent") i = 0 count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"data.emails") While i < count_i CkJsonObject::setCkI(jsonResponse, i) id = CkJsonObject::ckIntOf(jsonResponse,"data.emails[i].id") created_at = CkJsonObject::ckStringOf(jsonResponse,"data.emails[i].created_at") updated_at = CkJsonObject::ckStringOf(jsonResponse,"data.emails[i].updated_at") lead_id = CkJsonObject::ckIntOf(jsonResponse,"data.emails[i].lead_id") address = CkJsonObject::ckStringOf(jsonResponse,"data.emails[i].address") v_type = CkJsonObject::ckStringOf(jsonResponse,"data.emails[i].type") valid = CkJsonObject::ckBoolOf(jsonResponse,"data.emails[i].valid") i = i + 1 Wend i = 0 count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"data.phones") While i < count_i CkJsonObject::setCkI(jsonResponse, i) id = CkJsonObject::ckIntOf(jsonResponse,"data.phones[i].id") created_at = CkJsonObject::ckStringOf(jsonResponse,"data.phones[i].created_at") updated_at = CkJsonObject::ckStringOf(jsonResponse,"data.phones[i].updated_at") lead_id = CkJsonObject::ckIntOf(jsonResponse,"data.phones[i].lead_id") extension = CkJsonObject::ckStringOf(jsonResponse,"data.phones[i].extension") number = CkJsonObject::ckStringOf(jsonResponse,"data.phones[i].number") v_type = CkJsonObject::ckStringOf(jsonResponse,"data.phones[i].type") valid = CkJsonObject::ckBoolOf(jsonResponse,"data.phones[i].valid") validated = CkJsonObject::ckBoolOf(jsonResponse,"data.phones[i].validated") mobile = CkJsonObject::ckBoolOf(jsonResponse,"data.phones[i].mobile") i = i + 1 Wend i = 0 count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"data.vehicles") While i < count_i CkJsonObject::setCkI(jsonResponse, i) id = CkJsonObject::ckIntOf(jsonResponse,"data.vehicles[i].id") created_at = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].created_at") updated_at = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].updated_at") lead_id = CkJsonObject::ckIntOf(jsonResponse,"data.vehicles[i].lead_id") accessories = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].accessories") allowed_odometer = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].allowed_odometer") balance = CkJsonObject::ckIntOf(jsonResponse,"data.vehicles[i].balance") budget_max = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].budget_max") budget_min = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].budget_min") cash_down = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].cash_down") category = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].category") category_rv = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].category_rv") client_number = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].client_number") color_exterior = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].color_exterior") color_interior = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].color_interior") comment = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].comment") condition = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].condition") end_contract_date = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].end_contract_date") end_warranty_date = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].end_warranty_date") engine = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].engine") extended_warranty = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].extended_warranty") fuel = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].fuel") length_max = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].length_max") length_min = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].length_min") license_plate = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].license_plate") make = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].make") modality = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].modality") model = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].model") odometer = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].odometer") offer_number = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].offer_number") v_option = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].option") order_number = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].order_number") payment = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].payment") payment_frequency = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].payment_frequency") preparation = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].preparation") price = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].price") profit = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].profit") purchase_date = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].purchase_date") rate = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].rate") recall = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].recall") recorded_date = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].recorded_date") residual = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].residual") security_deposit = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].security_deposit") sleeping = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].sleeping") sold = CkJsonObject::ckBoolOf(jsonResponse,"data.vehicles[i].sold") sold_by = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].sold_by") sold_date = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].sold_date") stock = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].stock") stock_state = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].stock_state") term = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].term") tire = CkJsonObject::ckBoolOf(jsonResponse,"data.vehicles[i].tire") transmission = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].transmission") trim = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].trim") v_type = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].type") url = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].url") value = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].value") vin = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].vin") warranty = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].warranty") weight = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].weight") year = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].year") year_max = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].year_max") year_min = CkJsonObject::ckStringOf(jsonResponse,"data.vehicles[i].year_min") i = i + 1 Wend i = 0 count_i = CkJsonObject::ckSizeOfArray(jsonResponse,"data.related_ids") While i < count_i CkJsonObject::setCkI(jsonResponse, i) i = i + 1 Wend CkHttp::ckDispose(http) CkJsonObject::ckDispose(jsonRequestBody) CkJsonObject::ckDispose(jsonResponse) ProcedureReturn EndProcedure |
© 2000-2024 Chilkat Software, Inc. All Rights Reserved.