Uses HTTP GET to accept one input record and returns the response in XML format.
The included Geographic Types are zip, city, county, state, radius, circle, and polygon.
Geographic Type
- Required: circle
- Optional: radius (Mile or record must be given.)
Handling: Mile is used to find out the latitude and longitude of a parameter for many miles away from the given address. For radius type, maximum is 50 miles. For circle type, the radius must be between .025 and 25 miles
Meanings: Various ranges of annual sales volumes as selection/filter
- $1,000-$499,999
- $500,000-$999,999
- $1,000,000-$2,499,999
- $2,500,000-$4,999,999
- $5,000,000-$9,999,999
- $10,000,000-$19,999,999
- $20,000,000-$49,999,999
- $50,000,000-$99,999,999
- $100,000,000-$499,999,999
- $500,000,000-$999,999,999
- Over $1 billion
Default: all inclusive
To Append: Otherwise specify the index; use '-' dash to specify multiple sales volume codes, i.e. sale-d=6-8-10
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
Optional Output Parameter: multi=(1 through 5)
- Business Service Serverhttps://list.melissadata.net/v1/Business/rest/Service.svc/{action}/{geographicType}
curl -i -X GET \
'https://list.melissadata.net/v1/Business/rest/Service.svc/get/zip?id=%7BREPLACE-WITH-YOUR-LICENSE-KEY%7D' \
-H 'Accept: application/xml' \
-H 'Content-Type: application/xml'Successful response
Lists error codes from any errors caused by the most recent request as a whole.
<Business>
<Geography>
<Zip>92688</Zip>
</Geography>
<Options>
<ContactPersonInfo>
<ContactPersonInfo>One per Business</ContactPersonInfo>
</ContactPersonInfo>
<NumberOfEmployees>
<IncludeAll>True</IncludeAll>
<AppendToFile>False</AppendToFile>
</NumberOfEmployees>
<AnnualSalesVolume>
<Details>$500,000-$999,999</Details>
<AppendToFile>False</AppendToFile>
</AnnualSalesVolume>
<SIC>
<IncludeAll>True</IncludeAll>
<AppendToFile>False</AppendToFile>
</SIC>
<Email>
<Details>All Records</Details>
<AppendToFile>False</AppendToFile>
</Email>
</Options>
<CountDetails>
<StreetRange>
<Street>
<StartNumber>0</StartNumber>
<EndNumber>0</EndNumber>
</Street>
</StreetRange>
</CountDetails>
<TotalCount>
<Count>0</Count>
</TotalCount>
<Result>
<StatusCode>Appro…