Wiki

New Case Case Status
Log In

Wiki

 
Mexico Watercraft»Mexico Watercraft - Request
  • RSS Feed

Last modified on 12/17/2013 9:09 AM by User.

Tags:

Mexico Watercraft - Request

Below is an example JSON request for the Watercraft API:

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:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
{
	"auth": {
		"username": "test",
		"api_key":	"abc-123-7890-123b"
	},
	"quote": {
		"effective_date": "12152013",
		"expiration_date": "12182013"
	},
	"watercraft": [
		{
			"year": "2005",
			"type": "19", // 18 - Sail Boat, 19 - Power Boat, 20 - Yacht, 21 - Personal Watercraft.
			"length": "20", // 8 to 133
			"make": "Power",
			"model": "Boat",
			"hull_id": "HID12345",
			"registration": "REG12345",
			"registration_country": "USA",
			"engine_type": "Inboard", // None, Inboard, Inboard/Outboard, Outboard
			"max_speed_over_50": true
		}
		[...]
	],
	"underwriting": {
		"competition_use": false,
		"under21": false,
		"valid_license": true,
		"mexico_resident": false, 
		"mexico_registered": false,
		"waterways": {
			"cortez": true,
			"inland": false,
			"pacific": false,
			"gulf_of_mexico": true,
			"yucatan": true
		}
	},
	"policyholder": {
		"first_name": "Robert",
		"last_name": "Smith",
		"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"
	}
};