GET | /vehicles | Gets a list of vehicles which match the given criteria. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LicenseTag | query | string | No | The plate number. |
LicenseState | query | string | No | The state the plate is from. |
PlateType | query | string | No | The plate type (e.g. Commercial or Motorcycle. Specific to each municipality. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /vehicles HTTP/1.1 Host: api.paylock.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length [{"id":"00000000000000000000000000000000","licenseTag":"String","licenseState":"String","makeModel":"String","color":"String","firstName":"String","lastName":"String","addressStreet1":"String","addressStreet2":"String","city":"String","state":"String","zip":"String","createdByUserId":"00000000000000000000000000000000","dateCreated":"\/Date(-62135596800000-0000)\/","plateType":"String","nixie":false,"noHit":false,"vin":"String","isStolen":false}]