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

Swift 3,4,5... 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
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

 

 

 

(Swift 3,4,5...) Activix CRM Update a Lead

Demonstrates how to update a lead and returns the updated lead.

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

Chilkat Downloads for the Swift Programming Language

MAC OS X (Cocoa) Objective-C/Swift Libs

iOS Objective-C/Swift Libs

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

    let http = CkoHttp()!

    http.authToken = "ACCESS_TOKEN"

    http.accept = "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

    let jsonRequestBody = CkoJsonObject()!
    jsonRequestBody.update("first_name", value: "John")
    jsonRequestBody.update("last_name", value: "Doe")
    jsonRequestBody.update("advisor.first_name", value: "Johan")
    jsonRequestBody.update("advisor.last_name", value: "Strauss")

    var url: String? = "https://crm.activix.ca/api/v2/leads/LEAD_ID"

    var resp: CkoHttpResponse? = http.pText("PUT", url: url, textData: jsonRequestBody.emit(), charset: "utf-8", contentType: "application/json", md5: false, gzip: false)
    if http.lastMethodSuccess != true {
        print("\(http.lastErrorText!)")
        return
    }

    print("Response Status Code: \(resp!.statusCode.intValue)")

    let jsonResponse = CkoJsonObject()!
    jsonResponse.load(resp!.bodyStr)
    jsonResponse.emitCompact = false
    print("\(jsonResponse.emit()!)")

    if resp!.statusCode.intValue >= 300 {
        print("Failed.")
        resp = nil
        return
    }

    resp = nil

    // 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,
    //                 ...
    //             },
    //             ...
    //         ]
    //     }
    // }

    var dataId: Int
    var dataCreated_at: String?
    var dataUpdated_at: String?
    var dataAccount_id: Int
    var dataAddress_line1: String?
    var dataAddress_line2: String?
    var dataAppointment_date: String?
    var dataAppt_call: Bool
    var dataAvailable_date: String?
    var dataAverage_spending: String?
    var dataBe_back_date: String?
    var dataBirth_date: String?
    var dataBusiness: String?
    var dataCall_date: String?
    var dataCity: String?
    var dataCivility: String?
    var dataCode: String?
    var dataCountry: String?
    var dataCsi_date: String?
    var dataDelivered_by_id: String?
    var dataDelivered_date: String?
    var dataDelivery_date: String?
    var dataDivision: String?
    var dataEnd_service_date: String?
    var dataFirst_name: String?
    var dataGas: String?
    var dataGender: Int
    var dataInvoiced: Bool
    var dataLast_name: String?
    var dataLast_visit_date: String?
    var dataLocale: String?
    var dataLoyalty: String?
    var dataNext_visit_date: String?
    var dataOdometer_last_visit: String?
    var dataOpen_work_order_date: String?
    var dataPlanned_pick_up_date: String?
    var dataPostal_code: String?
    var dataPrepaid: String?
    var dataPrepared: Bool
    var dataPresented_date: String?
    var dataPromised_date: String?
    var dataProvince: String?
    var dataRating: String?
    var dataReached_client: Bool
    var dataRefinanced_date: String?
    var dataRepair_date: String?
    var dataRepair_order: String?
    var dataResult: String?
    var dataRoad_test_date: String?
    var dataSale_date: String?
    var dataSecond_contact: String?
    var dataSecond_contact_civility: String?
    var dataSegment: String?
    var dataService_cleaned: Bool
    var dataService_interval_km: String?
    var dataService_monthly_km: String?
    var dataService_processIntention: String?
    var dataService_processTransport: String?
    var dataService_processWalk_around: String?
    var dataSex: String?
    var dataSource: String?
    var dataStatus: String?
    var dataStorage: String?
    var dataTake_over_date: String?
    var dataType: String?
    var dataUnsubscribe_all_date: String?
    var dataUnsubscribe_call_date: String?
    var dataUnsubscribe_email_date: String?
    var dataUnsubscribe_sms_date: String?
    var dataWork_order: String?
    var dataAccountId: Int
    var dataAccountCreated_at: String?
    var dataAccountUpdated_at: String?
    var dataAccountPartner_id: Int
    var dataAccountActivity_report: Bool
    var dataAccountCommercial: Bool
    var dataAccountEvent: Bool
    var dataAccountLeadxpress: Bool
    var dataAccountLoyalty: Bool
    var dataAccountPhone_up: Bool
    var dataAccountRenewal: Bool
    var dataAccountSale_table: Bool
    var dataAccountService: Bool
    var dataAccountWalk_in: Bool
    var dataAccountWebboost: Bool
    var dataAccountAccount_manager: Bool
    var dataAccountActivation_date: String?
    var dataAccountActive: Bool
    var dataAccountAssigned_lead: Bool
    var dataAccountAuto_renewal: Bool
    var dataAccountAuto_renewal_new: Bool
    var dataAccountAuto_renewal_used: Bool
    var dataAccountAutomation: Bool
    var dataAccountBdc_advisor: Bool
    var dataAccountCalendar_options: Bool
    var dataAccountClient_card_fieldsProcessGas: Bool
    var dataAccountClient_card_fieldsProcessRecorded: Bool
    var dataAccountClient_card_fieldsProcessAvailable: Bool
    var dataAccountClient_card_fieldsProcessDiscounted: Bool
    var dataAccountClient_card_fieldsCommercialProfit: Bool
    var dataAccountClient_card_fieldsCommercialExclude: Bool
    var dataAccountClient_card_fieldsCommercialMeeting: Bool
    var dataAccountClient_card_fieldsPerformanceDeposit: Bool
    var dataAccountClient_card_fieldsPerformanceRefinanced: Bool
    var dataAccountClient_card_fieldsPerformanceDealer_tour: Bool
    var dataAccountClient_card_fieldsPerformanceWalk_around: Bool
    var dataAccountClient_card_fieldsPerformanceQualification: Bool
    var dataAccountClient_card_fieldsPerformanceTwenty_four_hour: Bool
    var dataAccountClient_card_fieldsGeneral_infoBudget: Bool
    var dataAccountClient_card_fieldsGeneral_infoSector: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_1: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_2: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_3: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_4: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_5: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_6: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_7: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_8: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_9: Bool
    var dataAccountClient_card_fieldsGeneral_infoCustom_10: Bool
    var dataAccountClient_card_fieldsGeneral_infoCommunication_preference: Bool
    var dataAccountClient_card_fieldsWanted_vehicleVin: Bool
    var dataAccountClient_card_fieldsWanted_vehicleFuel: Bool
    var dataAccountClient_card_fieldsWanted_vehicleRate: Bool
    var dataAccountClient_card_fieldsWanted_vehicleTerm: Bool
    var dataAccountClient_card_fieldsWanted_vehicleTire: Bool
    var dataAccountClient_card_fieldsWanted_vehicleYear: Bool
    var dataAccountClient_card_fieldsWanted_vehicleColor: Bool
    var dataAccountClient_card_fieldsWanted_vehiclePrice: Bool
    var dataAccountClient_card_fieldsWanted_vehicleStock: Bool
    var dataAccountClient_card_fieldsWanted_vehicleTotal: Bool
    var dataAccountClient_card_fieldsWanted_vehicleBudget: Bool
    var dataAccountClient_card_fieldsWanted_vehicleEngine: Bool
    var dataAccountClient_card_fieldsWanted_vehicleLength: Bool
    var dataAccountClient_card_fieldsWanted_vehicleProfit: Bool
    var dataAccountClient_card_fieldsWanted_vehicleSuffix: Bool
    var dataAccountClient_card_fieldsWanted_vehicleWeight: Bool
    var dataAccountClient_card_fieldsWanted_vehicleComment: Bool
    var dataAccountClient_card_fieldsWanted_vehicleMileage: Bool
    var dataAccountClient_card_fieldsWanted_vehiclePayment: Bool
    var dataAccountClient_card_fieldsWanted_vehicleBodyType: Bool
    var dataAccountClient_card_fieldsWanted_vehicleCategory: Bool
    var dataAccountClient_card_fieldsWanted_vehicleModality: Bool
    var dataAccountClient_card_fieldsWanted_vehicleResidual: Bool
    var dataAccountClient_card_fieldsWanted_vehicleSleeping: Bool
    var dataAccountClient_card_fieldsWanted_vehicleWarranty: Bool
    var dataAccountClient_card_fieldsWanted_vehicleFrequency: Bool
    var dataAccountClient_card_fieldsWanted_vehicleAccessories: Bool
    var dataAccountClient_card_fieldsWanted_vehicleCategory_rv: Bool
    var dataAccountClient_card_fieldsWanted_vehiclePreparation: Bool
    var dataAccountClient_card_fieldsWanted_vehicleInitial_cash: Bool
    var dataAccountClient_card_fieldsWanted_vehicleOffer_number: Bool
    var dataAccountClient_card_fieldsWanted_vehicleOrder_number: Bool
    var dataAccountClient_card_fieldsWanted_vehicleTransmission: Bool
    var dataAccountClient_card_fieldsWanted_vehicleDocumentation: Bool
    var dataAccountClient_card_fieldsWanted_vehicleDrivingWheels: Bool
    var dataAccountClient_card_fieldsWanted_vehicleColor_exterior: Bool
    var dataAccountClient_card_fieldsWanted_vehicleColor_interior: Bool
    var dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage: Bool
    var dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit: Bool
    var dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date: Bool
    var dataAccountClient_card_fieldsExchange_vehicleVin: Bool
    var dataAccountClient_card_fieldsExchange_vehicleFuel: Bool
    var dataAccountClient_card_fieldsExchange_vehicleLink: Bool
    var dataAccountClient_card_fieldsExchange_vehicleRate: Bool
    var dataAccountClient_card_fieldsExchange_vehicleTerm: Bool
    var dataAccountClient_card_fieldsExchange_vehicleYear: Bool
    var dataAccountClient_card_fieldsExchange_vehicleColor: Bool
    var dataAccountClient_card_fieldsExchange_vehiclePrice: Bool
    var dataAccountClient_card_fieldsExchange_vehicleStock: Bool
    var dataAccountClient_card_fieldsExchange_vehicleValue: Bool
    var dataAccountClient_card_fieldsExchange_vehicleBudget: Bool
    var dataAccountClient_card_fieldsExchange_vehicleEngine: Bool
    var dataAccountClient_card_fieldsExchange_vehicleLength: Bool
    var dataAccountClient_card_fieldsExchange_vehicleProfit: Bool
    var dataAccountClient_card_fieldsExchange_vehicleSuffix: Bool
    var dataAccountClient_card_fieldsExchange_vehicleWeight: Bool
    var dataAccountClient_card_fieldsExchange_vehicleBalance: Bool
    var dataAccountClient_card_fieldsExchange_vehicleComment: Bool
    var dataAccountClient_card_fieldsExchange_vehicleMileage: Bool
    var dataAccountClient_card_fieldsExchange_vehiclePayment: Bool
    var dataAccountClient_card_fieldsExchange_vehicleRenewal: Bool
    var dataAccountClient_card_fieldsExchange_vehicleSold_by: Bool
    var dataAccountClient_card_fieldsExchange_vehicleBodyType: Bool
    var dataAccountClient_card_fieldsExchange_vehicleCategory: Bool
    var dataAccountClient_card_fieldsExchange_vehicleModality: Bool
    var dataAccountClient_card_fieldsExchange_vehicleResidual: Bool
    var dataAccountClient_card_fieldsExchange_vehicleSleeping: Bool
    var dataAccountClient_card_fieldsExchange_vehicleWarranty: Bool
    var dataAccountClient_card_fieldsExchange_vehicleCondition: Bool
    var dataAccountClient_card_fieldsExchange_vehicleFrequency: Bool
    var dataAccountClient_card_fieldsExchange_vehicleIntention: Bool
    var dataAccountClient_card_fieldsExchange_vehicleRefinance: Bool
    var dataAccountClient_card_fieldsExchange_vehicleRequested: Bool
    var dataAccountClient_card_fieldsExchange_vehicleSold_date: Bool
    var dataAccountClient_card_fieldsExchange_vehicleCategory_rv: Bool
    var dataAccountClient_card_fieldsExchange_vehicleInstitution: Bool
    var dataAccountClient_card_fieldsExchange_vehicleInitial_cash: Bool
    var dataAccountClient_card_fieldsExchange_vehicleOffer_number: Bool
    var dataAccountClient_card_fieldsExchange_vehicleTransmission: Bool
    var dataAccountClient_card_fieldsExchange_vehicleDrivingWheels: Bool
    var dataAccountClient_card_fieldsExchange_vehicleColor_exterior: Bool
    var dataAccountClient_card_fieldsExchange_vehicleColor_interior: Bool
    var dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage: Bool
    var dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit: Bool
    var dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date: Bool
    var dataAccountClient_number: Bool
    var dataAccountConfirmation_appt: Bool
    var dataAccountCredit: Bool
    var dataAccountCsi: Bool
    var dataAccountCsi_used: Bool
    var dataAccountDefault_deliveryman_user_id: String?
    var dataAccountDelivered_by: Bool
    var dataAccountDisable_communication_audio: Bool
    var dataAccountDuplicates: Bool
    var dataAccountGuest_action: Bool
    var dataAccountEmail_client: Bool
    var dataAccountIn_turn: Bool
    var dataAccountIn_turn_director_management: Bool
    var dataAccountLeads_other_division: Bool
    var dataAccountLeadxpress_optionPriority: Int
    var dataAccountLeadxpress_optionReminderFrequency: Int
    var dataAccountLeadxpress_optionReminderRecurrence: Int
    var dataAccountLeadxpress_optionScheduleAccount: Bool
    var dataAccountLeadxpress_optionScheduleAdvisor: Bool
    var dataAccountLimited_audio_access: Bool
    var dataAccountLogo: String?
    var dataAccountLogo_en: String?
    var dataAccountMandatory_coordinate: Bool
    var dataAccountManually_status: Bool
    var dataAccountMerge_rule: String?
    var dataAccountMonth_start_day: Int
    var dataAccountName: String?
    var dataAccountNiotext: Bool
    var dataAccountNiotext_phone: Bool
    var dataAccountPhone: String?
    var dataAccountPower_sport: Bool
    var dataAccountProcess: Bool
    var dataAccountRecreative_special: Bool
    var dataAccountResult_date_validation: Bool
    var dataAccountSale_accessories: Bool
    var dataAccountSale_by_phone: Bool
    var dataAccountSale_date_month: Bool
    var dataAccountSale_table_optionsAccessory_column: Bool
    var dataAccountSale_table_optionsCommercial_column: Bool
    var dataAccountSale_table_optionsDivision_grouped_total_column: Bool
    var dataAccountSale_validation: Bool
    var dataAccountScan: Bool
    var dataAccountStock_required_for_sale: Bool
    var dataAccountTake_over_director: Bool
    var dataAccountTrade_report: Bool
    var dataAccountUnrestricted_assignment: Bool
    var dataAccountUnsubscribe: Bool
    var dataAccountUntreated_lead: Bool
    var dataAccountVehicle_model_text: Bool
    var dataAccountVehicle_text: Bool
    var dataAccountVerified_sale: Bool
    var dataAccountVin_decoder: Bool
    var dataAccountWaiting_sale_date: String?
    var dataAccountWaiting_sale_option: Bool
    var dataAdvisor: String?
    var dataBdc: String?
    var dataCommercial: String?
    var dataService_advisor: String?
    var dataService_agent: String?
    var i: Int
    var count_i: Int
    var id: Int
    var created_at: String?
    var updated_at: String?
    var lead_id: Int
    var address: String?
    var v_type: String?
    var valid: Bool
    var extension: String?
    var number: String?
    var validated: Bool
    var mobile: Bool
    var accessories: String?
    var allowed_odometer: String?
    var balance: Int
    var budget_max: String?
    var budget_min: String?
    var cash_down: String?
    var category: String?
    var category_rv: String?
    var client_number: String?
    var color_exterior: String?
    var color_interior: String?
    var comment: String?
    var condition: String?
    var end_contract_date: String?
    var end_warranty_date: String?
    var engine: String?
    var extended_warranty: String?
    var fuel: String?
    var length_max: String?
    var length_min: String?
    var license_plate: String?
    var make: String?
    var modality: String?
    var model: String?
    var odometer: String?
    var offer_number: String?
    var v_option: String?
    var order_number: String?
    var payment: String?
    var payment_frequency: String?
    var preparation: String?
    var price: String?
    var profit: String?
    var purchase_date: String?
    var rate: String?
    var recall: String?
    var recorded_date: String?
    var residual: String?
    var security_deposit: String?
    var sleeping: String?
    var sold: Bool
    var sold_by: String?
    var sold_date: String?
    var stock: String?
    var stock_state: String?
    var term: String?
    var tire: Bool
    var transmission: String?
    var trim: String?
    var url: String?
    var value: String?
    var vin: String?
    var warranty: String?
    var weight: String?
    var year: String?
    var year_max: String?
    var year_min: String?

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

    i = 0
    count_i = jsonResponse.size(ofArray: "data.phones").intValue
    while i < count_i {
        jsonResponse.i = i
        id = jsonResponse.int(of: "data.phones[i].id").intValue
        created_at = jsonResponse.string(of: "data.phones[i].created_at")
        updated_at = jsonResponse.string(of: "data.phones[i].updated_at")
        lead_id = jsonResponse.int(of: "data.phones[i].lead_id").intValue
        extension = jsonResponse.string(of: "data.phones[i].extension")
        number = jsonResponse.string(of: "data.phones[i].number")
        v_type = jsonResponse.string(of: "data.phones[i].type")
        valid = jsonResponse.bool(of: "data.phones[i].valid")
        validated = jsonResponse.bool(of: "data.phones[i].validated")
        mobile = jsonResponse.bool(of: "data.phones[i].mobile")
        i = i + 1
    }

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

    i = 0
    count_i = jsonResponse.size(ofArray: "data.related_ids").intValue
    while i < count_i {
        jsonResponse.i = i
        i = i + 1
    }


}

 

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