Skip to navigation

Data standards

Formats every quote and purchase message must follow.

Date format

All dates except date of birth use YYYY-MM-DDTHH:MM:SS±HH:MM.

PartMeaning
YYYYYear, four digits
MMMonth, two digits
DDDay, two digits
TLiteral separator
HHHour, two digits
MMMinute, two digits
SSSeconds, two digits
±HH:MMOffset from GMT

For example, 2011-08-10T12:30:19-04:00 is August 10, 2011, 12:30:19 at GMT-4. See the W3C dateTime definition.

Date of birth uses YYYY-MM-DD. For example, 2011-05-01 is May 1, 2011.

Number format

Numbers use US format with no thousands separator, and . as the decimal separator.

ValidRejected
140530140,530
15.5015,50
1950.251,950.25 or 1.950,25

Text encoding

Send all data as UTF-8, and use JSON escaping for special characters.

Country codes

Use ISO 3166-1 alpha-2 country codes. For example, the United Kingdom is GB, not UK.

Residency of the insured

Each US state or jurisdiction regulates the travel insurance products sold to its residents. Benefits, coverage limits, and pricing can change with the insured’s state of residence.

Every Quote Request must include all of the elements below. Without them, AWP can’t return an accurate, compliant quote.

ElementObjectTypeNotesExample
regioncustomerAddressstringTwo-letter state code of the insuredVA
postalCodecustomerAddressstringZIP code of the insured23111
ipAddressgadgetstringCustomer’s IP address111.111.111.111
codeoriginstringOriginating airport codeRIC
regionoriginstringState code of the originVA