C
C
Activix CRM Create a Lead
See more Activix CRM Examples
Demonstrates how to create a lead and returns the created lead.Chilkat C Downloads
#include <C_CkHttp.h>
#include <C_CkJsonObject.h>
#include <C_CkHttpResponse.h>
void ChilkatSample(void)
{
BOOL success;
HCkHttp http;
HCkJsonObject jsonRequestBody;
const char *url;
HCkHttpResponse resp;
HCkJsonObject jsonResponse;
int dataId;
const char *dataCreated_at;
const char *dataUpdated_at;
int dataAccount_id;
const char *dataAddress_line1;
const char *dataAddress_line2;
const char *dataAppointment_date;
const char *dataAppt_call;
const char *dataAvailable_date;
const char *dataAverage_spending;
const char *dataBe_back_date;
const char *dataBirth_date;
const char *dataBusiness;
const char *dataCall_date;
const char *dataCity;
const char *dataCivility;
const char *dataCode;
const char *dataCountry;
const char *dataCsi_date;
const char *dataDelivered_by_id;
const char *dataDelivered_date;
const char *dataDelivery_date;
const char *dataDivision;
const char *dataEnd_service_date;
const char *dataFirst_name;
const char *dataGas;
int dataGender;
const char *dataInvoiced;
const char *dataLast_name;
const char *dataLast_visit_date;
const char *dataLocale;
const char *dataLoyalty;
const char *dataNext_visit_date;
const char *dataOdometer_last_visit;
const char *dataOpen_work_order_date;
const char *dataPlanned_pick_up_date;
const char *dataPostal_code;
const char *dataPrepaid;
const char *dataPrepared;
const char *dataPresented_date;
const char *dataPromised_date;
const char *dataProvince;
const char *dataRating;
const char *dataReached_client;
const char *dataRefinanced_date;
const char *dataRepair_date;
const char *dataRepair_order;
const char *dataResult;
const char *dataRoad_test_date;
const char *dataSale_date;
const char *dataSecond_contact;
const char *dataSecond_contact_civility;
const char *dataSegment;
const char *dataService_cleaned;
const char *dataService_interval_km;
const char *dataService_monthly_km;
const char *dataSex;
const char *dataSource;
const char *dataStatus;
const char *dataStorage;
const char *dataTake_over_date;
const char *dataType;
const char *dataUnsubscribe_all_date;
const char *dataUnsubscribe_call_date;
const char *dataUnsubscribe_email_date;
const char *dataUnsubscribe_sms_date;
const char *dataWork_order;
int dataAccountId;
const char *dataAccountCreated_at;
const char *dataAccountUpdated_at;
int dataAccountPartner_id;
BOOL dataAccountActivity_report;
BOOL dataAccountCommercial;
BOOL dataAccountEvent;
BOOL dataAccountLeadxpress;
BOOL dataAccountLoyalty;
BOOL dataAccountPhone_up;
BOOL dataAccountRenewal;
BOOL dataAccountSale_table;
BOOL dataAccountService;
BOOL dataAccountWalk_in;
BOOL dataAccountWebboost;
BOOL dataAccountAccount_manager;
const char *dataAccountActivation_date;
BOOL dataAccountActive;
BOOL dataAccountAssigned_lead;
BOOL dataAccountAuto_renewal;
BOOL dataAccountAuto_renewal_new;
BOOL dataAccountAuto_renewal_used;
BOOL dataAccountAutomation;
BOOL dataAccountBdc_advisor;
BOOL dataAccountCalendar_options;
BOOL dataAccountClient_card_fieldsProcessGas;
BOOL dataAccountClient_card_fieldsProcessRecorded;
BOOL dataAccountClient_card_fieldsProcessAvailable;
BOOL dataAccountClient_card_fieldsProcessDiscounted;
BOOL dataAccountClient_card_fieldsCommercialProfit;
BOOL dataAccountClient_card_fieldsCommercialExclude;
BOOL dataAccountClient_card_fieldsCommercialMeeting;
BOOL dataAccountClient_card_fieldsPerformanceDeposit;
BOOL dataAccountClient_card_fieldsPerformanceRefinanced;
BOOL dataAccountClient_card_fieldsPerformanceDealer_tour;
BOOL dataAccountClient_card_fieldsPerformanceWalk_around;
BOOL dataAccountClient_card_fieldsPerformanceQualification;
BOOL dataAccountClient_card_fieldsPerformanceTwenty_four_hour;
BOOL dataAccountClient_card_fieldsGeneral_infoBudget;
BOOL dataAccountClient_card_fieldsGeneral_infoSector;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_1;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_2;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_3;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_4;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_5;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_6;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_7;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_8;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_9;
BOOL dataAccountClient_card_fieldsGeneral_infoCustom_10;
BOOL dataAccountClient_card_fieldsGeneral_infoCommunication_preference;
BOOL dataAccountClient_card_fieldsWanted_vehicleVin;
BOOL dataAccountClient_card_fieldsWanted_vehicleFuel;
BOOL dataAccountClient_card_fieldsWanted_vehicleRate;
BOOL dataAccountClient_card_fieldsWanted_vehicleTerm;
BOOL dataAccountClient_card_fieldsWanted_vehicleTire;
BOOL dataAccountClient_card_fieldsWanted_vehicleYear;
BOOL dataAccountClient_card_fieldsWanted_vehicleColor;
BOOL dataAccountClient_card_fieldsWanted_vehiclePrice;
BOOL dataAccountClient_card_fieldsWanted_vehicleStock;
BOOL dataAccountClient_card_fieldsWanted_vehicleTotal;
BOOL dataAccountClient_card_fieldsWanted_vehicleBudget;
BOOL dataAccountClient_card_fieldsWanted_vehicleEngine;
BOOL dataAccountClient_card_fieldsWanted_vehicleLength;
BOOL dataAccountClient_card_fieldsWanted_vehicleProfit;
BOOL dataAccountClient_card_fieldsWanted_vehicleSuffix;
BOOL dataAccountClient_card_fieldsWanted_vehicleWeight;
BOOL dataAccountClient_card_fieldsWanted_vehicleComment;
BOOL dataAccountClient_card_fieldsWanted_vehicleMileage;
BOOL dataAccountClient_card_fieldsWanted_vehiclePayment;
BOOL dataAccountClient_card_fieldsWanted_vehicleBodyType;
BOOL dataAccountClient_card_fieldsWanted_vehicleCategory;
BOOL dataAccountClient_card_fieldsWanted_vehicleModality;
BOOL dataAccountClient_card_fieldsWanted_vehicleResidual;
BOOL dataAccountClient_card_fieldsWanted_vehicleSleeping;
BOOL dataAccountClient_card_fieldsWanted_vehicleWarranty;
BOOL dataAccountClient_card_fieldsWanted_vehicleFrequency;
BOOL dataAccountClient_card_fieldsWanted_vehicleAccessories;
BOOL dataAccountClient_card_fieldsWanted_vehicleCategory_rv;
BOOL dataAccountClient_card_fieldsWanted_vehiclePreparation;
BOOL dataAccountClient_card_fieldsWanted_vehicleInitial_cash;
BOOL dataAccountClient_card_fieldsWanted_vehicleOffer_number;
BOOL dataAccountClient_card_fieldsWanted_vehicleOrder_number;
BOOL dataAccountClient_card_fieldsWanted_vehicleTransmission;
BOOL dataAccountClient_card_fieldsWanted_vehicleDocumentation;
BOOL dataAccountClient_card_fieldsWanted_vehicleDrivingWheels;
BOOL dataAccountClient_card_fieldsWanted_vehicleColor_exterior;
BOOL dataAccountClient_card_fieldsWanted_vehicleColor_interior;
BOOL dataAccountClient_card_fieldsWanted_vehicleAllowed_mileage;
BOOL dataAccountClient_card_fieldsWanted_vehicleSecurity_deposit;
BOOL dataAccountClient_card_fieldsWanted_vehicleEnd_contract_date;
BOOL dataAccountClient_card_fieldsExchange_vehicleVin;
BOOL dataAccountClient_card_fieldsExchange_vehicleFuel;
BOOL dataAccountClient_card_fieldsExchange_vehicleLink;
BOOL dataAccountClient_card_fieldsExchange_vehicleRate;
BOOL dataAccountClient_card_fieldsExchange_vehicleTerm;
BOOL dataAccountClient_card_fieldsExchange_vehicleYear;
BOOL dataAccountClient_card_fieldsExchange_vehicleColor;
BOOL dataAccountClient_card_fieldsExchange_vehiclePrice;
BOOL dataAccountClient_card_fieldsExchange_vehicleStock;
BOOL dataAccountClient_card_fieldsExchange_vehicleValue;
BOOL dataAccountClient_card_fieldsExchange_vehicleBudget;
BOOL dataAccountClient_card_fieldsExchange_vehicleEngine;
BOOL dataAccountClient_card_fieldsExchange_vehicleLength;
BOOL dataAccountClient_card_fieldsExchange_vehicleProfit;
BOOL dataAccountClient_card_fieldsExchange_vehicleSuffix;
BOOL dataAccountClient_card_fieldsExchange_vehicleWeight;
BOOL dataAccountClient_card_fieldsExchange_vehicleBalance;
BOOL dataAccountClient_card_fieldsExchange_vehicleComment;
BOOL dataAccountClient_card_fieldsExchange_vehicleMileage;
BOOL dataAccountClient_card_fieldsExchange_vehiclePayment;
BOOL dataAccountClient_card_fieldsExchange_vehicleRenewal;
BOOL dataAccountClient_card_fieldsExchange_vehicleSold_by;
BOOL dataAccountClient_card_fieldsExchange_vehicleBodyType;
BOOL dataAccountClient_card_fieldsExchange_vehicleCategory;
BOOL dataAccountClient_card_fieldsExchange_vehicleModality;
BOOL dataAccountClient_card_fieldsExchange_vehicleResidual;
BOOL dataAccountClient_card_fieldsExchange_vehicleSleeping;
BOOL dataAccountClient_card_fieldsExchange_vehicleWarranty;
BOOL dataAccountClient_card_fieldsExchange_vehicleCondition;
BOOL dataAccountClient_card_fieldsExchange_vehicleFrequency;
BOOL dataAccountClient_card_fieldsExchange_vehicleIntention;
BOOL dataAccountClient_card_fieldsExchange_vehicleRefinance;
BOOL dataAccountClient_card_fieldsExchange_vehicleRequested;
BOOL dataAccountClient_card_fieldsExchange_vehicleSold_date;
BOOL dataAccountClient_card_fieldsExchange_vehicleCategory_rv;
BOOL dataAccountClient_card_fieldsExchange_vehicleInstitution;
BOOL dataAccountClient_card_fieldsExchange_vehicleInitial_cash;
BOOL dataAccountClient_card_fieldsExchange_vehicleOffer_number;
BOOL dataAccountClient_card_fieldsExchange_vehicleTransmission;
BOOL dataAccountClient_card_fieldsExchange_vehicleDrivingWheels;
BOOL dataAccountClient_card_fieldsExchange_vehicleColor_exterior;
BOOL dataAccountClient_card_fieldsExchange_vehicleColor_interior;
BOOL dataAccountClient_card_fieldsExchange_vehicleAllowed_mileage;
BOOL dataAccountClient_card_fieldsExchange_vehicleSecurity_deposit;
BOOL dataAccountClient_card_fieldsExchange_vehicleEnd_contract_date;
BOOL dataAccountClient_number;
BOOL dataAccountConfirmation_appt;
BOOL dataAccountCredit;
BOOL dataAccountCsi;
BOOL dataAccountCsi_used;
const char *dataAccountDefault_deliveryman_user_id;
BOOL dataAccountDelivered_by;
BOOL dataAccountDisable_communication_audio;
BOOL dataAccountDuplicates;
BOOL dataAccountGuest_action;
BOOL dataAccountEmail_client;
BOOL dataAccountIn_turn;
BOOL dataAccountIn_turn_director_management;
BOOL dataAccountLeads_other_division;
int dataAccountLeadxpress_optionPriority;
int dataAccountLeadxpress_optionReminderFrequency;
int dataAccountLeadxpress_optionReminderRecurrence;
BOOL dataAccountLeadxpress_optionScheduleAccount;
BOOL dataAccountLeadxpress_optionScheduleAdvisor;
BOOL dataAccountLimited_audio_access;
const char *dataAccountLogo;
const char *dataAccountLogo_en;
BOOL dataAccountMandatory_coordinate;
BOOL dataAccountManually_status;
const char *dataAccountMerge_rule;
int dataAccountMonth_start_day;
const char *dataAccountName;
BOOL dataAccountNiotext;
BOOL dataAccountNiotext_phone;
const char *dataAccountPhone;
BOOL dataAccountPower_sport;
BOOL dataAccountProcess;
BOOL dataAccountRecreative_special;
BOOL dataAccountResult_date_validation;
BOOL dataAccountSale_accessories;
BOOL dataAccountSale_by_phone;
BOOL dataAccountSale_date_month;
BOOL dataAccountSale_table_optionsAccessory_column;
BOOL dataAccountSale_table_optionsCommercial_column;
BOOL dataAccountSale_table_optionsDivision_grouped_total_column;
BOOL dataAccountSale_validation;
BOOL dataAccountScan;
BOOL dataAccountStock_required_for_sale;
BOOL dataAccountTake_over_director;
BOOL dataAccountTrade_report;
BOOL dataAccountUnrestricted_assignment;
BOOL dataAccountUnsubscribe;
BOOL dataAccountUntreated_lead;
BOOL dataAccountVehicle_model_text;
BOOL dataAccountVehicle_text;
BOOL dataAccountVerified_sale;
BOOL dataAccountVin_decoder;
const char *dataAccountWaiting_sale_date;
BOOL dataAccountWaiting_sale_option;
const char *dataAdvisor;
const char *dataBdc;
const char *dataCommercial;
const char *dataService_advisor;
const char *dataService_agent;
int i;
int count_i;
int id;
const char *created_at;
const char *updated_at;
int lead_id;
const char *address;
const char *v_type;
BOOL valid;
const char *extension;
const char *number;
BOOL validated;
BOOL mobile;
const char *accessories;
const char *allowed_odometer;
int balance;
const char *budget_max;
const char *budget_min;
const char *cash_down;
const char *category;
const char *category_rv;
const char *client_number;
const char *color_exterior;
const char *color_interior;
const char *comment;
const char *condition;
const char *end_contract_date;
const char *end_warranty_date;
const char *engine;
const char *extended_warranty;
const char *fuel;
const char *length_max;
const char *length_min;
const char *license_plate;
const char *make;
const char *modality;
const char *model;
const char *odometer;
const char *offer_number;
const char *v_option;
const char *order_number;
const char *payment;
const char *payment_frequency;
const char *preparation;
const char *price;
const char *profit;
const char *purchase_date;
const char *rate;
const char *recall;
const char *recorded_date;
const char *residual;
const char *security_deposit;
const char *sleeping;
BOOL sold;
const char *sold_by;
const char *sold_date;
const char *stock;
const char *stock_state;
const char *term;
BOOL tire;
const char *transmission;
const char *trim;
const char *url;
const char *value;
const char *vin;
const char *warranty;
const char *weight;
const char *year;
const char *year_max;
const char *year_min;
success = FALSE;
// 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 = CkHttpResponse_Create();
success = CkHttp_HttpJson(http,"POST",url,jsonRequestBody,"application/json",resp);
if (success == FALSE) {
printf("%s\n",CkHttp_lastErrorText(http));
CkHttp_Dispose(http);
CkJsonObject_Dispose(jsonRequestBody);
CkHttpResponse_Dispose(resp);
return;
}
printf("Response Status Code: %d\n",CkHttpResponse_getStatusCode(resp));
jsonResponse = CkJsonObject_Create();
CkJsonObject_Load(jsonResponse,CkHttpResponse_bodyStr(resp));
CkJsonObject_putEmitCompact(jsonResponse,FALSE);
printf("%s\n",CkJsonObject_emit(jsonResponse));
if (CkHttpResponse_getStatusCode(resp) >= 300) {
printf("Failed.\n");
CkHttp_Dispose(http);
CkJsonObject_Dispose(jsonRequestBody);
CkHttpResponse_Dispose(resp);
CkJsonObject_Dispose(jsonResponse);
return;
}
// 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) {
CkJsonObject_putI(jsonResponse,i);
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jsonResponse,"data.emails");
while (i < count_i) {
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;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jsonResponse,"data.phones");
while (i < count_i) {
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;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jsonResponse,"data.vehicles");
while (i < count_i) {
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;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jsonResponse,"data.related_ids");
while (i < count_i) {
CkJsonObject_putI(jsonResponse,i);
i = i + 1;
}
CkHttp_Dispose(http);
CkJsonObject_Dispose(jsonRequestBody);
CkHttpResponse_Dispose(resp);
CkJsonObject_Dispose(jsonResponse);
}