Declare item lost view

Item details to declare it to be lost

GET /api/.../itemrecords/{id}?patronid={patronid}&view=lostdisplayview

Returns checked out item details to populate 'declare lost item' view

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the item record.
patronid Integer Yes The unique id assigned to the patron.
view string Yes Define this parameter in the request query string to get the details of the item to declare it as lost. Possible Values: lostdisplayview

Response Information

Example
application/json, text/json
[
    {
        "PatronID":357306,
        "ItemRecordID":668441,
        "ItemBarcode":"0000413694472",
        "ReplacementAmount":63.0000,
        "ReplacementOutstanding":63.0000,
        "ReplacementPaid":0.0,"ReplacementWaived":0.0,
        "ProcessingAmount":5.0100,
        "ProcessingOutstanding":5.0100,
        "ProcessingPaid":0.0,
        "ProcessingWaived":0.0,
        "ReplacementTaxRate": 0.0222,
        "ReplacementTaxAmount": 0.33,
        "ProcessingTaxRate": 0.0222,
        "ProcessingTaxAmount": 0.07,
        "OverdueAmount":0.0,
        "OverdueOutstanding":0.0,
        "OverduePaid":0.0,
        "OverdueWaived":0.0,
        "TotalFine":68.0100,
        
        "ReplacementActions":[2,6,-2],
        "ProcessingActions":[2,6,-2],
        "OverdueActions":[-2],
        
        "ModifyAmountPermitted":true,

        "CheckoutBriefInfo":
        {
            "ItemRecordID":668441,
            "CreatorID":941,
            "LoanUnits":1,
            "LoanUnitsDescription":"28 day(s)",
            "LoaningBranchID":92,
            "LoaningBranch":"Schenectady County Public Library - Central",
            "Renewals":2,
            "PatronID":357306,
            "PatronBarcode":"barrjuv2",
            "PatronBranchID":103,
            "PatronCodeID":2,
            "CheckOutDate":"2011-11-15T14:21:42.79",
            "DueDate":"2011-12-13T23:59:00",
            "OriginalCheckOutDate":"2011-08-10T08:46:07.697",
            "OriginalDueDate":"2011-08-31T23:59:00",
            "BillingNoticeSent":true,
            "BilledDate":"2012-03-05T08:23:23.617",
            "ReplCostTxnID":3633985,
            "ProcChargeTxnID":3633986,
            "OVDChargeTxnID":null,
            "CourseReserveID":null
        }
    }
]

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Item not checked out to the patron
404 FAILURE.
  • Patron not found
  • Item not found

Note:

Few of returned JSON values:

  • ReplacementActions: list of action options that can be taken against replacement charges. The values correspond to the PatronAccountTxnCode
  • ProcessingActions: list of action options that can be taken against processing charges. The values correspond to the PatronAccountTxnCode
  • OverdueActions: list of action options that can be taken against overdue charges. The values correspond to the PatronAccountTxnCode
  • ModifyAmountPermitted: If false, disable the controls as user can not modify the amount
Declare lost item view:

Reference for Polaris API Procedure values:

    public enum PatronAccountTxnCode
    {		
		NoAction = -2: Leave as is	
		Payment =   2: Pay
		WaiveExistingCharge = 6: Waive
    }