Chilkat Examples

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

PureBasic Web API Examples

Primary Categories

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

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

 

 

 

(PureBasic) Activix CRM Search for Leads

Demonstrates 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

Chilkat PureBasic Module Download

Chilkat PureBasic Module

IncludeFile "CkJsonObject.pb"
IncludeFile "CkHttp.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")

    strResp.s = CkHttp::ckQuickGetStr(http,"https://crm.activix.ca/api/v2/leads/search?query=Doe")
    If CkHttp::ckLastMethodSuccess(http) <> 1
        Debug CkHttp::ckLastErrorText(http)
        CkHttp::ckDispose(http)
        ProcedureReturn
    EndIf

    Debug "Response Status Code: " + Str(CkHttp::ckLastStatus(http))

    jsonResponse.i = CkJsonObject::ckCreate()
    If jsonResponse.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkJsonObject::ckLoad(jsonResponse,strResp)
    CkJsonObject::setCkEmitCompact(jsonResponse, 0)
    Debug CkJsonObject::ckEmit(jsonResponse)

    If CkHttp::ckLastStatus(http) <> 200
        Debug "Failed."
        CkHttp::ckDispose(http)
        CkJsonObject::ckDispose(jsonResponse)
        ProcedureReturn
    EndIf

    ; 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.s
    linksLast.s
    linksPrev.s
    linksNext.s
    metaCurrent_page.i
    metaFrom.i
    metaLast_page.i
    metaPath.s
    metaPer_page.i
    metaTo.i
    metaTotal.i
    i.i
    count_i.i
    id.i
    created_at.s
    updated_at.s
    account_id.i
    address_line1.s
    address_line2.s
    appointment_date.s
    appt_call.i
    available_date.s
    average_spending.s
    be_back_date.s
    birth_date.s
    business.s
    call_date.s
    city.s
    civility.s
    code.s
    country.s
    csi_date.s
    delivered_by_id.s
    delivered_date.s
    delivery_date.s
    division.s
    end_service_date.s
    first_name.s
    gas.s
    gender.i
    invoiced.i
    last_name.s
    last_visit_date.s
    locale.s
    loyalty.s
    next_visit_date.s
    odometer_last_visit.s
    open_work_order_date.s
    planned_pick_up_date.s
    postal_code.s
    prepaid.s
    prepared.i
    presented_date.s
    promised_date.s
    province.s
    rating.s
    reached_client.i
    refinanced_date.s
    repair_date.s
    repair_order.s
    result.s
    road_test_date.s
    sale_date.s
    second_contact.s
    second_contact_civility.s
    segment.s
    service_cleaned.i
    service_interval_km.s
    service_monthly_km.s
    service_processIntention.s
    service_processTransport.s
    service_processWalk_around.s
    sex.s
    source.s
    status.s
    storage.s
    take_over_date.s
    v_type.s
    unsubscribe_all_date.s
    unsubscribe_call_date.s
    unsubscribe_email_date.s
    unsubscribe_sms_date.s
    work_order.s
    accountId.i
    accountCreated_at.s
    accountUpdated_at.s
    accountPartner_id.i
    accountActivity_report.i
    accountCommercial.i
    accountEvent.i
    accountLeadxpress.i
    accountLoyalty.i
    accountPhone_up.i
    accountRenewal.i
    accountSale_table.i
    accountService.i
    accountWalk_in.i
    accountWebboost.i
    accountAccount_manager.i
    accountActivation_date.s
    accountActive.i
    accountAssigned_lead.i
    accountAuto_renewal.i
    accountAuto_renewal_new.i
    accountAuto_renewal_used.i
    accountAutomation.i
    accountBdc_advisor.i
    accountCalendar_options.i
    accountClient_card_fieldsProcessGas.i
    accountClient_card_fieldsProcessRecorded.i
    accountClient_card_fieldsProcessAvailable.i
    accountClient_card_fieldsProcessDiscounted.i
    accountClient_card_fieldsCommercialProfit.i
    accountClient_card_fieldsCommercialExclude.i
    accountClient_card_fieldsCommercialMeeting.i
    accountClient_card_fieldsPerformanceDeposit.i
    accountClient_card_fieldsPerformanceRefinanced.i
    accountClient_card_fieldsPerformanceDealer_tour.i
    accountClient_card_fieldsPerformanceWalk_around.i
    accountClient_card_fieldsPerformanceQualification.i
    accountClient_card_fieldsPerformanceTwenty_four_hour.i
    accountClient_card_fieldsGeneral_infoBudget.i
    accountClient_card_fieldsGeneral_infoSector.i
    accountClient_card_fieldsGeneral_infoCustom_1.i
    accountClient_card_fieldsGeneral_infoCustom_2.i
    accountClient_card_fieldsGeneral_infoCustom_3.i
    accountClient_card_fieldsGeneral_infoCustom_4.i
    accountClient_card_fieldsGeneral_infoCustom_5.i
    accountClient_card_fieldsGeneral_infoCustom_6.i
    accountClient_card_fieldsGeneral_infoCustom_7.i
    accountClient_card_fieldsGeneral_infoCustom_8.i
    accountClient_card_fieldsGeneral_infoCustom_9.i
    accountClient_card_fieldsGeneral_infoCustom_10.i
    accountClient_card_fieldsGeneral_infoCommunication_preference.i
    accountClient_card_fieldsWanted_vehicleVin.i
    accountClient_card_fieldsWanted_vehicleFuel.i
    accountClient_card_fieldsWanted_vehicleRate.i
    accountClient_card_fieldsWanted_vehicleTerm.i
    accountClient_card_fieldsWanted_vehicleTire.i
    accountClient_card_fieldsWanted_vehicleYear.i
    accountClient_card_fieldsWanted_vehicleColor.i
    accountClient_card_fieldsWanted_vehiclePrice.i
    accountClient_card_fieldsWanted_vehicleStock.i
    accountClient_card_fieldsWanted_vehicleTotal.i
    accountClient_card_fieldsWanted_vehicleBudget.i
    accountClient_card_fieldsWanted_vehicleEngine.i
    accountClient_card_fieldsWanted_vehicleLength.i
    accountClient_card_fieldsWanted_vehicleProfit.i
    accountClient_card_fieldsWanted_vehicleSuffix.i
    accountClient_card_fieldsWanted_vehicleWeight.i
    accountClient_card_fieldsWanted_vehicleComment.i
    accountClient_card_fieldsWanted_vehicleMileage.i
    accountClient_card_fieldsWanted_vehiclePayment.i
    accountClient_card_fieldsWanted_vehicleBodyType.i
    accountClient_card_fieldsWanted_vehicleCategory.i
    accountClient_card_fieldsWanted_vehicleModality.i
    accountClient_card_fieldsWanted_vehicleResidual.i
    accountClient_card_fieldsWanted_vehicleSleeping.i
    accountClient_card_fieldsWanted_vehicleWarranty.i
    accountClient_card_fieldsWanted_vehicleFrequency.i
    accountClient_card_fieldsWanted_vehicleAccessories.i
    accountClient_card_fieldsWanted_vehicleCategory_rv.i
    accountClient_card_fieldsWanted_vehiclePreparation.i
    accountClient_card_fieldsWanted_vehicleInitial_cash.i
    accountClient_card_fieldsWanted_vehicleOffer_number.i
    accountClient_card_fieldsWanted_vehicleOrder_number.i
    accountClient_card_fieldsWanted_vehicleTransmission.i
    accountClient_card_fieldsWanted_vehicleDocumentation.i
    accountClient_card_fieldsWanted_vehicleDrivingWheels.i
    accountClient_card_fieldsWanted_vehicleColor_exterior.i
    accountClient_card_fieldsWanted_vehicleColor_interior.i
    accountClient_card_fieldsWanted_vehicleAllowed_mileage.i
    accountClient_card_fieldsWanted_vehicleSecurity_deposit.i
    accountClient_card_fieldsWanted_vehicleEnd_contract_date.i
    accountClient_card_fieldsExchange_vehicleVin.i
    accountClient_card_fieldsExchange_vehicleFuel.i
    accountClient_card_fieldsExchange_vehicleLink.i
    accountClient_card_fieldsExchange_vehicleRate.i
    accountClient_card_fieldsExchange_vehicleTerm.i
    accountClient_card_fieldsExchange_vehicleYear.i
    accountClient_card_fieldsExchange_vehicleColor.i
    accountClient_card_fieldsExchange_vehiclePrice.i
    accountClient_card_fieldsExchange_vehicleStock.i
    accountClient_card_fieldsExchange_vehicleValue.i
    accountClient_card_fieldsExchange_vehicleBudget.i
    accountClient_card_fieldsExchange_vehicleEngine.i
    accountClient_card_fieldsExchange_vehicleLength.i
    accountClient_card_fieldsExchange_vehicleProfit.i
    accountClient_card_fieldsExchange_vehicleSuffix.i
    accountClient_card_fieldsExchange_vehicleWeight.i
    accountClient_card_fieldsExchange_vehicleBalance.i
    accountClient_card_fieldsExchange_vehicleComment.i
    accountClient_card_fieldsExchange_vehicleMileage.i
    accountClient_card_fieldsExchange_vehiclePayment.i
    accountClient_card_fieldsExchange_vehicleRenewal.i
    accountClient_card_fieldsExchange_vehicleSold_by.i
    accountClient_card_fieldsExchange_vehicleBodyType.i
    accountClient_card_fieldsExchange_vehicleCategory.i
    accountClient_card_fieldsExchange_vehicleModality.i
    accountClient_card_fieldsExchange_vehicleResidual.i
    accountClient_card_fieldsExchange_vehicleSleeping.i
    accountClient_card_fieldsExchange_vehicleWarranty.i
    accountClient_card_fieldsExchange_vehicleCondition.i
    accountClient_card_fieldsExchange_vehicleFrequency.i
    accountClient_card_fieldsExchange_vehicleIntention.i
    accountClient_card_fieldsExchange_vehicleRefinance.i
    accountClient_card_fieldsExchange_vehicleRequested.i
    accountClient_card_fieldsExchange_vehicleSold_date.i
    accountClient_card_fieldsExchange_vehicleCategory_rv.i
    accountClient_card_fieldsExchange_vehicleInstitution.i
    accountClient_card_fieldsExchange_vehicleInitial_cash.i
    accountClient_card_fieldsExchange_vehicleOffer_number.i
    accountClient_card_fieldsExchange_vehicleTransmission.i
    accountClient_card_fieldsExchange_vehicleDrivingWheels.i
    accountClient_card_fieldsExchange_vehicleColor_exterior.i
    accountClient_card_fieldsExchange_vehicleColor_interior.i
    accountClient_card_fieldsExchange_vehicleAllowed_mileage.i
    accountClient_card_fieldsExchange_vehicleSecurity_deposit.i
    accountClient_card_fieldsExchange_vehicleEnd_contract_date.i
    accountClient_number.i
    accountConfirmation_appt.i
    accountCredit.i
    accountCsi.i
    accountCsi_used.i
    accountDefault_deliveryman_user_id.s
    accountDelivered_by.i
    accountDisable_communication_audio.i
    accountDuplicates.i
    accountGuest_action.i
    accountEmail_client.i
    accountIn_turn.i
    accountIn_turn_director_management.i
    accountLeads_other_division.i
    accountLeadxpress_optionPriority.i
    accountLeadxpress_optionReminderFrequency.i
    accountLeadxpress_optionReminderRecurrence.i
    accountLeadxpress_optionScheduleAccount.i
    accountLeadxpress_optionScheduleAdvisor.i
    accountLimited_audio_access.i
    accountLogo.s
    accountLogo_en.s
    accountMandatory_coordinate.i
    accountManually_status.i
    accountMerge_rule.s
    accountMonth_start_day.i
    accountName.s
    accountNiotext.i
    accountNiotext_phone.i
    accountPhone.s
    accountPower_sport.i
    accountProcess.i
    accountRecreative_special.i
    accountResult_date_validation.i
    accountSale_accessories.i
    accountSale_by_phone.i
    accountSale_date_month.i
    accountSale_table_optionsAccessory_column.i
    accountSale_table_optionsCommercial_column.i
    accountSale_table_optionsDivision_grouped_total_column.i
    accountSale_validation.i
    accountScan.i
    accountStock_required_for_sale.i
    accountTake_over_director.i
    accountTrade_report.i
    accountUnrestricted_assignment.i
    accountUnsubscribe.i
    accountUntreated_lead.i
    accountVehicle_model_text.i
    accountVehicle_text.i
    accountVerified_sale.i
    accountVin_decoder.i
    accountWaiting_sale_date.s
    accountWaiting_sale_option.i
    advisor.s
    j.i
    count_j.i
    lead_id.i
    address.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

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


    CkHttp::ckDispose(http)
    CkJsonObject::ckDispose(jsonResponse)


    ProcedureReturn
EndProcedure

 

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