Xbase++ Requires Chilkat v11.0.0+
Xbase++
Activix CRM Create a Lead
See more Activix CRM Examples
Demonstrates how to create a lead and returns the created lead.Chilkat Xbase++ Downloads
LOCAL nSuccess
LOCAL oHttp
LOCAL oJsonRequestBody
LOCAL cUrl
LOCAL oResp
LOCAL oJsonResponse
LOCAL nDataId
LOCAL cDataCreated_at
LOCAL cDataUpdated_at
LOCAL nDataAccount_id
LOCAL cDataAddress_line1
LOCAL cDataAddress_line2
LOCAL cDataAppointment_date
LOCAL cDataAppt_call
LOCAL cDataAvailable_date
LOCAL cDataAverage_spending
LOCAL cDataBe_back_date
LOCAL cDataBirth_date
LOCAL cDataBusiness
LOCAL cDataCall_date
LOCAL cDataCity
LOCAL cDataCivility
LOCAL cDataCode
LOCAL cDataCountry
LOCAL cDataCsi_date
LOCAL cDataDelivered_by_id
LOCAL cDataDelivered_date
LOCAL cDataDelivery_date
LOCAL cDataDivision
LOCAL cDataEnd_service_date
LOCAL cDataFirst_name
LOCAL cDataGas
LOCAL nDataGender
LOCAL cDataInvoiced
LOCAL cDataLast_name
LOCAL cDataLast_visit_date
LOCAL cDataLocale
LOCAL cDataLoyalty
LOCAL cDataNext_visit_date
LOCAL cDataOdometer_last_visit
LOCAL cDataOpen_work_order_date
LOCAL cDataPlanned_pick_up_date
LOCAL cDataPostal_code
LOCAL cDataPrepaid
LOCAL cDataPrepared
LOCAL cDataPresented_date
LOCAL cDataPromised_date
LOCAL cDataProvince
LOCAL cDataRating
LOCAL cDataReached_client
LOCAL cDataRefinanced_date
LOCAL cDataRepair_date
LOCAL cDataRepair_order
LOCAL cDataResult
LOCAL cDataRoad_test_date
LOCAL cDataSale_date
LOCAL cDataSecond_contact
LOCAL cDataSecond_contact_civility
LOCAL cDataSegment
LOCAL cDataService_cleaned
LOCAL cDataService_interval_km
LOCAL cDataService_monthly_km
LOCAL cDataSex
LOCAL cDataSource
LOCAL cDataStatus
LOCAL cDataStorage
LOCAL cDataTake_over_date
LOCAL cDataType
LOCAL cDataUnsubscribe_all_date
LOCAL cDataUnsubscribe_call_date
LOCAL cDataUnsubscribe_email_date
LOCAL cDataUnsubscribe_sms_date
LOCAL cDataWork_order
LOCAL nDataAccountId
LOCAL cDataAccountCreated_at
LOCAL cDataAccountUpdated_at
LOCAL nDataAccountPartner_id
LOCAL nDataAccountActivity_report
LOCAL nDataAccountCommercial
LOCAL nDataAccountEvent
LOCAL nDataAccountLeadxpress
LOCAL nDataAccountLoyalty
LOCAL nDataAccountPhone_up
LOCAL nDataAccountRenewal
LOCAL nDataAccountSale_table
LOCAL nDataAccountService
LOCAL nDataAccountWalk_in
LOCAL nDataAccountWebboost
LOCAL nDataAccountAccount_manager
LOCAL cDataAccountActivation_date
LOCAL nDataAccountActive
LOCAL nDataAccountAssigned_lead
LOCAL nDataAccountAuto_renewal
LOCAL nDataAccountAuto_renewal_new
LOCAL nDataAccountAuto_renewal_used
LOCAL nDataAccountAutomation
LOCAL nDataAccountBdc_advisor
LOCAL nDataAccountCalendar_options
LOCAL nDataAccountClient_card_fieldsProcessGas
LOCAL nDataAccountClient_card_fieldsProcessRecorded
LOCAL nDataAccountClient_card_fieldsProcessAvailable
LOCAL nDataAccountClient_card_fieldsProcessDiscounted
LOCAL nDataAccountClient_card_fieldsCommercialProfit
LOCAL nDataAccountClient_card_fieldsCommercialExclude
LOCAL nDataAccountClient_card_fieldsCommercialMeeting
LOCAL nDataAccountClient_card_fieldsPerformanceDeposit
LOCAL nDataAccountClient_card_fieldsPerformanceRefinanced
LOCAL nDataAccountClient_card_fieldsPerformanceDealer_tour
LOCAL nDataAccountClient_card_fieldsPerformanceWalk_around
LOCAL nDataAccountClient_card_fieldsPerformanceQualification
LOCAL nDataAccountClient_card_fieldsPerformanceTwenty_four_hour
LOCAL nDataAccountClient_card_fieldsGeneral_infoBudget
LOCAL nDataAccountClient_card_fieldsGeneral_infoSector
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_1
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_2
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_3
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_4
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_5
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_6
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_7
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_8
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_9
LOCAL nDataAccountClient_card_fieldsGeneral_infoCustom_10
LOCAL nDataAccountClient_card_fieldsGeneral_infoCommunication_preference
LOCAL nDataAccountClient_card_fieldsWanted_vehicleVin
LOCAL nDataAccountClient_card_fieldsWanted_vehicleFuel
LOCAL nDataAccountClient_card_fieldsWanted_vehicleRate
LOCAL nDataAccountClient_card_fieldsWanted_vehicleTerm
LOCAL nDataAccountClient_card_fieldsWanted_vehicleTire
LOCAL nDataAccountClient_card_fieldsWanted_vehicleYear
LOCAL nDataAccountClient_card_fieldsWanted_vehicleColor
LOCAL nDataAccountClient_card_fieldsWanted_vehiclePrice
LOCAL nDataAccountClient_card_fieldsWanted_vehicleStock
LOCAL nDataAccountClient_card_fieldsWanted_vehicleTotal
LOCAL nDataAccountClient_card_fieldsWanted_vehicleBudget
LOCAL nDataAccountClient_card_fieldsWanted_vehicleEngine
LOCAL nDataAccountClient_card_fieldsWanted_vehicleLength
LOCAL nDataAccountClient_card_fieldsWanted_vehicleProfit
LOCAL nDataAccountClient_card_fieldsWanted_vehicleSuffix
LOCAL nDataAccountClient_card_fieldsWanted_vehicleWeight
LOCAL nDataAccountClient_card_fieldsWanted_vehicleComment
LOCAL nDataAccountClient_card_fieldsWanted_vehicleMileage
LOCAL nDataAccountClient_card_fieldsWanted_vehiclePayment
LOCAL nDataAccountClient_card_fieldsWanted_vehicleBodyType
LOCAL nDataAccountClient_card_fieldsWanted_vehicleCategory
LOCAL nDataAccountClient_card_fieldsWanted_vehicleModality
LOCAL nDataAccountClient_card_fieldsWanted_vehicleResidual
LOCAL nDataAccountClient_card_fieldsWanted_vehicleSleeping
LOCAL nDataAccountClient_card_fieldsWanted_vehicleWarranty
LOCAL nDataAccountClient_card_fieldsWanted_vehicleFrequency
LOCAL nDataAccountClient_card_fieldsWanted_vehicleAccessories
LOCAL nDataAccountClient_card_fieldsWanted_vehicleCategory_rv
LOCAL nDataAccountClient_card_fieldsWanted_vehiclePreparation
LOCAL nDataAccountClient_card_fieldsWanted_vehicleInitial_cash
LOCAL nDataAccountClient_card_fieldsWanted_vehicleOffer_number
LOCAL nDataAccountClient_card_fieldsWanted_vehicleOrder_number
LOCAL nDataAccountClient_card_fieldsWanted_vehicleTransmission
LOCAL nDataAccountClient_card_fieldsWanted_vehicleDocumentation
LOCAL nDataAccountClient_card_fieldsWanted_vehicleDrivingWheels
LOCAL nDataAccountClient_card_fieldsWanted_vehicleColor_exterior
LOCAL nDataAccountClient_card_fieldsWanted_vehicleColor_interior
LOCAL nDataAccountClient_card_fieldsWanted_vehicleAllowed_mileage
LOCAL nDataAccountClient_card_fieldsWanted_vehicleSecurity_deposit
LOCAL nDataAccountClient_card_fieldsWanted_vehicleEnd_contract_date
LOCAL nDataAccountClient_card_fieldsExchange_vehicleVin
LOCAL nDataAccountClient_card_fieldsExchange_vehicleFuel
LOCAL nDataAccountClient_card_fieldsExchange_vehicleLink
LOCAL nDataAccountClient_card_fieldsExchange_vehicleRate
LOCAL nDataAccountClient_card_fieldsExchange_vehicleTerm
LOCAL nDataAccountClient_card_fieldsExchange_vehicleYear
LOCAL nDataAccountClient_card_fieldsExchange_vehicleColor
LOCAL nDataAccountClient_card_fieldsExchange_vehiclePrice
LOCAL nDataAccountClient_card_fieldsExchange_vehicleStock
LOCAL nDataAccountClient_card_fieldsExchange_vehicleValue
LOCAL nDataAccountClient_card_fieldsExchange_vehicleBudget
LOCAL nDataAccountClient_card_fieldsExchange_vehicleEngine
LOCAL nDataAccountClient_card_fieldsExchange_vehicleLength
LOCAL nDataAccountClient_card_fieldsExchange_vehicleProfit
LOCAL nDataAccountClient_card_fieldsExchange_vehicleSuffix
LOCAL nDataAccountClient_card_fieldsExchange_vehicleWeight
LOCAL nDataAccountClient_card_fieldsExchange_vehicleBalance
LOCAL nDataAccountClient_card_fieldsExchange_vehicleComment
LOCAL nDataAccountClient_card_fieldsExchange_vehicleMileage
LOCAL nDataAccountClient_card_fieldsExchange_vehiclePayment
LOCAL nDataAccountClient_card_fieldsExchange_vehicleRenewal
LOCAL nDataAccountClient_card_fieldsExchange_vehicleSold_by
LOCAL nDataAccountClient_card_fieldsExchange_vehicleBodyType
LOCAL nDataAccountClient_card_fieldsExchange_vehicleCategory
LOCAL nDataAccountClient_card_fieldsExchange_vehicleModality
LOCAL nDataAccountClient_card_fieldsExchange_vehicleResidual
LOCAL nDataAccountClient_card_fieldsExchange_vehicleSleeping
LOCAL nDataAccountClient_card_fieldsExchange_vehicleWarranty
LOCAL nDataAccountClient_card_fieldsExchange_vehicleCondition
LOCAL nDataAccountClient_card_fieldsExchange_vehicleFrequency
LOCAL nDataAccountClient_card_fieldsExchange_vehicleIntention
LOCAL nDataAccountClient_card_fieldsExchange_vehicleRefinance
LOCAL nDataAccountClient_card_fieldsExchange_vehicleRequested
LOCAL nDataAccountClient_card_fieldsExchange_vehicleSold_date
LOCAL nDataAccountClient_card_fieldsExchange_vehicleCategory_rv
LOCAL nDataAccountClient_card_fieldsExchange_vehicleInstitution
LOCAL nDataAccountClient_card_fieldsExchange_vehicleInitial_cash
LOCAL nDataAccountClient_card_fieldsExchange_vehicleOffer_number
LOCAL nDataAccountClient_card_fieldsExchange_vehicleTransmission
LOCAL nDataAccountClient_card_fieldsExchange_vehicleDrivingWheels
LOCAL nDataAccountClient_card_fieldsExchange_vehicleColor_exterior
LOCAL nDataAccountClient_card_fieldsExchange_vehicleColor_interior
LOCAL nDataAccountClient_card_fieldsExchange_vehicleAllowed_mileage
LOCAL nDataAccountClient_card_fieldsExchange_vehicleSecurity_deposit
LOCAL nDataAccountClient_card_fieldsExchange_vehicleEnd_contract_date
LOCAL nDataAccountClient_number
LOCAL nDataAccountConfirmation_appt
LOCAL nDataAccountCredit
LOCAL nDataAccountCsi
LOCAL nDataAccountCsi_used
LOCAL cDataAccountDefault_deliveryman_user_id
LOCAL nDataAccountDelivered_by
LOCAL nDataAccountDisable_communication_audio
LOCAL nDataAccountDuplicates
LOCAL nDataAccountGuest_action
LOCAL nDataAccountEmail_client
LOCAL nDataAccountIn_turn
LOCAL nDataAccountIn_turn_director_management
LOCAL nDataAccountLeads_other_division
LOCAL nDataAccountLeadxpress_optionPriority
LOCAL nDataAccountLeadxpress_optionReminderFrequency
LOCAL nDataAccountLeadxpress_optionReminderRecurrence
LOCAL nDataAccountLeadxpress_optionScheduleAccount
LOCAL nDataAccountLeadxpress_optionScheduleAdvisor
LOCAL nDataAccountLimited_audio_access
LOCAL cDataAccountLogo
LOCAL cDataAccountLogo_en
LOCAL nDataAccountMandatory_coordinate
LOCAL nDataAccountManually_status
LOCAL cDataAccountMerge_rule
LOCAL nDataAccountMonth_start_day
LOCAL cDataAccountName
LOCAL nDataAccountNiotext
LOCAL nDataAccountNiotext_phone
LOCAL cDataAccountPhone
LOCAL nDataAccountPower_sport
LOCAL nDataAccountProcess
LOCAL nDataAccountRecreative_special
LOCAL nDataAccountResult_date_validation
LOCAL nDataAccountSale_accessories
LOCAL nDataAccountSale_by_phone
LOCAL nDataAccountSale_date_month
LOCAL nDataAccountSale_table_optionsAccessory_column
LOCAL nDataAccountSale_table_optionsCommercial_column
LOCAL nDataAccountSale_table_optionsDivision_grouped_total_column
LOCAL nDataAccountSale_validation
LOCAL nDataAccountScan
LOCAL nDataAccountStock_required_for_sale
LOCAL nDataAccountTake_over_director
LOCAL nDataAccountTrade_report
LOCAL nDataAccountUnrestricted_assignment
LOCAL nDataAccountUnsubscribe
LOCAL nDataAccountUntreated_lead
LOCAL nDataAccountVehicle_model_text
LOCAL nDataAccountVehicle_text
LOCAL nDataAccountVerified_sale
LOCAL nDataAccountVin_decoder
LOCAL cDataAccountWaiting_sale_date
LOCAL nDataAccountWaiting_sale_option
LOCAL cDataAdvisor
LOCAL cDataBdc
LOCAL cDataCommercial
LOCAL cDataService_advisor
LOCAL cDataService_agent
LOCAL i
LOCAL nCount_i
LOCAL nId
LOCAL cCreated_at
LOCAL cUpdated_at
LOCAL nLead_id
LOCAL cAddress
LOCAL cV_type
LOCAL nValid
LOCAL cExtension
LOCAL cNumber
LOCAL nValidated
LOCAL nMobile
LOCAL cAccessories
LOCAL cAllowed_odometer
LOCAL nBalance
LOCAL cBudget_max
LOCAL cBudget_min
LOCAL cCash_down
LOCAL cCategory
LOCAL cCategory_rv
LOCAL cClient_number
LOCAL cColor_exterior
LOCAL cColor_interior
LOCAL cComment
LOCAL cCondition
LOCAL cEnd_contract_date
LOCAL cEnd_warranty_date
LOCAL cEngine
LOCAL cExtended_warranty
LOCAL cFuel
LOCAL cLength_max
LOCAL cLength_min
LOCAL cLicense_plate
LOCAL cMake
LOCAL cModality
LOCAL cModel
LOCAL cOdometer
LOCAL cOffer_number
LOCAL cV_option
LOCAL cOrder_number
LOCAL cPayment
LOCAL cPayment_frequency
LOCAL cPreparation
LOCAL cPrice
LOCAL cProfit
LOCAL cPurchase_date
LOCAL cRate
LOCAL cRecall
LOCAL cRecorded_date
LOCAL cResidual
LOCAL cSecurity_deposit
LOCAL cSleeping
LOCAL nSold
LOCAL cSold_by
LOCAL cSold_date
LOCAL cStock
LOCAL cStock_state
LOCAL cTerm
LOCAL nTire
LOCAL cTransmission
LOCAL cTrim
LOCAL cUrl
LOCAL cValue
LOCAL cVin
LOCAL cWarranty
LOCAL cWeight
LOCAL cYear
LOCAL cYear_max
LOCAL cYear_min
nSuccess := 0
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
oHttp := CreateObject("Chilkat.Http")
oHttp:AuthToken := "ACCESS_TOKEN"
oHttp:Accept := "application/json"
// The following JSON is sent in the request body:
// {
// "account_id": "MY_ACCOUNT_ID",
// "first_name": "John",
// "last_name": "Doe",
// "type": "email",
// "advisor": {
// "first_name": "John",
// "last_name": "Doe"
// },
// "emails": [
// {
// "address": "hello@example.com",
// "type": "home"
// }
// ],
// "phones": [
// {
// "number": "+15144321214",
// "extension": 12345,
// "type": "home"
// }
// ],
// "vehicles": [
// {
// "make": "Aston Martin",
// "model": "DB11",
// "year": 2018,
// "type": "wanted"
// }
// ]
// }
// Use this online tool to generate the code from sample JSON:
// Generate Code to Create JSON
oJsonRequestBody := CreateObject("Chilkat.JsonObject")
oJsonRequestBody:UpdateString("account_id", "MY_ACCOUNT_ID")
oJsonRequestBody:UpdateString("first_name", "John")
oJsonRequestBody:UpdateString("last_name", "Doe")
oJsonRequestBody:UpdateString("type", "email")
oJsonRequestBody:UpdateString("advisor.first_name", "John")
oJsonRequestBody:UpdateString("advisor.last_name", "Doe")
oJsonRequestBody:UpdateString("emails[0].address", "hello@example.com")
oJsonRequestBody:UpdateString("emails[0].type", "home")
oJsonRequestBody:UpdateString("phones[0].number", "+15144321214")
oJsonRequestBody:UpdateInt("phones[0].extension", 12345)
oJsonRequestBody:UpdateString("phones[0].type", "home")
oJsonRequestBody:UpdateString("vehicles[0].make", "Aston Martin")
oJsonRequestBody:UpdateString("vehicles[0].model", "DB11")
oJsonRequestBody:UpdateInt("vehicles[0].year", 2018)
oJsonRequestBody:UpdateString("vehicles[0].type", "wanted")
cUrl := "https://crm.activix.ca/api/v2/leads"
oResp := CreateObject("Chilkat.HttpResponse")
nSuccess := oHttp:HttpJson("POST", cUrl, oJsonRequestBody, "application/json", oResp)
IF (nSuccess == 0)
? oHttp:LastErrorText
oHttp:destroy()
oJsonRequestBody:destroy()
oResp:destroy()
RETURN
ENDIF
? "Response Status Code: " + Str(oResp:StatusCode)
oJsonResponse := CreateObject("Chilkat.JsonObject")
oJsonResponse:Load(oResp:BodyStr)
oJsonResponse:EmitCompact := 0
? oJsonResponse:Emit()
IF (oResp:StatusCode >= 300)
? "Failed."
oHttp:destroy()
oJsonRequestBody:destroy()
oResp:destroy()
oJsonResponse:destroy()
RETURN
ENDIF
// 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,
// ...
// },
// ...
// ]
// }
// }
nDataId := oJsonResponse:IntOf("data.id")
cDataCreated_at := oJsonResponse:StringOf("data.created_at")
cDataUpdated_at := oJsonResponse:StringOf("data.updated_at")
nDataAccount_id := oJsonResponse:IntOf("data.account_id")
cDataAddress_line1 := oJsonResponse:StringOf("data.address_line1")
cDataAddress_line2 := oJsonResponse:StringOf("data.address_line2")
cDataAppointment_date := oJsonResponse:StringOf("data.appointment_date")
cDataAppt_call := oJsonResponse:StringOf("data.appt_call")
cDataAvailable_date := oJsonResponse:StringOf("data.available_date")
cDataAverage_spending := oJsonResponse:StringOf("data.average_spending")
cDataBe_back_date := oJsonResponse:StringOf("data.be_back_date")
cDataBirth_date := oJsonResponse:StringOf("data.birth_date")
cDataBusiness := oJsonResponse:StringOf("data.business")
cDataCall_date := oJsonResponse:StringOf("data.call_date")
cDataCity := oJsonResponse:StringOf("data.city")
cDataCivility := oJsonResponse:StringOf("data.civility")
cDataCode := oJsonResponse:StringOf("data.code")
cDataCountry := oJsonResponse:StringOf("data.country")
cDataCsi_date := oJsonResponse:StringOf("data.csi_date")
cDataDelivered_by_id := oJsonResponse:StringOf("data.delivered_by_id")
cDataDelivered_date := oJsonResponse:StringOf("data.delivered_date")
cDataDelivery_date := oJsonResponse:StringOf("data.delivery_date")
cDataDivision := oJsonResponse:StringOf("data.division")
cDataEnd_service_date := oJsonResponse:StringOf("data.end_service_date")
cDataFirst_name := oJsonResponse:StringOf("data.first_name")
cDataGas := oJsonResponse:StringOf("data.gas")
nDataGender := oJsonResponse:IntOf("data.gender")
cDataInvoiced := oJsonResponse:StringOf("data.invoiced")
cDataLast_name := oJsonResponse:StringOf("data.last_name")
cDataLast_visit_date := oJsonResponse:StringOf("data.last_visit_date")
cDataLocale := oJsonResponse:StringOf("data.locale")
cDataLoyalty := oJsonResponse:StringOf("data.loyalty")
cDataNext_visit_date := oJsonResponse:StringOf("data.next_visit_date")
cDataOdometer_last_visit := oJsonResponse:StringOf("data.odometer_last_visit")
cDataOpen_work_order_date := oJsonResponse:StringOf("data.open_work_order_date")
cDataPlanned_pick_up_date := oJsonResponse:StringOf("data.planned_pick_up_date")
cDataPostal_code := oJsonResponse:StringOf("data.postal_code")
cDataPrepaid := oJsonResponse:StringOf("data.prepaid")
cDataPrepared := oJsonResponse:StringOf("data.prepared")
cDataPresented_date := oJsonResponse:StringOf("data.presented_date")
cDataPromised_date := oJsonResponse:StringOf("data.promised_date")
cDataProvince := oJsonResponse:StringOf("data.province")
cDataRating := oJsonResponse:StringOf("data.rating")
cDataReached_client := oJsonResponse:StringOf("data.reached_client")
cDataRefinanced_date := oJsonResponse:StringOf("data.refinanced_date")
cDataRepair_date := oJsonResponse:StringOf("data.repair_date")
cDataRepair_order := oJsonResponse:StringOf("data.repair_order")
cDataResult := oJsonResponse:StringOf("data.result")
cDataRoad_test_date := oJsonResponse:StringOf("data.road_test_date")
cDataSale_date := oJsonResponse:StringOf("data.sale_date")
cDataSecond_contact := oJsonResponse:StringOf("data.second_contact")
cDataSecond_contact_civility := oJsonResponse:StringOf("data.second_contact_civility")
cDataSegment := oJsonResponse:StringOf("data.segment")
cDataService_cleaned := oJsonResponse:StringOf("data.service_cleaned")
cDataService_interval_km := oJsonResponse:StringOf("data.service_interval_km")
cDataService_monthly_km := oJsonResponse:StringOf("data.service_monthly_km")
cDataSex := oJsonResponse:StringOf("data.sex")
cDataSource := oJsonResponse:StringOf("data.source")
cDataStatus := oJsonResponse:StringOf("data.status")
cDataStorage := oJsonResponse:StringOf("data.storage")
cDataTake_over_date := oJsonResponse:StringOf("data.take_over_date")
cDataType := oJsonResponse:StringOf("data.type")
cDataUnsubscribe_all_date := oJsonResponse:StringOf("data.unsubscribe_all_date")
cDataUnsubscribe_call_date := oJsonResponse:StringOf("data.unsubscribe_call_date")
cDataUnsubscribe_email_date := oJsonResponse:StringOf("data.unsubscribe_email_date")
cDataUnsubscribe_sms_date := oJsonResponse:StringOf("data.unsubscribe_sms_date")
cDataWork_order := oJsonResponse:StringOf("data.work_order")
nDataAccountId := oJsonResponse:IntOf("data.account.id")
cDataAccountCreated_at := oJsonResponse:StringOf("data.account.created_at")
cDataAccountUpdated_at := oJsonResponse:StringOf("data.account.updated_at")
nDataAccountPartner_id := oJsonResponse:IntOf("data.account.partner_id")
nDataAccountActivity_report := oJsonResponse:BoolOf("data.account.activity_report")
nDataAccountCommercial := oJsonResponse:BoolOf("data.account.commercial")
nDataAccountEvent := oJsonResponse:BoolOf("data.account.event")
nDataAccountLeadxpress := oJsonResponse:BoolOf("data.account.leadxpress")
nDataAccountLoyalty := oJsonResponse:BoolOf("data.account.loyalty")
nDataAccountPhone_up := oJsonResponse:BoolOf("data.account.phone_up")
nDataAccountRenewal := oJsonResponse:BoolOf("data.account.renewal")
nDataAccountSale_table := oJsonResponse:BoolOf("data.account.sale_table")
nDataAccountService := oJsonResponse:BoolOf("data.account.service")
nDataAccountWalk_in := oJsonResponse:BoolOf("data.account.walk_in")
nDataAccountWebboost := oJsonResponse:BoolOf("data.account.webboost")
nDataAccountAccount_manager := oJsonResponse:BoolOf("data.account.account_manager")
cDataAccountActivation_date := oJsonResponse:StringOf("data.account.activation_date")
nDataAccountActive := oJsonResponse:BoolOf("data.account.active")
nDataAccountAssigned_lead := oJsonResponse:BoolOf("data.account.assigned_lead")
nDataAccountAuto_renewal := oJsonResponse:BoolOf("data.account.auto_renewal")
nDataAccountAuto_renewal_new := oJsonResponse:BoolOf("data.account.auto_renewal_new")
nDataAccountAuto_renewal_used := oJsonResponse:BoolOf("data.account.auto_renewal_used")
nDataAccountAutomation := oJsonResponse:BoolOf("data.account.automation")
nDataAccountBdc_advisor := oJsonResponse:BoolOf("data.account.bdc_advisor")
nDataAccountCalendar_options := oJsonResponse:BoolOf("data.account.calendar_options")
nDataAccountClient_card_fieldsProcessGas := oJsonResponse:BoolOf("data.account.client_card_fields.process.gas")
nDataAccountClient_card_fieldsProcessRecorded := oJsonResponse:BoolOf("data.account.client_card_fields.process.recorded")
nDataAccountClient_card_fieldsProcessAvailable := oJsonResponse:BoolOf("data.account.client_card_fields.process.available")
nDataAccountClient_card_fieldsProcessDiscounted := oJsonResponse:BoolOf("data.account.client_card_fields.process.discounted")
nDataAccountClient_card_fieldsCommercialProfit := oJsonResponse:BoolOf("data.account.client_card_fields.commercial.profit")
nDataAccountClient_card_fieldsCommercialExclude := oJsonResponse:BoolOf("data.account.client_card_fields.commercial.exclude")
nDataAccountClient_card_fieldsCommercialMeeting := oJsonResponse:BoolOf("data.account.client_card_fields.commercial.meeting")
nDataAccountClient_card_fieldsPerformanceDeposit := oJsonResponse:BoolOf("data.account.client_card_fields.performance.deposit")
nDataAccountClient_card_fieldsPerformanceRefinanced := oJsonResponse:BoolOf("data.account.client_card_fields.performance.refinanced")
nDataAccountClient_card_fieldsPerformanceDealer_tour := oJsonResponse:BoolOf("data.account.client_card_fields.performance.dealer_tour")
nDataAccountClient_card_fieldsPerformanceWalk_around := oJsonResponse:BoolOf("data.account.client_card_fields.performance.walk_around")
nDataAccountClient_card_fieldsPerformanceQualification := oJsonResponse:BoolOf("data.account.client_card_fields.performance.qualification")
nDataAccountClient_card_fieldsPerformanceTwenty_four_hour := oJsonResponse:BoolOf("data.account.client_card_fields.performance.twenty_four_hour")
nDataAccountClient_card_fieldsGeneral_infoBudget := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.budget")
nDataAccountClient_card_fieldsGeneral_infoSector := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.sector")
nDataAccountClient_card_fieldsGeneral_infoCustom_1 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_1")
nDataAccountClient_card_fieldsGeneral_infoCustom_2 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_2")
nDataAccountClient_card_fieldsGeneral_infoCustom_3 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_3")
nDataAccountClient_card_fieldsGeneral_infoCustom_4 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_4")
nDataAccountClient_card_fieldsGeneral_infoCustom_5 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_5")
nDataAccountClient_card_fieldsGeneral_infoCustom_6 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_6")
nDataAccountClient_card_fieldsGeneral_infoCustom_7 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_7")
nDataAccountClient_card_fieldsGeneral_infoCustom_8 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_8")
nDataAccountClient_card_fieldsGeneral_infoCustom_9 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_9")
nDataAccountClient_card_fieldsGeneral_infoCustom_10 := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.custom_10")
nDataAccountClient_card_fieldsGeneral_infoCommunication_preference := oJsonResponse:BoolOf("data.account.client_card_fields.general_info.communication_preference")
nDataAccountClient_card_fieldsWanted_vehicleVin := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.vin")
nDataAccountClient_card_fieldsWanted_vehicleFuel := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.fuel")
nDataAccountClient_card_fieldsWanted_vehicleRate := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.rate")
nDataAccountClient_card_fieldsWanted_vehicleTerm := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.term")
nDataAccountClient_card_fieldsWanted_vehicleTire := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.tire")
nDataAccountClient_card_fieldsWanted_vehicleYear := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.year")
nDataAccountClient_card_fieldsWanted_vehicleColor := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.color")
nDataAccountClient_card_fieldsWanted_vehiclePrice := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.price")
nDataAccountClient_card_fieldsWanted_vehicleStock := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.stock")
nDataAccountClient_card_fieldsWanted_vehicleTotal := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.total")
nDataAccountClient_card_fieldsWanted_vehicleBudget := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.budget")
nDataAccountClient_card_fieldsWanted_vehicleEngine := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.engine")
nDataAccountClient_card_fieldsWanted_vehicleLength := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.length")
nDataAccountClient_card_fieldsWanted_vehicleProfit := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.profit")
nDataAccountClient_card_fieldsWanted_vehicleSuffix := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.suffix")
nDataAccountClient_card_fieldsWanted_vehicleWeight := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.weight")
nDataAccountClient_card_fieldsWanted_vehicleComment := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.comment")
nDataAccountClient_card_fieldsWanted_vehicleMileage := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.mileage")
nDataAccountClient_card_fieldsWanted_vehiclePayment := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.payment")
nDataAccountClient_card_fieldsWanted_vehicleBodyType := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.bodyType")
nDataAccountClient_card_fieldsWanted_vehicleCategory := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.category")
nDataAccountClient_card_fieldsWanted_vehicleModality := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.modality")
nDataAccountClient_card_fieldsWanted_vehicleResidual := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.residual")
nDataAccountClient_card_fieldsWanted_vehicleSleeping := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.sleeping")
nDataAccountClient_card_fieldsWanted_vehicleWarranty := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.warranty")
nDataAccountClient_card_fieldsWanted_vehicleFrequency := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.frequency")
nDataAccountClient_card_fieldsWanted_vehicleAccessories := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.accessories")
nDataAccountClient_card_fieldsWanted_vehicleCategory_rv := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.category_rv")
nDataAccountClient_card_fieldsWanted_vehiclePreparation := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.preparation")
nDataAccountClient_card_fieldsWanted_vehicleInitial_cash := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.initial_cash")
nDataAccountClient_card_fieldsWanted_vehicleOffer_number := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.offer_number")
nDataAccountClient_card_fieldsWanted_vehicleOrder_number := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.order_number")
nDataAccountClient_card_fieldsWanted_vehicleTransmission := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.transmission")
nDataAccountClient_card_fieldsWanted_vehicleDocumentation := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.documentation")
nDataAccountClient_card_fieldsWanted_vehicleDrivingWheels := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.drivingWheels")
nDataAccountClient_card_fieldsWanted_vehicleColor_exterior := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.color_exterior")
nDataAccountClient_card_fieldsWanted_vehicleColor_interior := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.color_interior")
nDataAccountClient_card_fieldsWanted_vehicleAllowed_mileage := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.allowed_mileage")
nDataAccountClient_card_fieldsWanted_vehicleSecurity_deposit := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.security_deposit")
nDataAccountClient_card_fieldsWanted_vehicleEnd_contract_date := oJsonResponse:BoolOf("data.account.client_card_fields.wanted_vehicle.end_contract_date")
nDataAccountClient_card_fieldsExchange_vehicleVin := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.vin")
nDataAccountClient_card_fieldsExchange_vehicleFuel := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.fuel")
nDataAccountClient_card_fieldsExchange_vehicleLink := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.link")
nDataAccountClient_card_fieldsExchange_vehicleRate := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.rate")
nDataAccountClient_card_fieldsExchange_vehicleTerm := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.term")
nDataAccountClient_card_fieldsExchange_vehicleYear := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.year")
nDataAccountClient_card_fieldsExchange_vehicleColor := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.color")
nDataAccountClient_card_fieldsExchange_vehiclePrice := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.price")
nDataAccountClient_card_fieldsExchange_vehicleStock := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.stock")
nDataAccountClient_card_fieldsExchange_vehicleValue := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.value")
nDataAccountClient_card_fieldsExchange_vehicleBudget := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.budget")
nDataAccountClient_card_fieldsExchange_vehicleEngine := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.engine")
nDataAccountClient_card_fieldsExchange_vehicleLength := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.length")
nDataAccountClient_card_fieldsExchange_vehicleProfit := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.profit")
nDataAccountClient_card_fieldsExchange_vehicleSuffix := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.suffix")
nDataAccountClient_card_fieldsExchange_vehicleWeight := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.weight")
nDataAccountClient_card_fieldsExchange_vehicleBalance := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.balance")
nDataAccountClient_card_fieldsExchange_vehicleComment := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.comment")
nDataAccountClient_card_fieldsExchange_vehicleMileage := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.mileage")
nDataAccountClient_card_fieldsExchange_vehiclePayment := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.payment")
nDataAccountClient_card_fieldsExchange_vehicleRenewal := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.renewal")
nDataAccountClient_card_fieldsExchange_vehicleSold_by := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.sold_by")
nDataAccountClient_card_fieldsExchange_vehicleBodyType := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.bodyType")
nDataAccountClient_card_fieldsExchange_vehicleCategory := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.category")
nDataAccountClient_card_fieldsExchange_vehicleModality := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.modality")
nDataAccountClient_card_fieldsExchange_vehicleResidual := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.residual")
nDataAccountClient_card_fieldsExchange_vehicleSleeping := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.sleeping")
nDataAccountClient_card_fieldsExchange_vehicleWarranty := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.warranty")
nDataAccountClient_card_fieldsExchange_vehicleCondition := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.condition")
nDataAccountClient_card_fieldsExchange_vehicleFrequency := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.frequency")
nDataAccountClient_card_fieldsExchange_vehicleIntention := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.intention")
nDataAccountClient_card_fieldsExchange_vehicleRefinance := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.refinance")
nDataAccountClient_card_fieldsExchange_vehicleRequested := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.requested")
nDataAccountClient_card_fieldsExchange_vehicleSold_date := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.sold_date")
nDataAccountClient_card_fieldsExchange_vehicleCategory_rv := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.category_rv")
nDataAccountClient_card_fieldsExchange_vehicleInstitution := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.institution")
nDataAccountClient_card_fieldsExchange_vehicleInitial_cash := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.initial_cash")
nDataAccountClient_card_fieldsExchange_vehicleOffer_number := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.offer_number")
nDataAccountClient_card_fieldsExchange_vehicleTransmission := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.transmission")
nDataAccountClient_card_fieldsExchange_vehicleDrivingWheels := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.drivingWheels")
nDataAccountClient_card_fieldsExchange_vehicleColor_exterior := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.color_exterior")
nDataAccountClient_card_fieldsExchange_vehicleColor_interior := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.color_interior")
nDataAccountClient_card_fieldsExchange_vehicleAllowed_mileage := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.allowed_mileage")
nDataAccountClient_card_fieldsExchange_vehicleSecurity_deposit := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.security_deposit")
nDataAccountClient_card_fieldsExchange_vehicleEnd_contract_date := oJsonResponse:BoolOf("data.account.client_card_fields.exchange_vehicle.end_contract_date")
nDataAccountClient_number := oJsonResponse:BoolOf("data.account.client_number")
nDataAccountConfirmation_appt := oJsonResponse:BoolOf("data.account.confirmation_appt")
nDataAccountCredit := oJsonResponse:BoolOf("data.account.credit")
nDataAccountCsi := oJsonResponse:BoolOf("data.account.csi")
nDataAccountCsi_used := oJsonResponse:BoolOf("data.account.csi_used")
cDataAccountDefault_deliveryman_user_id := oJsonResponse:StringOf("data.account.default_deliveryman_user_id")
nDataAccountDelivered_by := oJsonResponse:BoolOf("data.account.delivered_by")
nDataAccountDisable_communication_audio := oJsonResponse:BoolOf("data.account.disable_communication_audio")
nDataAccountDuplicates := oJsonResponse:BoolOf("data.account.duplicates")
nDataAccountGuest_action := oJsonResponse:BoolOf("data.account.guest_action")
nDataAccountEmail_client := oJsonResponse:BoolOf("data.account.email_client")
nDataAccountIn_turn := oJsonResponse:BoolOf("data.account.in_turn")
nDataAccountIn_turn_director_management := oJsonResponse:BoolOf("data.account.in_turn_director_management")
nDataAccountLeads_other_division := oJsonResponse:BoolOf("data.account.leads_other_division")
nDataAccountLeadxpress_optionPriority := oJsonResponse:IntOf("data.account.leadxpress_option.priority")
nDataAccountLeadxpress_optionReminderFrequency := oJsonResponse:IntOf("data.account.leadxpress_option.reminder.frequency")
nDataAccountLeadxpress_optionReminderRecurrence := oJsonResponse:IntOf("data.account.leadxpress_option.reminder.recurrence")
nDataAccountLeadxpress_optionScheduleAccount := oJsonResponse:BoolOf("data.account.leadxpress_option.schedule.account")
nDataAccountLeadxpress_optionScheduleAdvisor := oJsonResponse:BoolOf("data.account.leadxpress_option.schedule.advisor")
nDataAccountLimited_audio_access := oJsonResponse:BoolOf("data.account.limited_audio_access")
cDataAccountLogo := oJsonResponse:StringOf("data.account.logo")
cDataAccountLogo_en := oJsonResponse:StringOf("data.account.logo_en")
nDataAccountMandatory_coordinate := oJsonResponse:BoolOf("data.account.mandatory_coordinate")
nDataAccountManually_status := oJsonResponse:BoolOf("data.account.manually_status")
cDataAccountMerge_rule := oJsonResponse:StringOf("data.account.merge_rule")
nDataAccountMonth_start_day := oJsonResponse:IntOf("data.account.month_start_day")
cDataAccountName := oJsonResponse:StringOf("data.account.name")
nDataAccountNiotext := oJsonResponse:BoolOf("data.account.niotext")
nDataAccountNiotext_phone := oJsonResponse:BoolOf("data.account.niotext_phone")
cDataAccountPhone := oJsonResponse:StringOf("data.account.phone")
nDataAccountPower_sport := oJsonResponse:BoolOf("data.account.power_sport")
nDataAccountProcess := oJsonResponse:BoolOf("data.account.process")
nDataAccountRecreative_special := oJsonResponse:BoolOf("data.account.recreative_special")
nDataAccountResult_date_validation := oJsonResponse:BoolOf("data.account.result_date_validation")
nDataAccountSale_accessories := oJsonResponse:BoolOf("data.account.sale_accessories")
nDataAccountSale_by_phone := oJsonResponse:BoolOf("data.account.sale_by_phone")
nDataAccountSale_date_month := oJsonResponse:BoolOf("data.account.sale_date_month")
nDataAccountSale_table_optionsAccessory_column := oJsonResponse:BoolOf("data.account.sale_table_options.accessory_column")
nDataAccountSale_table_optionsCommercial_column := oJsonResponse:BoolOf("data.account.sale_table_options.commercial_column")
nDataAccountSale_table_optionsDivision_grouped_total_column := oJsonResponse:BoolOf("data.account.sale_table_options.division_grouped_total_column")
nDataAccountSale_validation := oJsonResponse:BoolOf("data.account.sale_validation")
nDataAccountScan := oJsonResponse:BoolOf("data.account.scan")
nDataAccountStock_required_for_sale := oJsonResponse:BoolOf("data.account.stock_required_for_sale")
nDataAccountTake_over_director := oJsonResponse:BoolOf("data.account.take_over_director")
nDataAccountTrade_report := oJsonResponse:BoolOf("data.account.trade_report")
nDataAccountUnrestricted_assignment := oJsonResponse:BoolOf("data.account.unrestricted_assignment")
nDataAccountUnsubscribe := oJsonResponse:BoolOf("data.account.unsubscribe")
nDataAccountUntreated_lead := oJsonResponse:BoolOf("data.account.untreated_lead")
nDataAccountVehicle_model_text := oJsonResponse:BoolOf("data.account.vehicle_model_text")
nDataAccountVehicle_text := oJsonResponse:BoolOf("data.account.vehicle_text")
nDataAccountVerified_sale := oJsonResponse:BoolOf("data.account.verified_sale")
nDataAccountVin_decoder := oJsonResponse:BoolOf("data.account.vin_decoder")
cDataAccountWaiting_sale_date := oJsonResponse:StringOf("data.account.waiting_sale_date")
nDataAccountWaiting_sale_option := oJsonResponse:BoolOf("data.account.waiting_sale_option")
cDataAdvisor := oJsonResponse:StringOf("data.advisor")
cDataBdc := oJsonResponse:StringOf("data.bdc")
cDataCommercial := oJsonResponse:StringOf("data.commercial")
cDataService_advisor := oJsonResponse:StringOf("data.service_advisor")
cDataService_agent := oJsonResponse:StringOf("data.service_agent")
i := 0
nCount_i := oJsonResponse:SizeOfArray("data.service_process")
DO WHILE i < nCount_i
oJsonResponse:I := i
i := i + 1
ENDDO
i := 0
nCount_i := oJsonResponse:SizeOfArray("data.emails")
DO WHILE i < nCount_i
oJsonResponse:I := i
nId := oJsonResponse:IntOf("data.emails[i].id")
cCreated_at := oJsonResponse:StringOf("data.emails[i].created_at")
cUpdated_at := oJsonResponse:StringOf("data.emails[i].updated_at")
nLead_id := oJsonResponse:IntOf("data.emails[i].lead_id")
cAddress := oJsonResponse:StringOf("data.emails[i].address")
cV_type := oJsonResponse:StringOf("data.emails[i].type")
nValid := oJsonResponse:BoolOf("data.emails[i].valid")
i := i + 1
ENDDO
i := 0
nCount_i := oJsonResponse:SizeOfArray("data.phones")
DO WHILE i < nCount_i
oJsonResponse:I := i
nId := oJsonResponse:IntOf("data.phones[i].id")
cCreated_at := oJsonResponse:StringOf("data.phones[i].created_at")
cUpdated_at := oJsonResponse:StringOf("data.phones[i].updated_at")
nLead_id := oJsonResponse:IntOf("data.phones[i].lead_id")
cExtension := oJsonResponse:StringOf("data.phones[i].extension")
cNumber := oJsonResponse:StringOf("data.phones[i].number")
cV_type := oJsonResponse:StringOf("data.phones[i].type")
nValid := oJsonResponse:BoolOf("data.phones[i].valid")
nValidated := oJsonResponse:BoolOf("data.phones[i].validated")
nMobile := oJsonResponse:BoolOf("data.phones[i].mobile")
i := i + 1
ENDDO
i := 0
nCount_i := oJsonResponse:SizeOfArray("data.vehicles")
DO WHILE i < nCount_i
oJsonResponse:I := i
nId := oJsonResponse:IntOf("data.vehicles[i].id")
cCreated_at := oJsonResponse:StringOf("data.vehicles[i].created_at")
cUpdated_at := oJsonResponse:StringOf("data.vehicles[i].updated_at")
nLead_id := oJsonResponse:IntOf("data.vehicles[i].lead_id")
cAccessories := oJsonResponse:StringOf("data.vehicles[i].accessories")
cAllowed_odometer := oJsonResponse:StringOf("data.vehicles[i].allowed_odometer")
nBalance := oJsonResponse:IntOf("data.vehicles[i].balance")
cBudget_max := oJsonResponse:StringOf("data.vehicles[i].budget_max")
cBudget_min := oJsonResponse:StringOf("data.vehicles[i].budget_min")
cCash_down := oJsonResponse:StringOf("data.vehicles[i].cash_down")
cCategory := oJsonResponse:StringOf("data.vehicles[i].category")
cCategory_rv := oJsonResponse:StringOf("data.vehicles[i].category_rv")
cClient_number := oJsonResponse:StringOf("data.vehicles[i].client_number")
cColor_exterior := oJsonResponse:StringOf("data.vehicles[i].color_exterior")
cColor_interior := oJsonResponse:StringOf("data.vehicles[i].color_interior")
cComment := oJsonResponse:StringOf("data.vehicles[i].comment")
cCondition := oJsonResponse:StringOf("data.vehicles[i].condition")
cEnd_contract_date := oJsonResponse:StringOf("data.vehicles[i].end_contract_date")
cEnd_warranty_date := oJsonResponse:StringOf("data.vehicles[i].end_warranty_date")
cEngine := oJsonResponse:StringOf("data.vehicles[i].engine")
cExtended_warranty := oJsonResponse:StringOf("data.vehicles[i].extended_warranty")
cFuel := oJsonResponse:StringOf("data.vehicles[i].fuel")
cLength_max := oJsonResponse:StringOf("data.vehicles[i].length_max")
cLength_min := oJsonResponse:StringOf("data.vehicles[i].length_min")
cLicense_plate := oJsonResponse:StringOf("data.vehicles[i].license_plate")
cMake := oJsonResponse:StringOf("data.vehicles[i].make")
cModality := oJsonResponse:StringOf("data.vehicles[i].modality")
cModel := oJsonResponse:StringOf("data.vehicles[i].model")
cOdometer := oJsonResponse:StringOf("data.vehicles[i].odometer")
cOffer_number := oJsonResponse:StringOf("data.vehicles[i].offer_number")
cV_option := oJsonResponse:StringOf("data.vehicles[i].option")
cOrder_number := oJsonResponse:StringOf("data.vehicles[i].order_number")
cPayment := oJsonResponse:StringOf("data.vehicles[i].payment")
cPayment_frequency := oJsonResponse:StringOf("data.vehicles[i].payment_frequency")
cPreparation := oJsonResponse:StringOf("data.vehicles[i].preparation")
cPrice := oJsonResponse:StringOf("data.vehicles[i].price")
cProfit := oJsonResponse:StringOf("data.vehicles[i].profit")
cPurchase_date := oJsonResponse:StringOf("data.vehicles[i].purchase_date")
cRate := oJsonResponse:StringOf("data.vehicles[i].rate")
cRecall := oJsonResponse:StringOf("data.vehicles[i].recall")
cRecorded_date := oJsonResponse:StringOf("data.vehicles[i].recorded_date")
cResidual := oJsonResponse:StringOf("data.vehicles[i].residual")
cSecurity_deposit := oJsonResponse:StringOf("data.vehicles[i].security_deposit")
cSleeping := oJsonResponse:StringOf("data.vehicles[i].sleeping")
nSold := oJsonResponse:BoolOf("data.vehicles[i].sold")
cSold_by := oJsonResponse:StringOf("data.vehicles[i].sold_by")
cSold_date := oJsonResponse:StringOf("data.vehicles[i].sold_date")
cStock := oJsonResponse:StringOf("data.vehicles[i].stock")
cStock_state := oJsonResponse:StringOf("data.vehicles[i].stock_state")
cTerm := oJsonResponse:StringOf("data.vehicles[i].term")
nTire := oJsonResponse:BoolOf("data.vehicles[i].tire")
cTransmission := oJsonResponse:StringOf("data.vehicles[i].transmission")
cTrim := oJsonResponse:StringOf("data.vehicles[i].trim")
cV_type := oJsonResponse:StringOf("data.vehicles[i].type")
cUrl := oJsonResponse:StringOf("data.vehicles[i].url")
cValue := oJsonResponse:StringOf("data.vehicles[i].value")
cVin := oJsonResponse:StringOf("data.vehicles[i].vin")
cWarranty := oJsonResponse:StringOf("data.vehicles[i].warranty")
cWeight := oJsonResponse:StringOf("data.vehicles[i].weight")
cYear := oJsonResponse:StringOf("data.vehicles[i].year")
cYear_max := oJsonResponse:StringOf("data.vehicles[i].year_max")
cYear_min := oJsonResponse:StringOf("data.vehicles[i].year_min")
i := i + 1
ENDDO
i := 0
nCount_i := oJsonResponse:SizeOfArray("data.related_ids")
DO WHILE i < nCount_i
oJsonResponse:I := i
i := i + 1
ENDDO
oHttp:destroy()
oJsonRequestBody:destroy()
oResp:destroy()
oJsonResponse:destroy()