Patron Accrued Fines

List Patron Accrued Fines

GET /api/.../patrons/{id}/accounttransactions/accruedfines?date={date}

Returns overdue items' accrued fines for the date given. If exception is thrown while parsing the date, today's date is used in calculations.

Accrued fine Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the patron.
date string Yes Define this parameter in the request query string. Html encoded ISO 8601 basic format (YYYYMMDDTHHMMSS+/-HHMM) for date without hyphons and colons to be used to calculate accrued fines. Example: 20130530T221912-0400 for {5/30/2013 10:19:12 PM EST}

Response Information

Example
application/json, text/json
[
  {
    "ItemRecordID": 1,
    "Author" : sample string 1,
    "DueDate" : 2013-01-28T23:59:00,
    "Fine" : 5.2,
    "ItemStatus: "sample string 2",
    "Title" : "sample string 3",
    "TotalFine" : 22.2
  },
  {
    "ItemRecordID": 2,
    "Author" : sample string 1,
    "DueDate" : 2013-01-28T23:59:00,
    "Fine" : 5.2,
    "ItemStatus: "sample string 2",
    "Title" : "sample string 3",
    "TotalFine" : 22.2
  },
  {
    "ItemRecordID": 3,
    "Author" : sample string 1,
    "DueDate" : 2013-01-28T23:59:00,
    "Fine" : 5.2,
    "ItemStatus: "sample string 2",
    "Title" : "sample string 3",
    "TotalFine" : 22.2
  }
]

HTTP Response Codes

Code Description
200 OK. Success