GET | /collectionattempts/{id}/vehicleswithbills | Gets a collection of vehicles with bills that are associated with the given Collection Attempt. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | Guid | Yes | The Collection Attempt Id. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /collectionattempts/{id}/vehicleswithbills HTTP/1.1 Host: api.paylock.com Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv 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}]