Wiki

New Case Case Status
Log In

Wiki

 
Mexico Driver's License»Driver's License - Example Req…
  • RSS Feed

Last modified on 11/21/2013 2:19 PM by User.

Tags:

Driver's License - Example Request

Below is an example request to the v3 API for Driver's License policies.

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
var quoteData = {
	"auth": {
		"username": "",
		"api_key":	""
	},
	"quote": {
		"effective_date": "12152013",
		"expiration_date": "12182013"
	},
	"limits": {
		"extended_travel": true,
		"liability": 50000,
		"add_drivers": 2, // Max of 3.
		"towing": true,
	},
	"policyholder": {
		"first_name": "Robert",
		"last_name": "Smith",
		"company_name": "",
		"address": "123 Main St. Appt 45",
		"city": "San Diego",
		"state": "CA",
		"zip": "92130",
		"email": "robert.smith@example.com",
		"password": "SuperSecurePassword",
		"phone": "9282149750",
		"license_number": "B144266388",
		"license_state": "CA"
	},
	"drivers": [
		{	"first_name": "Jane",
			"last_name": "Smith",
			"license_number": "B144266301",
			"license_state": "CA"
		},
		{	"first_name": "Joan",
			"last_name": "Smith",
			"license_number": "B144266302",
			"license_state": "CA"
		}
	]
};