DealerRater for Developers

Dealer Employees Collection

This is a consumer-oriented API that can be used to retrieve the list of employees at a given dealer. The API only supports the GET verb (fetching data). Note that the results of this API are cached on the DealerRater servers for optimization purposes (as such, new and/or updated employees might not be available through this API for a short while). The returned list is sorted by the total number of reviews the employees are tagged on in descending order (so the employee with the most reviews is first, and the one with the least is last). Matching review counts are ordered (secondarily) by the employee's name.

/Dealers/[dealerId]/Employees

AttributeDescription
dealerId Set this to the ID of the dealer to fetch employees for.

For example, the URL for the employees collection for dealer ID 47 is /Dealers/47/Employees.

Common Request Parameters

All APIs support the following request parameters, in addition to any API specific parameters.

ParameterDescriptionExample
t json or xml. Identifies if you want to communicate in JSON or XML format. t=xml
s Your DealerRater supplied security token. This must be sent with every request. s=00000000-0000-0000-0000-000000000000
method GET, INSERT, UPDATE or DELETE. Identifies the REST verb. method=GET

GET

Use the GET verb to retrieve reviews for a given dealer.

Request Parameters

ParameterDescriptionExampleDefault
includeRecentReviews1 If true, the server will load the most recent review for each of the employees returned with the response. includeRecentReviews=true false
1: This feature will populate a separate collection in the response that provides a listing of the most recent reviews for the employees returned. In order to find the most recent review for a given employee, you'll need to cross-reference the employee ID from the employees collection with the employees tagged on each individual review. Note that the most recent review for multiple employees might be the same review, since customers can tag more than one employee on each review. In addition, it is perfectly valid for an employee to not have any recent reviews (either if they have none or only very old reviews), so don't expect that every employee will have a review listed.

Request XML/JSON

This API does not accept XML or JSON data in the request.

Response

The API will respond with an XML or JSON document with the employees for the given dealer. A sample XML response is indicated in the code block below, with a downloadable sample mock provided in either XML or JSON format. Note that the response document will include references to the following object types:

EntityDescription
StatusAPI call status.
EmployeeDefines a single Employee in the system.
ReviewDefines a single Review in the system.

INSERT

This API does not support the INSERT verb.

UPDATE

This API does not support the UPDATE verb.

DELETE

This API does not support the DELETE verb.