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

Delphi DLL Web API Examples

Primary Categories

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

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

 

 

 

(Delphi DLL) Activix CRM Create a Lead

Demonstrates how to create a lead and returns the created lead.

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

Chilkat for Delphi Downloads

Chilkat non-ActiveX DLL for Delphi

Chilkat ActiveX DLL for Delphi

* The examples here use the non-ActiveX DLL.

uses
    Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
    Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Http, HttpResponse, JsonObject;

...

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

begin
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

http := CkHttp_Create();

CkHttp_putAuthToken(http,'ACCESS_TOKEN');

CkHttp_putAccept(http,'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

jsonRequestBody := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonRequestBody,'account_id','MY_ACCOUNT_ID');
CkJsonObject_UpdateString(jsonRequestBody,'first_name','John');
CkJsonObject_UpdateString(jsonRequestBody,'last_name','Doe');
CkJsonObject_UpdateString(jsonRequestBody,'type','email');
CkJsonObject_UpdateString(jsonRequestBody,'advisor.first_name','John');
CkJsonObject_UpdateString(jsonRequestBody,'advisor.last_name','Doe');
CkJsonObject_UpdateString(jsonRequestBody,'emails[0].address','hello@example.com');
CkJsonObject_UpdateString(jsonRequestBody,'emails[0].type','home');
CkJsonObject_UpdateString(jsonRequestBody,'phones[0].number','+15144321214');
CkJsonObject_UpdateInt(jsonRequestBody,'phones[0].extension',12345);
CkJsonObject_UpdateString(jsonRequestBody,'phones[0].type','home');
CkJsonObject_UpdateString(jsonRequestBody,'vehicles[0].make','Aston Martin');
CkJsonObject_UpdateString(jsonRequestBody,'vehicles[0].model','DB11');
CkJsonObject_UpdateInt(jsonRequestBody,'vehicles[0].year',2018);
CkJsonObject_UpdateString(jsonRequestBody,'vehicles[0].type','wanted');

url := 'https://crm.activix.ca/api/v2/leads';

resp := CkHttp_PText(http,'POST',url,CkJsonObject__emit(jsonRequestBody),'utf-8','application/json',False,False);
if (CkHttp_getLastMethodSuccess(http) <> True) then
  begin
    Memo1.Lines.Add(CkHttp__lastErrorText(http));
    Exit;
  end;

Memo1.Lines.Add('Response Status Code: ' + IntToStr(CkHttpResponse_getStatusCode(resp)));

jsonResponse := CkJsonObject_Create();
CkJsonObject_Load(jsonResponse,CkHttpResponse__bodyStr(resp));
CkJsonObject_putEmitCompact(jsonResponse,False);
Memo1.Lines.Add(CkJsonObject__emit(jsonResponse));

if (CkHttpResponse_getStatusCode(resp) >= 300) then
  begin
    Memo1.Lines.Add('Failed.');
    CkHttpResponse_Dispose(resp);
    Exit;
  end;

CkHttpResponse_Dispose(resp);

// Sample output...
// (See the parsing code below..)
// 
// Use the this online tool to generate parsing code from sample JSON: 
// Generate Parsing Code from JSON

// {
//     "data": {
//         "id": 3387562,
//         "created_at": "2018-04-09T18:05:00+00:00",
//         "updated_at": "2018-04-09T18:07:00+00:00",
//         "first_name": "John",
//         "last_name": "Doe",
//         ...
//         "account": {
//             "id": 66,
//             ...
//         },
//         "advisor": {
//             "id": 51112,
//             ...
//         },
//         "emails": [
//             {
//                 "id": 3664451,
//                 ...
//             },
//             ...
//         ],
//         "phones": [
//             {
//                 "id": 9465546,
//                 ...
//             },
//             ...
//         ],
//         "vehicles": [
//             {
//                 "id": 4542214,
//                 ...
//             },
//             ...
//         ]
//     }
// }

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

i := 0;
count_i := CkJsonObject_SizeOfArray(jsonResponse,'data.emails');
while i < count_i do
  begin
    CkJsonObject_putI(jsonResponse,i);
    id := CkJsonObject_IntOf(jsonResponse,'data.emails[i].id');
    created_at := CkJsonObject__stringOf(jsonResponse,'data.emails[i].created_at');
    updated_at := CkJsonObject__stringOf(jsonResponse,'data.emails[i].updated_at');
    lead_id := CkJsonObject_IntOf(jsonResponse,'data.emails[i].lead_id');
    address := CkJsonObject__stringOf(jsonResponse,'data.emails[i].address');
    v_type := CkJsonObject__stringOf(jsonResponse,'data.emails[i].type');
    valid := CkJsonObject_BoolOf(jsonResponse,'data.emails[i].valid');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jsonResponse,'data.phones');
while i < count_i do
  begin
    CkJsonObject_putI(jsonResponse,i);
    id := CkJsonObject_IntOf(jsonResponse,'data.phones[i].id');
    created_at := CkJsonObject__stringOf(jsonResponse,'data.phones[i].created_at');
    updated_at := CkJsonObject__stringOf(jsonResponse,'data.phones[i].updated_at');
    lead_id := CkJsonObject_IntOf(jsonResponse,'data.phones[i].lead_id');
    extension := CkJsonObject__stringOf(jsonResponse,'data.phones[i].extension');
    number := CkJsonObject__stringOf(jsonResponse,'data.phones[i].number');
    v_type := CkJsonObject__stringOf(jsonResponse,'data.phones[i].type');
    valid := CkJsonObject_BoolOf(jsonResponse,'data.phones[i].valid');
    validated := CkJsonObject_BoolOf(jsonResponse,'data.phones[i].validated');
    mobile := CkJsonObject_BoolOf(jsonResponse,'data.phones[i].mobile');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jsonResponse,'data.vehicles');
while i < count_i do
  begin
    CkJsonObject_putI(jsonResponse,i);
    id := CkJsonObject_IntOf(jsonResponse,'data.vehicles[i].id');
    created_at := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].created_at');
    updated_at := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].updated_at');
    lead_id := CkJsonObject_IntOf(jsonResponse,'data.vehicles[i].lead_id');
    accessories := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].accessories');
    allowed_odometer := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].allowed_odometer');
    balance := CkJsonObject_IntOf(jsonResponse,'data.vehicles[i].balance');
    budget_max := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].budget_max');
    budget_min := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].budget_min');
    cash_down := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].cash_down');
    category := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].category');
    category_rv := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].category_rv');
    client_number := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].client_number');
    color_exterior := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].color_exterior');
    color_interior := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].color_interior');
    comment := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].comment');
    condition := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].condition');
    end_contract_date := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].end_contract_date');
    end_warranty_date := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].end_warranty_date');
    engine := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].engine');
    extended_warranty := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].extended_warranty');
    fuel := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].fuel');
    length_max := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].length_max');
    length_min := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].length_min');
    license_plate := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].license_plate');
    make := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].make');
    modality := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].modality');
    model := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].model');
    odometer := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].odometer');
    offer_number := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].offer_number');
    v_option := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].option');
    order_number := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].order_number');
    payment := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].payment');
    payment_frequency := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].payment_frequency');
    preparation := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].preparation');
    price := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].price');
    profit := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].profit');
    purchase_date := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].purchase_date');
    rate := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].rate');
    recall := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].recall');
    recorded_date := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].recorded_date');
    residual := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].residual');
    security_deposit := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].security_deposit');
    sleeping := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].sleeping');
    sold := CkJsonObject_BoolOf(jsonResponse,'data.vehicles[i].sold');
    sold_by := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].sold_by');
    sold_date := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].sold_date');
    stock := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].stock');
    stock_state := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].stock_state');
    term := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].term');
    tire := CkJsonObject_BoolOf(jsonResponse,'data.vehicles[i].tire');
    transmission := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].transmission');
    trim := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].trim');
    v_type := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].type');
    url := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].url');
    value := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].value');
    vin := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].vin');
    warranty := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].warranty');
    weight := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].weight');
    year := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].year');
    year_max := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].year_max');
    year_min := CkJsonObject__stringOf(jsonResponse,'data.vehicles[i].year_min');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jsonResponse,'data.related_ids');
while i < count_i do
  begin
    CkJsonObject_putI(jsonResponse,i);
    i := i + 1;
  end;

CkHttp_Dispose(http);
CkJsonObject_Dispose(jsonRequestBody);
CkJsonObject_Dispose(jsonResponse);

end;

 

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