GET | /vehicles/{id}/bills | Get Bills for Vehicle. If not found or no permission, throw exception. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | Guid | Yes | The Vehicle id for which we want the webxml. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /vehicles/{id}/bills HTTP/1.1 Host: api.paylock.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { referenceId: String, originatingAttemptId: 00000000000000000000000000000000, dateCreated: 0001-01-01, amount: 0, isVoid: False, billTypeId: 0, billType: String, dateDue: 0001-01-01, note: String, isDeleted: False, customerViolationCodeId: 00000000000000000000000000000000, isInJudgement: False, customerAccountNumber: String, paymentPlanStartDate: 0001-01-01, paylockContingencyAmount: 0, shouldApplyContingencyAmount: False, linkType: Any, totalAllocated: 0 } ]