Address Search
Version v1
Endpoint
POST
Contact DL-APS_API_Services@att.com to get Endpoint details /addressAutocomplete
Provides address autocomplete functionality
Header Parameters
Body Parameters
Responses
Body
application/json
REQUEST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
curl --request POST \
--url https://Contact%20DL-APS_API_Services@att.com/%20to%20get%20Endpoint%20details/addressAutocomplete \
--header 'accept: application/json' \
--header 'client_id: string' \
--header 'client_secret: string' \
--header 'content-type: application/json' \
--header 'source: string' \
--header 'x-trace-id: string' \
--header 'x-transaction-id: string' \
--data '
{
"params": {
"address_type": "SERVICE_ADDRESS",
"address_or_glid": "5510 HAMMERSMITH",
"size": "5"
}
}
'
RESPONSE
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
{
"code": "200",
"message": "SINGLE LOCATION MATCH",
"status": "SUCCESS",
"hits": [
{
"glid": "00000ME16V",
"address": "5510 HAMMERSMITH DR,BLDG 5,FLR 2,APT 1,ALPHARETTA,MI,46280-1571",
"buildingIndicator": "Y",
"baseAddress": "5510 HAMMERSMITH DR",
"subAddress": "BLDG 5,FLR 2,APT 1",
"structureType": "BLDG",
"structureValue": "5",
"levelType": "FLR",
"levelValue": "2",
"unitType": "APT",
"unitValue": "1",
"city": "ALPHARETTA",
"county": "CARMEL",
"state": "MI",
"zip5": "46280",
"zip4": "1571",
"postCode": "46280-1571",
"lecAddr": "Y"
}
]
}