dealertrend / wordpress-plugin-inventory-api

This is the new WordPress plugin for DealerTrend, Inc. It will interface with their Automotive Information System's API.
http://www.dealertrend.com
GNU General Public License v2.0
22 stars 6 forks source link

"contact_info" JSON Field with holding some values. #98

Closed grok closed 12 years ago

grok commented 12 years ago

We can't have the "contact_info" just spit data out since it contains things like the company ID and potentially other information down the road.

So we need to add things to the views manually.

RIght now there's a request for the "internet_manager" field to be added.

Example:

curl -s "http://api.dealertrend.com/850/inventory/vehicles.json?vin=19UUA8F28AA007698" | prettify-json | grep -A 6 contact_info
  "contact_info": {
    "internet_manager": "Kyle Sperry",
    "greeting": "For more information on this vehicle contact:",
    "company_id": 850,
    "phone": "(813) 397-5200",
    "dealer_name": "Precision Automotive Center"
  }
grok commented 12 years ago

Check for additional fields like "Internet Manager Contact Phone" or something.

grok commented 12 years ago

This is just for 'armadillo' - since the bobcat theme doesn't have this stuff.

grok commented 12 years ago

Added the internet_manager data and gave it a label with an ID.

grok commented 12 years ago

Kathleen signed off on the label.