IpadClient

IpadClient

new IpadClient(service_url, use_jsonp)

Source:
Parameters:
Name Type Description
service_url string
use_jsonp boolean

Classes

ProtocolError

Methods

attempt_set_price_mode(session_id, price_mode, send_update, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
price_mode spv.vds.ipprot_nova.volvopod.VdsPriceMode
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
on_success function
on_failure function

disable_private_leasing(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

enable_private_leasing(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

generate_retailer_html_for_pdf(session_id, template_name, retailer_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
template_name string
retailer_id string
on_success function
on_failure function

get_available_leasing_parameters(on_success, on_failure)

Source:
Parameters:
Name Type Description
on_success function
on_failure function

get_benefit_value_tax(encoded_config, encoding, miles_in_service, on_success, on_failure)

Source:
Parameters:
Name Type Description
encoded_config string
encoding string
miles_in_service number
on_success function
on_failure function

get_config_quick_info(session_id, config_name, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
config_name string
on_success function
on_failure function

get_current_price_mode(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

get_leasing_params(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

get_model_views(on_success, on_failure)

Source:
Parameters:
Name Type Description
on_success function
on_failure function

get_vehicle_data(cis, on_success, on_failure)

Source:
Parameters:
Name Type Description
cis string
on_success function
on_failure function

GetAllCars(modelId, on_success, on_failure)

Source:
Parameters:
Name Type Description
modelId string
on_success function
on_failure function

GetTrimLevels(modelId, on_success, on_failure)

Source:
Parameters:
Name Type Description
modelId string
on_success function
on_failure function

loan_get_current_loan(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

loan_reset(session_id, send_update, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
on_success function
on_failure function

loan_set_loan_paramters(session_id, down_payment, interest_rate, number_of_months, send_update, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
down_payment number
interest_rate number
number_of_months number
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
on_success function
on_failure function

poll_volvo_bank_id_result(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

send_customer_mail_and_tacdis(session_id, customer_first_name, customer_surname, customer_email, customer_phone, preferred_contact_time, preferred_contact_media, want_quote, want_newsletters, mail_link_url, retailer_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
customer_first_name string
customer_surname string
customer_email string
customer_phone string
preferred_contact_time string
preferred_contact_media string
want_quote boolean
want_newsletters boolean
mail_link_url string
retailer_id string
on_success function
on_failure function

send_to_tacdis(session_id, customer_first_name, customer_surname, customer_email, customer_phone, retailer_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
customer_first_name string
customer_surname string
customer_email string
customer_phone string
retailer_id string
on_success function
on_failure function

set_accessory_mode(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

set_co2_and_consumption(session_id, co2, fuel_consumption, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
co2 string
fuel_consumption string
on_success function
on_failure function

set_price_mode(session_id, price_mode, send_update, optional_input, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
price_mode spv.vds.ipprot_nova.volvopod.VdsPriceMode
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
optional_input string
on_success function
on_failure function

set_retailer_business_group(session_id, business_group_retailer_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
business_group_retailer_id string
on_success function
on_failure function

set_volvo_filter(session_id, filter_key, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
filter_key string
on_success function
on_failure function

start_volvo_bank_id_request(session_id, se_personal_number, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
se_personal_number string
on_success function
on_failure function

TestAllTechnicalData(on_success, on_failure)

Source:
Parameters:
Name Type Description
on_success function
on_failure function

update_leasing_params(session_id, driving_distance, send_update, duration, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
driving_distance number
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
duration number
on_success function
on_failure function

vcamp_get_campaigns(feed_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
feed_id string
on_success function
on_failure function

vcomp_disable_company_car_prices(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

vcomp_enable_company_car_prices(session_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
on_success function
on_failure function

vcomp_update_input_params(session_id, input_params, send_update, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
input_params Object.<string, Object>
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
on_success function
on_failure function

vcomp_update_input_params_2(session_id, input_params, send_update, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
input_params Object
send_update spv.vds.ipprot_nova.input.SendBopUpdateFlag
on_success function
on_failure function

volvo_care_generate_customer_order_pdf(session_id, attachment, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
attachment boolean
on_success function
on_failure function

volvo_care_send_customer_order(session_id, retid_delivery, retid_sales, cfirst_name, clast_name, cstreet, ccity, cpostal, cphone, cemail, redirect, attachment, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
retid_delivery string
retid_sales string
cfirst_name string
clast_name string
cstreet string
ccity string
cpostal string
cphone string
cemail string
redirect boolean
attachment boolean
on_success function
on_failure function

vret_get_retailers(on_success, on_failure)

Source:
Parameters:
Name Type Description
on_success function
on_failure function

vret_get_retailers_by_ids(ids, on_success, on_failure)

Source:
Parameters:
Name Type Description
ids string
on_success function
on_failure function

vret_send_customer_and_retailer_mail(session_id, customer_first_name, customer_surname, customer_email, customer_phone, preferred_contact_time, preferred_contact_media, want_newsletter, want_summary_pdf, retailer_id, mail_link_url, contract_id, employee_id, sales_rep_mail, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
customer_first_name string
customer_surname string
customer_email string
customer_phone string
preferred_contact_time string
preferred_contact_media string
want_newsletter boolean
want_summary_pdf boolean
retailer_id string
mail_link_url string
contract_id string
employee_id string
sales_rep_mail string
on_success function
on_failure function

vret_send_customer_mail(session_id, customer_email, want_newsletter, want_summary_pdf, mail_link_url, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
customer_email string
want_newsletter boolean
want_summary_pdf boolean
mail_link_url string
on_success function
on_failure function

vret_send_volvo_care_retailer_mail(session_id, customer_first_name, customer_surname, customer_address, customer_zipcode, customer_city, customer_email, customer_phone, skype_name, preferred_contact_media, free_text, retailer_id, mail_link_url, on_success, on_failure)

Source:
Parameters:
Name Type Description
session_id string
customer_first_name string
customer_surname string
customer_address string
customer_zipcode number
customer_city string
customer_email string
customer_phone string
skype_name string
preferred_contact_media string
free_text string
retailer_id string
mail_link_url string
on_success function
on_failure function

vspec_get_item_properties(model, cis_id, item_type, on_success, on_failure)

Source:
Parameters:
Name Type Description
model string
cis_id string
item_type spv.vds.ipprot_nova.specification.VolvoItemType
on_success function
on_failure function

vspec_get_specification(encoded_config, encoding, localization_id, on_success, on_failure)

Source:
Parameters:
Name Type Description
encoded_config string
encoding string
localization_id string
on_success function
on_failure function