65 Renew all
- Request
- 65
- Response
- 66
- Set
- optional
- Position in BX
- 15
At the self-checkout unit this is the "renew everything" button. The library system works through all the patron's items and renews whatever may be renewed. What cannot be renewed stays unchanged – the operation does not abort just because a single item is on hold.
Request 65#
65<timestamp><AO...><AA...><AC...><AD...><BO...>
| Field | Length | Required | Content |
|---|---|---|---|
| timestamp | 18 | yes | date and time on the device |
| Identifier | Required | Content |
|---|---|---|
AO |
yes | institution identifier |
AA |
yes | patron identifier |
AC |
no | terminal password |
AD |
no | patron password |
BO |
no | Y the patron has acknowledged the fees |
Response 66#
66<ok><renewed count><unrenewed count><timestamp><AO...><BM...><BN...>
<AF...><AG...>
| Field | Length | Required | Content |
|---|---|---|---|
| ok | 1 | yes | 1 the operation was carried out, 0 not |
| renewed count | 4 | yes | number of items renewed, with leading zeros |
| unrenewed count | 4 | yes | number of items not renewed |
| timestamp | 18 | yes | date and time on the library system |
| Identifier | Required | Content |
|---|---|---|
AO |
yes | institution identifier |
BM |
no | a renewed item; repeats per item |
BN |
no | an item not renewed; repeats per item |
AF |
no | message for the screen |
AG |
no | message for the receipt |
A 1 in the result flag only means the operation was carried out – not that
everything was renewed. Whether anything remained open is stated by the second
counter.
BM and BN each hold the identifier of an item. On request – as with
patron information –
additional details separated by tab characters may follow; for BM the new due
date is the most important of them, for BN the reason for refusal.
A device that does not evaluate the lists shows the patron the two counters and
the text from AF. For the receipt the list is recommended: The patron wants it
in writing which of their books is now due when.
Example#
6520260728 143012AOBVS|AA1140360000042|AY9AZF567<CR>
6610002000120260728 143012AOBVS|BM1140360000123|BM1140360000131|BN1140360000148|AF2 of 3 items renewed|AG|AY9AZE3B1<CR>
Two items renewed, one not.