Legacy Text Examples - Drivers History Transaction (KQ/KR)
Legacy (DEPRECATED)
Driver History Legacy Specifications
This section includes formats and examples for driver history queries and responses (KQ/KR).
Query Formats
To send a Driver History Query (KQ), enter the following.
Entry
# Char.
Explanation
KQ.
2
Message type followed by a period.
Message Header
13-36
Standard input message header, may include control field but
only one two character state code followed by a period.
TXT
3
Fixed filed prefix to beginning of message.
CR,LF,DEL
3
Control characters (optional).
NAM/
4
Prefix to identify name.
Name
Max. 30
Full name; format is last name, comma, space after comma is
optional) first name, space, middle initial or name, space,
suffix (Jr., III, etc.) Followed by a period. Titles or degrees
should not be used as part of the name.
DOB/
4
Prefix to identify date of birth.
Date of Birth
6-8
Date of Birth followed by a period. Express as mmddyy or
ccyymmdd. Complete DOB must be present. Some states
have different requirements.
SEX/
4
Prefix to identify sex.
Sex
1
Sex followed by a period; conforms to NCIC codes.
OR
OLN/
4
Prefix to identify driver license field.
Driver Lic. #
Max.20
Driver license number followed by a period.
AND, AS OPTIONAL ELEMENTS
RSN/
4
Prefix to identify reason code.
Reason code
1
Must be N, F, V, T, S, H or I followed by a period.
PUR/
4
Prefix to identify purpose code.
Purpose code
1
Must be C, F, E, D, J or S followed by a period.
ATN/
4
Prefix to identify attention field.
Attention field
30
Name of requester.
IMQ/
4
(For XML use only) Prefix to identify image request field.
Image Request
1
Y to request driver photo; omit IMQ/ field if photo not
wanted.
Driver History Legacy Examples
Example 1: A Driver History query by name, date of birth and sex.
KQ.AZNLETS20.AZ.TXT
NAM/SMITH,JOHN.DOB/19500101.SEX/M
Example 2: A Driver History query by OLN.
KQ.AZNLETS20.AZ.TXT
OLN/D11111111
Example 3: A Driver History query by name, date of birth and sex with all optional fields
KQ.AZNLETS20.AZ.TXT
RSN/I.NAM/SMITH,JOHN.DOB/19500101.SEX/M.PUR/C.ATN/NLETS_ANALYST
Example 4: A Driver History query by OLN with all optional fields.
KQ.AZNLETS20.AZ.TXT
RSN/I.OLN/D11111111.PUR/C.ATN/NLETS_ANALYST
Example 5: A Driver History response.
KR.AZDMV0000
09:49 10/12/2011 99782
09:49 10/12/2011 00827 AZNLETS20
TXT
ACCIDENTS NOTED ON THIS DOCUMENT SHALL NOT BE
CONSIDERED DETERMINATIVE OF FAULT OR NEGLIGENCE
ON THE PART OF THE INDIVIDUAL
**
CERTIFIED A TRUE COPY OF THE D/L RECORD OF THE PERSON NAMED HEREIN AS APPEARS
ON THE AUTOMATED SYSTEM OF DMV. G.S.20-26(B)..NAME: JOHN SMITH
RESIDENCE ADDRESS: 1234 ANY STREET; PHOENIX,AZ 85000
COUNTRY: UNITED STATES
DATE OF BIRTH: 1950-01-01
HEIGHT: 506
EYE COLOR: BLUE
HAIR COLOR: BROWN
GENDER: Male
RACE: White
*** DRIVER LICENSE DETAILS ***
DRIVER AUTHORIZATION ID: D11111111
JURISDICTION AUTHORITY CODE: AZ
ISSUE DATE: 2010-01-01
EXPIRATION DATE: 2045-01-01
DRIVING RESTRICTION CODE: 1
DRIVER LICENSE PERMIT QUANTITY: 0
DRIVER LICENSE NON-COMMERCIAL CLASS: C
DRIVER LICENSE NON-COMMERCIAL CLASS CODE: C
LICENSED COMMERCIAL DRIVER: NO
LICENSED NON-COMMERCIAL DRIVER: YES
DRIVER LICENSE NON-COMMERCIAL STATUS: ACTIVE (CRD TRNS:1111111111)
*** DRIVING INCIDENT ***
DATE: 2002-01-01
DRIVER ACCIDENT SEVERITY: ACDNT: GLENDALE, AZ
DRIVER ACCIDENT SEVERITY: ACDNT: CASE ID:10000000