Snippets

AK Adapa vehicle-details.json

Created by AK Adapa
{  
   "meta":{  
      "status":200,
      "messages":[  
         "Everything seems okay!"
      ],
      "pagination":{  
         "count":0,
         "max":200,
         "offset":0,
         "sort":"make",
         "total":15,
         "currentUrl":"http://localhost/api/v1/vehicle/makes?modelYear=2015&make=ford&model=F-150&page=1",
         "nextUrl":"http://localhost/api/v1/vehicle/makes?modelYear=2015&make=ford&model=F-150&page=2",
         "previousUrl":null
      }
   },
   "results":[  
      {  
         "vehicleId":56,
         "modelYear":"2015",
         "make":"Ford",
         "model":"F-150",
         "trim":"XLT",
         "vehicleDescription":"Base model Ford F-150",
         "manufacturer":"Ford Motor Company",
         "vehiclePicture":"http://url.to.picture/fordf150xlt.jpg",
         "ncapRated":true,
         "complaintsCount":0,
         "recallsCount":0,
         "investigationsCount":0,
         "manufacturerCommunicationsCount":0,
         "safetyRatings":{
            "crashTestRatings":[  
              {  
                 "type":"overall",
                 "display":"Overall",
                 "rating":5,
                 "note":"text",
                 "gender":null,
                 "position":null,
                 "media":[  
                    {  
                       "type":"image",
                       "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/images/2017/v08358P084.jpg"
                    },
                    {  
                       "type":"video",
                       "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/movies/2017/v08358C016.wmv"
                    }
                 ],
                 "reports":[  
                    {  
                       "type":"pdf",
                       "url":"http://www-nrd.nhtsa.dot.gov/database/VSR/veh/TestDetail.aspx?LJC=8031&existphoto=Y&p_tstno=8031&existreport=Y&r_tstno=8031&existvideo=Y&v_tstno=8031&database=v&tstno=8031"
                    }
                 ]
              },
              {  
                 "type":"frontBarrier",
                 "display":"Front Barrier Crash Test",
                 "rating":5,
                 "note":"text",
                 "gender":null,
                 "position":null,
                 "media":[  
                    {  
                       "type":"image",
                       "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/images/2017/v08358P084.jpg"
                    },
                    {  
                       "type":"video",
                       "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/movies/2017/v08358C016.wmv"
                    }
                 ],
                 "reports":[  
                    {  
                       "type":"pdf",
                       "url":"http://www-nrd.nhtsa.dot.gov/database/VSR/veh/TestDetail.aspx?LJC=8031&existphoto=Y&p_tstno=8031&existreport=Y&r_tstno=8031&existvideo=Y&v_tstno=8031&database=v&tstno=8031"
                    }
                 ],
                 "ratings":[  
                    {  
                       "type":"frontDriverSide",
                       "display":"Front Driver Side",
                       "rating":5,
                       "note":"text",
                       "gender":"male",
                       "position":"front seat",
                       "media":[  
                          {  
                             "type":"image",
                             "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/images/2017/v08358P084.jpg"
                          },
                          {  
                             "type":"video",
                             "url":"http://www.safercar.gov/staticfiles/DOT/safercar/ncapmedia/movies/2017/v08358C016.wmv"
                          }
                       ],
                       "reports":[  
                          {  
                             "type":"pdf",
                             "url":"http://www-nrd.nhtsa.dot.gov/database/VSR/veh/TestDetail.aspx?LJC=8031&existphoto=Y&p_tstno=8031&existreport=Y&r_tstno=8031&existvideo=Y&v_tstno=8031&database=v&tstno=8031"
                          },
                          {  
                             "type":"pdf",
                             "url":"http://www-nrd.nhtsa.dot.gov/database/VSR/veh/TestDetail.aspx?LJC=8031&existphoto=Y&p_tstno=8031&existreport=Y&r_tstno=8031&existvideo=Y&v_tstno=8031&database=v&tstno=8031"
                          }
                       ]
                    }
                 ]
              }
            ],
            "safetyFeatures":[  
              {  
                 "category":"Advanced Safety Features",
                 "features":[  
                    {  
                       "label":"Rearview Video Systems",
                       "value":"Standard",
                       "notes":"Rearview Video Systems that are listed..."
                    }
                 ]
              },
              {  
                 "category":"Seat Belts and Head Restraints",
                 "features":[  
                    {  
                       "label":"Dynamic Head Restraints",
                       "value":"Driver, Front Passenger, Rear Seat",
                       "notes":""
                    },
                    {  
                       "label":"Head Restraint",
                       "value":"Not Available",
                       "notes":""
                    },
                    {  
                       "label":"Advanced Belt Feature",
                       "value":"Standard",
                       "notes":""
                    },
                    {  
                       "label":"Adjustable Upper Belt Anchorage",
                       "value":"Driver, Front Passenger",
                       "notes":""
                    },
                    {  
                       "label":"Seat Belt Reminder System",
                       "value":"Driver, Front Passenger",
                       "notes":""
                    }
                 ]
              },
              {  
                 "category":"Air Bags",
                 "features":[  
                    {  
                       "label":"Frontal Air Bag",
                       "value":"Driver, Front Passenger",
                       "notes":""
                    },
                    {  
                       "label":"Meets Side Air Bag Out-of-Position Requirements",
                       "value":"Yes",
                       "notes":"Side air bag (SAB) testing procedures have been developed to minimize the potential risk of SAB-related injuries for occupants, especially children, who are seated very close to a deploying SAB (called 'out-of-position').  Manufacturers voluntarily report to the government whether the SABs in a given vehicle model have undergone and passed these testing procedures."
                    }
                 ]
              }
           ],
           "recommendedFeatures":[  
              {  
                 "key":"rearviewVideo",
                 "label":"string",
                 "video":"string",
                 "installed":true,
                 "icon":"string",
                 "type":"standard",
                 "description":"text"
              },
              {  
                 "key":"forwardCollisionWarning",
                 "label":"string",
                 "video":"string",
                 "installed":true,
                 "icon":"string",
                 "type":"standard",
                 "description":"text"
              },
              {  
                 "key":"laneDepartureWarning",
                 "label":"string",
                 "video":"string",
                 "installed":true,
                 "icon":"string",
                 "type":"standard",
                 "description":"text"
              }
           ]
         },
         "safetyIssues":{
           "complaints":[  
              {  
                 "dateFiled":"string",
                 "dateOfIncident":"string",
                 "nhtsaIdNumber":"string",
                 "attributes":[  
                    {  
                       "name":"fire",
                       "value":"definitely a fire"
                    }
                 ],
                 "city":"Baltimore",
                 "stateAbbreviation":"MD",
                 "manufacturer":"string",
                 "vin":"string",
                 "subject":"Random Acceleration",
                 "description":"gas pedal causes random acceleration whether depressed or not",
                 "components":[  
                    {  
                       "name":"string",
                       "description":"string"
                    }
                 ],
                 "associatedDocumentsCount":5,
                 "associatedDocuments":[  
                    {  
                       "type":"string",
                       "name":"string",
                       "url":"string",
                       "description":"string",
                       "size":"string"
                    }
                 ],
                 "associatedProducts":[  
                    {  
                       "type":"string",
                       "id":54
                    }
                 ]
              }
           ],
           "recalls":[  
              {  
                 "manufacturer":"Honda (American Honda Motor Co.)",
                 "nhtsaCampaignNumber":123456,
                 "reportReceivedDate":"2016-08-03",
                 "subject":"string",
                 "summary":"string",
                 "consequence":"string",
                 "correctiveAction":"string",
                 "notes":"string",
                 "associatedDocumentsCount":5,
                 "associatedDocuments":[  
                    {  
                       "type":"string",
                       "name":"string",
                       "url":"string",
                       "description":"string",
                       "size":"string"
                    }
                 ],
                 "components":[  
                    {  
                       "name":"string",
                       "description":"string"
                    }
                 ],
                 "associatedProducts":[  
                    {  
                       "type":"string",
                       "id":54
                    }
                 ],
                 "investigations":[
                    { 
                      "nhtsaActionNumber" : "123HBFD",
                      "subject": "test"
                    }
                 ]
              }
           ],
           "investigations":[  
              {  
                 "nhtsaActionNumber":"string",
                 "subject":"string",
                 "summary":"string",
                 "dateOpened":"string",
                 "dateClosed":"string",
                 "type":"string",
                 "components":[  
                    {  
                       "name":"string",
                       "description":"string"
                    }
                 ],
                 "associatedProducts":[  
                    {  
                       "type":"string",
                       "id":54
                    }
                 ],
                 "recalls":[
                    {
                      "nhtsaCampaignUmber": 123,
                      "subject" : "test"
                    }
                 ]
              }
           ],
           "manufacturerCommunications":[  
              {  
                 "manufacturerCommunicationNumber":0,
                 "nhtsaIdNumber":"string",
                 "subject":"string",
                 "summary":"string",
                 "manufacturer":"string",
                 "communicationDate":"2016-08-03",
                 "components":[  
                    {  
                       "name":"string",
                       "description":"string"
                    }
                 ],
                 "associatedDocumentsCount":5,
                 "associatedDocuments":[  
                    {  
                       "type":"string",
                       "name":"string",
                       "url":"string",
                       "description":"string",
                       "size":"string"
                    }
                 ],
                 "associatedProducts":[  
                    {  
                       "type":"string",
                       "id":54
                    }
                 ]
              }
           ]
         }
      }
   ]
}

Comments (2)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.