Uses HTTP GET to accept one input record and returns the response in XML format.
Each request must specify a single geographic type. Here are the available Geographic Types: zip, city, county, radiusbymiles, radiusbyrecords, states, countiesbystate, citiesbystate, zipsbycity, crtsbyzip.
Customer ID, License Key, or Email Address. This is checked against the list of registered customers.
Buy Requests Only. By default, purchased lists may be used once. With this parameter included in the Buy call, you can purchase the right to use a list for multiple mailings. Specify the number of uses like this: multi=4. The maximum number of uses allowed for any purchased list is 5.
Default Value: multi=1 Output Parameter: multi=(1 through 5)
For count, a separate count of names will be given.
For purchase, extra columns will be added: pre name, first name, initial, last name, post name.
Set to 1 to include personal names when they are available. Do not include or set to 0 to not include names.
Default Value: name=0 To include: name=1
- Occupant Service Serverhttp://list.melissadata.net/V1/occupant/rest/Service.svc/{action}/{format}/{geographicType}
curl -i -X GET \
'http://list.melissadata.net/V1/occupant/rest/Service.svc/get/json/zip?id=REPLACE-WITH-YOUR-LICENSE-KEY&zip=92688&crrt=b007-92688' \
-H 'Accept: application/xml' \
-H 'Content-Type: application/xml'{ "Occupant": { "Geography": { … }, "Options": { … }, "CarrierRoutes": { … }, "Streets": "", "TotalCount": { … }, "Result": { … } } }