- Previous: api.service.search.doEmailSearch
- Up: Methods
- Next: api.service.email.getEmails
api.service.search.doMarketSearch
api.service.search::doMarketSearch
Searches EDS market sectors and returns a list of available market sectors.
The values returned from this call can then be passed to the doEmailSearch method to constrain the results by market sector.
Note: There are currently 136 market sectors, but this number will be reduced to ~100 market sectors as we consolidate and retire old market sectors.
Service
api.service.search
Arguments
api-key (Required) : Your API application key.
term (Optional): Constrains the result set to those matching the specified text. Wildcards are supported.
Example Response
Request:
http://api.emaildatasource.com/service/2.0.0/rest/api.service.search?method=doMarketSearch
- <?xml version="1.0" encoding="utf-8"?>
- <response status="success">
- <format>rest-xml</format>
- <version>2.0</version>
- <num-results>136</num-results>
- <list-values>
- <list-value>Adoption*</list-value>
- <list-value>Automobile</list-value>
- </list-values>
- </response>
Error Codes
440: Too Many Results: The search returned too many results
441: Invalid Search Parameter: One of the specified search parameters was invalid
442: Invalid Search Query: The search query (term) is not valid
- Previous: api.service.search.doEmailSearch
- Up: Methods
- Next: api.service.email.getEmails
0 Comments
Please sign in to post a comment.