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>
67 <event code='1210' textcode='INCORRECT_PASSWORD'>
68 <!-- used when updating a password and the original is wrong -->
69 <desc xml:lang="en-US">The provided password is not correct</desc>
76 <event code='1500' textcode='ACTION_CIRCULATION_NOT_FOUND'>
77 <desc xml:lang="en-US">
78 Someone attempted to retrieve a circulation object from the system and
79 the object was not found.
82 <event code='1501' textcode='BIBLIO_RECORD_ENTRY_NOT_FOUND'>
83 <desc xml:lang="en-US">
84 Someone attempted to retrieve a biblio record entry object from the
85 system and the object was not found.
88 <event code='1502' textcode='ASSET_COPY_NOT_FOUND'>
89 <desc xml:lang="en-US">
90 Someone attempted to retrieve a copy object from the
91 system and the object was not found.
94 <event code='1503' textcode='ACTION_HOLD_REQUEST_NOT_FOUND'>
95 <desc xml:lang="en-US">
96 Someone attempted to retrieve a hold object from the
97 system and the object was not found.
100 <event code='1504' textcode='ACTION_TRANSIT_COPY_NOT_FOUND'>
101 <desc xml:lang="en-US">
102 Someone attempted to retrieve a transit object from the
103 system and the object was not found.
106 <event code='1505' textcode='MONEY_BILLING_NOT_FOUND'>
107 <desc xml:lang="en-US">
108 Someone attempted to retrieve a transit object from the
109 system and the object was not found.
112 <event code='1506' textcode='CONTAINER_NOT_FOUND'>
113 <desc xml:lang="en-US">
114 Someone attempted to retrieve a container object from the
115 system and the object was not found.
118 <event code='1507' textcode='CONTAINER_ITEM_NOT_FOUND'>
119 <desc xml:lang="en-US">
120 Someone attempted to retrieve a container item object from the
121 system and the object was not found.
124 <event code='1508' textcode='ASSET_CALL_NUMBER_NOT_FOUND'>
125 <desc xml:lang="en-US">
126 Someone attempted to retrieve a volume object from the
127 system and the object was not found.
130 <event code='1509' textcode='ORG_UNIT_NOT_FOUND'>
131 <desc xml:lang="en-US">
132 Someone attempted to retrieve an org unit object from the
133 system and the object was not found.
136 <event code='1510' textcode='STAT_CAT_NOT_FOUND'>
137 <desc xml:lang="en-US"> Stat cat object does not exist </desc>
139 <event code='1511' textcode='STAT_CAT_ENTRY_NOT_FOUND'>
140 <desc xml:lang="en-US"> Stat cat entry object does not exist </desc>
142 <event code='1512' textcode='STAT_CAT_ENTRY_MAP_NOT_FOUND'>
143 <desc xml:lang="en-US"> Stat cat entry map object does not exist </desc>
145 <event code='1513' textcode='NON_CAT_TYPE_NOT_FOUND'>
146 <desc xml:lang="en-US"> The non cataloged type object does not exist </desc>
148 <event code='1514' textcode='CIRC_DURATION_NOT_FOUND'>
149 <desc xml:lang="en-US"> The circ duration object does not exist </desc>
151 <event code='1515' textcode='RECURRING_FINE_NOT_FOUND'>
152 <desc xml:lang="en-US"> The recurring fines object does not exist </desc>
154 <event code='1516' textcode='MAX_FINE_NOT_FOUND'>
155 <desc xml:lang="en-US"> The max fines object does not exist </desc>
157 <event code='1517' textcode='COPY_LOCATION_NOT_FOUND'>
158 <desc xml:lang="en-US"> The copy location object does not exist </desc>
160 <event code='1518' textcode='HOLD_TRANSIT_NOT_FOUND'>
161 <desc xml:lang="en-US"> The hold transit object does not exist </desc>
163 <event code='1519' textcode='TRANSACTION_NOT_FOUND'>
164 <desc xml:lang="en-US"> Requested transaction object does not exist </desc>
166 <event code='1520' textcode='WORKSTATION_NOT_FOUND'>
167 <desc xml:lang="en-US"> Requested workstation object does not exist </desc>
169 <event code='1521' textcode='COPY_NOTE_NOT_FOUND'>
170 <desc xml:lang="en-US"> Requested copy note does not exist </desc>
172 <event code='1522' textcode='VOLUME_NOTE_NOT_FOUND'>
173 <desc xml:lang="en-US"> Requested volume note does not exist </desc>
175 <event code='1523' textcode='TITLE_NOTE_NOT_FOUND'>
176 <desc xml:lang="en-US"> Requested title note does not exist </desc>
178 <event code='1524' textcode='CARD_NOT_FOUND'>
179 <desc xml:lang="en-US"> Requested card note does not exist </desc>
181 <event code='1525' textcode='BILLING_NOT_FOUND'>
182 <desc xml:lang="en-US"> Requested billing note does not exist </desc>
184 <event code='1526' textcode='BILLABLE_XACT_SUMMARY_NOT_FOUND'>
185 <desc xml:lang="en-US"> Requested transaction summary does not exist </desc>
187 <event code='1527' textcode='OPEN_TCN_NOT_FOUND'>
188 <desc xml:lang="en-US">No TCN could be found that does not collide with existing records</desc>
190 <event code='1528' textcode='ACTOR_USER_ADDRESS_NOT_FOUND'>
191 <desc xml:lang="en-US">Requested address was not found</desc>
193 <event code='1700' textcode='NON_CAT_TYPE_EXISTS'>
194 <desc xml:lang="en-US"> The non-cataloged type object already exists </desc>
196 <event code='1701' textcode='COPY_LOCATION_EXISTS'>
197 <desc xml:lang="en-US"> The copy location object already exists </desc>
199 <event code='1702' textcode='OPEN_CIRCULATION_EXISTS'>
200 <desc xml:lang="en-US"> There is an open circulation on the requested item </desc>
202 <event code='1703' textcode='WORKSTATION_NAME_EXISTS'>
203 <desc xml:lang="en-US"> A workstation with that name already exists </desc>
205 <event code='1704' textcode='TCN_EXISTS'>
206 <desc xml:lang="en-US">A record already exists with the requested TCN value</desc>
208 <event code='1705' textcode='VOLUME_LABEL_EXISTS'>
209 <desc xml:lang="en-US">A volume with the same label, title and owning library exists</desc>
211 <event code='1706' textcode='ITEM_BARCODE_EXISTS'>
212 <desc xml:lang="en-US">An item with the same barcode exists</desc>
217 <event code='2000' textcode='BAD_PARAMS'>
218 <desc xml:lang="en-US">Invalid parameters were encountered in a method</desc>
220 <event code='2001' textcode='DATABASE_UPDATE_FAILED'>
221 <desc xml:lang="en-US">The attempt to write to the DB failed</desc>
223 <event code='5000' textcode='PERM_FAILURE'>
224 <desc xml:lang="en-US">Permission Denied</desc>
227 <!-- ================================================================ -->
229 <event code='7000' textcode='ROUTE_ITEM'>
230 <desc xml:lang="en-US">
231 A copy needs to be routed to a different location
232 The destination location will be specified by an 'org' key
233 within the event object
237 <event code='7001' textcode='PATRON_BAD_STANDING'>
238 <desc xml:lang="en-US">
239 The patron in question is not able to check out materials because
240 their account is in bad standing
244 <event code='7002' textcode='PATRON_EXCEEDS_CHECKOUT_COUNT'>
245 <desc xml:lang="en-US">The patron in question has the maximum number of items already checked out</desc>
247 <event code='7003' textcode='COPY_CIRC_NOT_ALLOWED'>
248 <desc xml:lang="en-US"> Target copy is not allowed to circulate </desc>
250 <event code='7004' textcode='COPY_NOT_AVAILABLE'>
251 <desc xml:lang="en-US"> Copy is not available </desc>
253 <event code='7005' textcode='LOCATION_CIRC_NOT_ALLOWED'>
254 <desc xml:lang="en-US"> Location does not allow materials to circulate </desc>
256 <event code='7006' textcode='COPY_IS_REFERENCE'>
257 <desc xml:lang="en-US"> Copy is reference material </desc>
259 <event code='7007' textcode='COPY_NEEDED_FOR_HOLD'>
260 <desc xml:lang="en-US"> Copy is needed to fulfil a hold </desc>
262 <event code='7008' textcode='MAX_RENEWALS_REACHED'>
263 <desc xml:lang="en-US"> Circulation has no more renewals remaining </desc>
265 <event code='7009' textcode='ROUTE_TO_COPY_LOCATION'>
266 <desc xml:lang="en-US">
267 A copy needs to be routed to a copy location. The location
268 should be specified within the event with a 'location' key
271 <event code='7009' textcode='CIRC_CLAIMS_RETURNED'>
272 <desc xml:lang="en-US"> Requested circulation is marked claims returned </desc>
274 <event code='7010' textcode='COPY_ALERT_MESSAGE'>
275 <desc xml:lang="en-US"> The requested copy has an alert message attached </desc>
277 <event code='7011' textcode='COPY_STATUS_LOST'>
278 <desc xml:lang="en-US">Copy has is marked as lost</desc>
280 <event code='7012' textcode='COPY_STATUS_MISSING'>
281 <desc xml:lang="en-US">Copy has is marked as missing</desc>
283 <event code='7013' textcode='PATRON_EXCEEDS_FINES'>
284 <desc xml:lang="en-US">The patron in question has reached the maximum fine amount</desc>
286 <event code='7014' textcode='COPY_IN_TRANSIT'>
287 <desc xml:lang="en-US">Copy is in transit</desc>
290 <!-- ================================================================ -->
293 <event code='8000' textcode='OFFLINE_SESSION_ACTIVE'>
294 <desc xml:lang="en-US"> An offline session for this location is currently processing </desc>
296 <event code='8001' textcode='OFFLINE_SESSION_FILE_EXISTS'>
297 <desc xml:lang="en-US"> An offline file for this workstation exists within this session </desc>
299 <event code='8002' textcode='OFFLINE_FILE_ERROR'>
300 <desc xml:lang="en-US"> An offline file or directory could not be created or accessed </desc>
302 <event code='8003' textcode='OFFLINE_PARAM_ERROR'>
303 <desc xml:lang="en-US"> Missing params in offline upload </desc>
305 <event code='8004' textcode='OFFLINE_CONFIG_ERROR'>
306 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
308 <event code='8005' textcode='OFFLINE_CHECKSUM_FAILED'>
309 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
311 <event code='8006' textcode='OFFLINE_SESSION_NOT_FOUND'>
312 <desc xml:lang="en-US"> Offline server is not configured properly </desc>
314 <event code='8007' textcode='OFFLINE_SESSION_EXISTS'>
315 <desc xml:lang="en-US"> A session with the given name already exists </desc>
317 <event code='8008' textcode='OFFLINE_INVALID_SESSION'>
318 <desc xml:lang="en-US"> The session name is invalid </desc>
320 <event code='8009' textcode='OFFLINE_NO_ORG'>
321 <desc xml:lang="en-US"> No org id was provided </desc>
323 <event code='8010' textcode='OFFLINE_SESSION_COMPLETE'>
324 <desc xml:lang="en-US"> No org id was provided </desc>
327 <!-- ================================================================ -->