/
Proposal Object v2

Proposal Object v2


Path Parameters

HTTP Header

api-key status:REQUIRED
string - Your Accelerate API Key

URL Substitution

subdomain status:Required
string - Your Accelerate subdomain

relationship ID status:REQUIRED
integer - ID of your chosen relationship


Proposal Requests status:GEt status:Post

status:Get status:Post - Retrieve proposals from a relationship or add a new proposal to a relationship

https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/relationships/{id}/proposals/

Example Payload status:POSt

{ "legal_form":"Private Individual", "forename":"Matt", "surname":"Sullivan", "email_address":"matt@example.com", "date_of_birth":"30-10-2001", "dependents":"0", "credit_card_count":"2", "replace_finance_flag":"N", "circumstance_change_flag":"N", "info_notice_accepted_date":"N" }

Response

status:200
Returned if the request is successful.

{ "items": [ { "legal_form":"Private Individual", "forename":"Matt", "surname":"Sullivan", "email_address":"matt@example.com", "date_of_birth":"30-10-2001", "dependents":"0", "credit_card_count":"2", "replace_finance_flag":"N", "circumstance_change_flag":"N", "info_notice_accepted_date":"N", ... } ] }

status:400
Returned if the request sent is invalid.

status:404
Returned if the request is not found or the user does not have permission to view it.

 


Proposal Attributes

When updating/adding a new proposal via the API, there are a number of fields needed.

Personal Proposal Attributes

Mandatory Fields

legal_form - string
Must be Private Individual

forename - string

surname - string

email_address - string

date_of_birth - string

dependents - number
Must be between 0 and 10

credit_card_count - number
Must be between 0 and 20

replace_finance_flag - string
Y or N

circumstance_change_flag - string
Y or N

info_notice_accepted_flag - string
Y or N

info_notice_accepted_date - date
If info_notice_accepted_flag = Y, this field is mandatory.


Non Mandatory Fields

proposal_id - number
Must not be supplied when using status:post .

title - string
Must be one of Miss, Ms, Doctor, Reverend, Professor, Captain, Major, Sir, Lady, Father, Lieutenant, Lieut Col, Lieut Com, Flight Lt, Lord, Honourable, Judge, Bishop, Brigadier, Canon, Colonel, Commander, Corporal, Count, Countess, Group Capn, Major Genl, Pastor, Rabbi, Prince, Princess, Rev Canon, Rev Doctor, Sergeant, Sister, Mr, Mrs.

middle_name - string

mobile_number - string

marital_status - string
Must be one of In Relationship, Married, Single, Widowed

gross_annual_income - number

net_income - number
Monthly net income

other_income_net - number

partners_income_net - number

exp_mortgage - number

exp_endowment - number

exp_council_tax - number

exp_credit_cards - number

exp_secured_loans - number

exp_unsecured_loans - number

exp_utilities - number

exp_insurances - number

exp_child_care - number

exp_child_support - number

exp_pension - number

exp_food_and_drink - number

exp_telephone_tv_net - number

exp_travel - number

exp_vehicle_agreement - number

exp_other - number

sort_code - string

account_number - string

bank_name - string

bank_account_name - string

bank_address_1 - string

bank_address_2 - string

bank_town - string

bank_postcode - string

bank_year_opened - number
Year as a four digit integer

user_agent - string

ip_address - string

Business Proposal Attributes

Mandatory Fields

legal_form - string
Must be one of LLP, Limited Company, Micro Enterprise, Partnership 4+, Partnership <4, PLC, Registered Charity, Sole Trader

business_name - string

nature_of_business - string

vat_registered_flag - string
Y or N

trading_property - string

trading_town - string

trading_postcode - string

replace_finance_flag - string
Y or N

circumstance_change_flag - string
Y or N

info_notice_accepted_flag - string
Y or N

info_notice_accepted_date - date
If info_notice_accepted_flag = Y this field is mandatory.


Non Mandatory Fields

proposal_id - number
Must not be supplied when using status:post .

company_reg_no - string

established_date - date

incorporation_date - date

vat_reg_no - string

website_url - string

annual_turnover - number

business_telephone_number - string

partner_count - number

employee_count - number

fleet_size_car - number

fleet_size_lcv - number

trading_street - string

trading_locality - string

registered_property - string

registered_street - string

registered_locality - string

registered_town - string

registered_postcode - string

sort_code - string

account_number - string

bank_name - string

bank_account_name - string

bank_address_1 - string

bank_address_2 - string

bank_town - string

bank_postcode - string

bank_year_opened - number
Year as a four digit integer

user_agent - string

ip_address - string

Related content