3 This file describes the event codes that an ILS method might return. Not all
4 methods will return event codes and it is up to each method to define which
5 types of events it may return. The standard event procedure is to return an
6 object (JSON hash) with a field called "ilsevent" which contains the event code
9 If events need to be placed into groups for any reason, the segregation shall
10 be defined below with the accompanying events.
13 <event code='0' textcode='SUCCESS'>
14 <desc>No errors or unexpected events occurred</desc>
16 <event code='1000' textcode='LOGIN_FAILED'>
18 User login failed. Why the login failed is not specified.
22 <event code='1001' textcode='NO_SESSION'>
24 User login session has either timed out or does not exist.
28 <event code='1002' textcode='USER_NOT_FOUND'>
30 Someone attempted to retrieve a user from the system and the user
35 <event code='1500' textcode='CIRCULATION_NOT_FOUND'>
37 Someone attempted to retrieve a circulation object from the system and
38 the object was not found.
42 <event code='1501' textcode='BIBLIO_RECORD_NOT_FOUND'>
44 Someone attempted to retrieve a biblio record entry object from the
45 system and the object was not found.
49 <event code='1502' textcode='COPY_NOT_FOUND'>
51 Someone attempted to retrieve a copy object from the
52 system and the object was not found.
56 <event code='1503' textcode='HOLD_NOT_FOUND'>
58 Someone attempted to retrieve a hold object from the
59 system and the object was not found.
63 <event code='1503' textcode='TRANSIT_NOT_FOUND'>
65 Someone attempted to retrieve a transit object from the
66 system and the object was not found.
72 <event code='2000' textcode='BAD_PARAMS'>
74 Invalid parameters were encountered in a method
78 <event code='5000' textcode='PERM_FAILURE'>
80 Permission Error. * The object returning this code shall also
81 contain a field "ilsperm" containing the name of the permission which failed
82 and a field called "ilspermloc" defining the location at which the permission