ProfilesAPIImpl
User: marc Date: Mar 4, 2008 Time: 6:23:59 AM
THIS SOFTWARE IS COPYRIGHTED. THE SOFTWARE MAY NOT BE COPIED REPRODUCED, TRANSLATED, OR REDUCED TO ANY ELECTRONIC MEDIUM OR MACHINE READABLE FORM WITHOUT THE PRIOR WRITTEN CONSENT OF SOCO TECHNOLOGIES.The following resources are part of this group:
/profiles/find/{context}
Mount Point: /rest/profiles/find/{context}
GET
Get a partial list of agent profiles using the city & state or ZIP code
Parameters
| name | description | type | default |
|---|---|---|---|
| context | A context type which determines how location parameter is interpreted -- state, metro, city, or zipcode. | path | |
| location | A free-text value representing the location near which you'd like to search for questions. Almost any state, metro, city, ZIP, or property address will work, e.g. "Texas", "Austin-San Marcos", "Austin, TX", "78704", or "2407 Euclid Avenue". Alternatively, send us a latitude and longitude. | query | |
| latitude | A decimal value representing the geographical latitude. Required if location is empty. | query | |
| longitude | A decimal value representing the geographical longitude. Required if location is empty. | query | |
| head_size | The size of the head shot -- thumbnail, xsmall, small, medium, large, xlarge, xxlarge | query | medium |
| start_index | zero-based index; the page on which the query will start | query | 0 |
| max_results | size of result set; the number of elements returned by the query | query | 10 |
| api_key | API key. This identifies your application. Please email help@agentrank.com to request an API key. | query |
Response Body
| element: | response |
| media types: | */* application/xml application/json |
list of agent profiles