Circulation Checkin Receipt

Get circulation checkin receipt URL

GET /api/.../receipts/url?receipttype=checkin

Returns an URL of check-our receipt template file

Request Information

Parameters
Name Type Required Description
receipttype String Yes Possible value is "checkin"

Response Information

Example
receipts/print_ckin_receipt?branchid=1

HTTP Response Codes

Code Description
200 OK. Success

Get circulation checkin receipt html document

POST /{path}

Parameters
Name Type Required Description
path String Yes receipt URL returned by "Get circulation checkin receipt URL".
Array of DtoItemCkiReceiptData
Property Type Nullable Description
PatronID Integer No Patron record identifier.
ItemRecordID Integer No Item record identifier.
Duedate String No Item's duedate. ISO 8601 formatted UTC datetime string.
Example
application/json, text/json
    [
        {"PatronID": 358396, "ItemRecordID": 87899, "Duedate": "2014-03-21T23:59:59-05:00"},
        {"PatronID": 358396, "ItemRecordID": 7815207, "Duedate": "2014-03-21T23:59:59-05:00"},
        {"PatronID": 357913, "ItemRecordID": 7815207, "Duedate": "2014-03-07T23:59:59-05:00"}
    ]

Response Information

 an html document.

 Note: content to be printed on the receipt is controled by logon branch's SA value - "Check in: Receipt options".

Preview of an example html document

        CHECK-IN RECEIPT
            
        Saratoga Springs Public Library
        Tuesday, February 25, 2014 10:25:3 AM
            
        Zhang, TestLeap 
        34313131312324
        12324
            
            
        Item: 0000201144276
        Title: China homecoming.
        Author: Fritz, Jean.
        Material: Book
        Call no.: J 951 Fri
        Branch: Saratoga Springs Public Library
        Due: 03/22/2014
        Status:  Out
            
        Item: BulkCreate007815207
        Title: Zhongguo da xing gong ye qi ye fa zhan bao gao
        Author: 
        Material: Book
        Call no.: 
        Branch: Saratoga Springs Public Library
        Due: 03/22/2014
        Status:  Out
            
        Item: BulkCreate007815207
        Title: Zhongguo da xing gong ye qi ye fa zhan bao gao
        Author: 
        Material: Book
        Call no.: 
        Branch: Saratoga Springs Public Library
        Due: 03/15/2014
        Status:  Out
            
            
            
            
            
        CHECK-IN RECEIPT
            
        Saratoga Springs Public Library
        Tuesday, February 25, 2014 10:25:4 AM
            
        Zhang, TestExpress2
        zhangexpreg
        xpreg
            
            
        Item: BulkCreate007815207
        Title: Zhongguo da xing gong ye qi ye fa zhan bao gao
        Author: 
        Material: Book
        Call no.: 
        Branch: Saratoga Springs Public Library
        Due: 03/07/2014
        Status:  Out
            
            
            
            

HTTP Response Codes

Code Description
200 OK. Success
401 Unauthorized