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 xml:lang="en-US"> </desc>
16 <event code='1' textcode='UNKNOWN'>
17 <desc xml:lang="en-US">Placeholder event. Used for development only</desc>
19 <event code='3' textcode='NO_CHANGE'>
20 <desc xml:lang="en-US">No change occurred</desc>
22 <event code='1000' textcode='LOGIN_FAILED'>
23 <desc xml:lang="en-US">User login failed</desc>
25 <event code='1001' textcode='NO_SESSION'>
26 <desc xml:lang="en-US">User login session has either timed out or does not exist</desc>
28 <event code='1002' textcode='ACTOR_USER_NOT_FOUND'>
29 <desc xml:lang="en-US">Someone attempted to retrieve a user from the system and the user was not found</desc>
31 <event code='1003' textcode='Z3950_SEARCH_FAILED'>
32 <desc xml:lang="en-US">The Z search did not succeed</desc>
34 <event code='1200' textcode='USERNAME_EXISTS'>
35 <desc xml:lang="en-US">The given username already exists in the database</desc>
37 <event code='1201' textcode='CIRC_PERMIT_BAD_KEY'>
38 <desc xml:lang="en-US">A checkout was attempted without a valid checkout permit key</desc>
40 <event code='1202' textcode='ITEM_NOT_CATALOGED'>
41 <desc xml:lang="en-US">The requested item is not cataloged in the database</desc>
43 <event code='1203' textcode='COPY_BAD_STATUS'>
44 <desc xml:lang="en-US">The given copy is not in a standard circulation status</desc>
46 <event code='1204' textcode='CIRC_BAD_STATUS'>
47 <desc xml:lang="en-US">
48 The given circulation is not in a standard status or
49 the circulation was never fully closed properly
52 <event code='1205' textcode='CARD_EXISTS'>
53 <desc xml:lang="en-US">The given user barcode already exists</desc>
55 <event code='1206' textcode='VOLUME_NOT_EMPTY'>
56 <desc xml:lang="en-US">The selected volume has copies attached</desc>
58 <event code='1207' textcode='REFUND_EXCEEDS_BALANCE'>
59 <desc xml:lang="en-US">A refund greater than the negative balance on a transaction was provided</desc>
61 <event code='1208' textcode='TITLE_LAST_COPY'>
62 <desc xml:lang="en-US">The last copy attached to a title is being removed or deleted</desc>
64 <event code='1209' textcode='Z3950_LOGIN_FAILED'>
65 <desc xml:lang="en-US">The login failed</desc>
72 <event code='1500' textcode='CIRCULATION_NOT_FOUND'>
73 <desc xml:lang="en-US">
74 Someone attempted to retrieve a circulation object from the system and
75 the object was not found.
78 <event code='1501' textcode='BIBLIO_RECORD_NOT_FOUND'>
79 <desc xml:lang="en-US">
80 Someone attempted to retrieve a biblio record entry object from the
81 system and the object was not found.
84 <event code='1502' textcode='ASSET_COPY_NOT_FOUND'>
85 <desc xml:lang="en-US">
86 Someone attempted to retrieve a copy object from the
87 system and the object was not found.
90 <event code='1503' textcode='HOLD_NOT_FOUND'>
91 <desc xml:lang="en-US">
92 Someone attempted to retrieve a hold object from the
93 system and the object was not found.
96 <event code='1504' textcode='TRANSIT_NOT_FOUND'>
97 <desc xml:lang="en-US">
98 Someone attempted to retrieve a transit object from the
99 system and the object was not found.
102 <event code='1505' textcode='BILLING_NOT_FOUND'>
103 <desc xml:lang="en-US">
104 Someone attempted to retrieve a transit object from the
105 system and the object was not found.
108 <event code='1506' textcode='CONTAINER_NOT_FOUND'>
109 <desc xml:lang="en-US">
110 Someone attempted to retrieve a container object from the
111 system and the object was not found.
114 <event code='1507' textcode='CONTAINER_ITEM_NOT_FOUND'>
115 <desc xml:lang="en-US">
116 Someone attempted to retrieve a container item object from the
117 system and the object was not found.
120 <event code='1508' textcode='VOLUME_NOT_FOUND'>
121 <desc xml:lang="en-US">
122 Someone attempted to retrieve a volume object from the
123 system and the object was not found.
126 <event code='1509' textcode='ORG_UNIT_NOT_FOUND'>
127 <desc xml:lang="en-US">
128 Someone attempted to retrieve an org unit object from the
129 system and the object was not found.
132 <event code='1510' textcode='STAT_CAT_NOT_FOUND'>
133 <desc xml:lang="en-US"> Stat cat object does not exist </desc>
135 <event code='1511' textcode='STAT_CAT_ENTRY_NOT_FOUND'>
136 <desc xml:lang="en-US"> Stat cat entry object does not exist </desc>
138 <event code='1512' textcode='STAT_CAT_ENTRY_MAP_NOT_FOUND'>
139 <desc xml:lang="en-US"> Stat cat entry map object does not exist </desc>
141 <event code='1513' textcode='NON_CAT_TYPE_NOT_FOUND'>
142 <desc xml:lang="en-US"> The non cataloged type object does not exist </desc>
144 <event code='1514' textcode='CIRC_DURATION_NOT_FOUND'>
145 <desc xml:lang="en-US"> The circ duration object does not exist </desc>
147 <event code='1515' textcode='RECURRING_FINE_NOT_FOUND'>
148 <desc xml:lang="en-US"> The recurring fines object does not exist </desc>
150 <event code='1516' textcode='MAX_FINE_NOT_FOUND'>
151 <desc xml:lang="en-US"> The max fines object does not exist </desc>
153 <event code='1517' textcode='COPY_LOCATION_NOT_FOUND'>
154 <desc xml:lang="en-US"> The copy location object does not exist </desc>
156 <event code='1518' textcode='HOLD_TRANSIT_NOT_FOUND'>
157 <desc xml:lang="en-US"> The hold transit object does not exist </desc>
159 <event code='1519' textcode='TRANSACTION_NOT_FOUND'>
160 <desc xml:lang="en-US"> Requested transaction object does not exist </desc>
162 <event code='1520' textcode='WORKSTATION_NOT_FOUND'>
163 <desc xml:lang="en-US"> Requested workstation object does not exist </desc>
165 <event code='1521' textcode='COPY_NOTE_NOT_FOUND'>
166 <desc xml:lang="en-US"> Requested copy note does not exist </desc>
168 <event code='1522' textcode='VOLUME_NOTE_NOT_FOUND'>
169 <desc xml:lang="en-US"> Requested volume note does not exist </desc>
171 <event code='1523' textcode='TITLE_NOTE_NOT_FOUND'>
172 <desc xml:lang="en-US"> Requested title note does not exist </desc>
174 <event code='1524' textcode='CARD_NOT_FOUND'>
175 <desc xml:lang="en-US"> Requested card note does not exist </desc>
177 <event code='1525' textcode='BILLING_NOT_FOUND'>
178 <desc xml:lang="en-US"> Requested billing note does not exist </desc>
180 <event code='1526' textcode='BILLABLE_XACT_SUMMARY_NOT_FOUND'>
181 <desc xml:lang="en-US"> Requested transaction summary does not exist </desc>
183 <event code='1527' textcode='OPEN_TCN_NOT_FOUND'>
184 <desc xml:lang="en-US">No TCN could be found that does not collide with existing records</desc>
186 <event code='1528' textcode='ACTOR_USER_ADDRESS_NOT_FOUND'>
187 <desc xml:lang="en-US">Requested address was not found</desc>
189 <event code='1700' textcode='NON_CAT_TYPE_EXISTS'>
190 <desc xml:lang="en-US"> The non-cataloged type object already exists </desc>
192 <event code='1701' textcode='COPY_LOCATION_EXISTS'>
193 <desc xml:lang="en-US"> The copy location object already exists </desc>
195 <event code='1702' textcode='OPEN_CIRCULATION_EXISTS'>
196 <desc xml:lang="en-US"> There is an open circulation on the requested item </desc>
198 <event code='1703' textcode='WORKSTATION_NAME_EXISTS'>
199 <desc xml:lang="en-US"> A workstation with that name already exists </desc>
201 <event code='1704' textcode='TCN_EXISTS'>
202 <desc xml:lang="en-US">A record already exists with the requested TCN value</desc>
204 <event code='1705' textcode='VOLUME_LABEL_EXISTS'>
205 <desc xml:lang="en-US">A volume with the same label, title and owning library exists</desc>
207 <event code='1706' textcode='ITEM_BARCODE_EXISTS'>
208 <desc xml:lang="en-US">An item with the same barcode exists</desc>
213 <event code='2000' textcode='BAD_PARAMS'>
214 <desc xml:lang="en-US">Invalid parameters were encountered in a method</desc>
216 <event code='2001' textcode='DATABASE_UPDATE_FAILED'>
217 <desc xml:lang="en-US">The attempt to write to the DB failed</desc>
219 <event code='5000' textcode='PERM_FAILURE'>
220 <desc xml:lang="en-US">Permission Denied</desc>
223 <!-- ================================================================ -->
225 <event code='7000' textcode='ROUTE_ITEM'>
226 <desc xml:lang="en-US">
227 A copy needs to be routed to a different location
228 The destination location will be specified by an 'org' key
229 within the event object
233 <event code='7001' textcode='PATRON_BAD_STANDING'>
234 <desc xml:lang="en-US">
235 The patron in question is not able to check out materials because
236 their account is in bad standing
240 <event code='7002' textcode='PATRON_EXCEEDS_CHECKOUT_COUNT'>
241 <desc xml:lang="en-US">The patron in question has the maximum number of items already checked out</desc>
243 <event code='7003' textcode='COPY_CIRC_NOT_ALLOWED'>
244 <desc xml:lang="en-US"> Target copy is not allowed to circulate </desc>
246 <event code='7004' textcode='COPY_NOT_AVAILABLE'>
247 <desc xml:lang="en-US"> Copy is not available </desc>
249 <event code='7005' textcode='LOCATION_CIRC_NOT_ALLOWED'>
250 <desc xml:lang="en-US"> Location does not allow materials to circulate </desc>
252 <event code='7006' textcode='COPY_IS_REFERENCE'>
253 <desc xml:lang="en-US"> Copy is reference material </desc>
255 <event code='7007' textcode='COPY_NEEDED_FOR_HOLD'>
256 <desc xml:lang="en-US"> Copy is needed to fulfil a hold </desc>
258 <event code='7008' textcode='MAX_RENEWALS_REACHED'>
259 <desc xml:lang="en-US"> Circulation has no more renewals remaining </desc>
261 <event code='7009' textcode='ROUTE_TO_COPY_LOCATION'>
262 <desc xml:lang="en-US">
263 A copy needs to be routed to a copy location. The location
264 should be specified within the event with a 'location' key
267 <event code='7009' textcode='CIRC_CLAIMS_RETURNED'>
268 <desc xml:lang="en-US"> Requested circulation is marked claims returned </desc>
270 <event code='7010' textcode='COPY_ALERT_MESSAGE'>
271 <desc xml:lang="en-US"> The requested copy has an alert message attached </desc>
273 <event code='7011' textcode='COPY_STATUS_LOST'>
274 <desc xml:lang="en-US">Copy has is marked as lost</desc>
276 <event code='7012' textcode='COPY_STATUS_MISSING'>
277 <desc xml:lang="en-US">Copy has is marked as missing</desc>
279 <event code='7013' textcode='PATRON_EXCEEDS_FINES'>
280 <desc xml:lang="en-US">The patron in question has reached the maximum fine amount</desc>
282 <event code='7014' textcode='COPY_IN_TRANSIT'>
283 <desc xml:lang="en-US">Copy is in transit</desc>
286 <!-- ================================================================ -->
289 <event code='8000' textcode='OFFLINE_SESSION_ACTIVE'>
290 <desc xml:lang="en-US"> An offline session for this location is currently processing </desc>
292 <event code='8001' textcode='OFFLINE_SESSION_FILE_EXISTS'>
293 <desc xml:lang="en-US"> An offline file for this workstation exists within this session </desc>
295 <event code='8002' textcode='OFFLINE_FILE_ERROR'>
296 <desc xml:lang="en-US"> An offline file or directory could not be created or accessed </desc>
298 <event code='8003' textcode='OFFLINE_PARAM_ERROR'>
299 <desc xml:lang="en-US"> Missing params in offline upload </desc>
301 <event code='8004' textcode='OFFLINE_CONFIG_ERROR'>
302 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
304 <event code='8005' textcode='OFFLINE_CHECKSUM_FAILED'>
305 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
307 <event code='8006' textcode='OFFLINE_SESSION_NOT_FOUND'>
308 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
310 <event code='8007' textcode='OFFLINE_SESSION_EXISTS'>
311 <desc xml:lang="en-US"> A session with the given name already exists </desc>
313 <event code='8008' textcode='OFFLINE_INVALID_SESSION'>
314 <desc xml:lang="en-US"> The session name is invalid </desc>
316 <event code='8009' textcode='OFFLINE_NO_ORG'>
317 <desc xml:lang="en-US"> No org id was provided </desc>
319 <event code='8010' textcode='OFFLINE_SESSION_COMPLETE'>
320 <desc xml:lang="en-US"> No org id was provided </desc>
323 <!-- ================================================================ -->