Lines 10-522
Link Here
|
10 |
"parameters": [{ |
10 |
"parameters": [{ |
11 |
"name": "borrowernumber", |
11 |
"name": "borrowernumber", |
12 |
"in": "query", |
12 |
"in": "query", |
13 |
"description": "Case insensetive 'starts_with' search on borrowernumber", |
13 |
"description": "Case insensitive search on borrowernumber", |
14 |
"required": false, |
14 |
"required": false, |
15 |
"type": "string" |
15 |
"type": "string" |
16 |
}, |
16 |
}, { |
17 |
{ |
|
|
18 |
"name": "cardnumber", |
17 |
"name": "cardnumber", |
19 |
"in": "query", |
18 |
"in": "query", |
20 |
"description": "Case insensetive 'starts_with' search on cardnumber", |
19 |
"description": "Case insensitive search on cardnumber", |
21 |
"required": false, |
20 |
"required": false, |
22 |
"type": "string" |
21 |
"type": "string" |
23 |
}, |
22 |
}, { |
24 |
{ |
|
|
25 |
"name": "surname", |
23 |
"name": "surname", |
26 |
"in": "query", |
24 |
"in": "query", |
27 |
"description": "Case insensetive 'starts_with' search on surname", |
25 |
"description": "Case insensitive search on surname", |
28 |
"required": false, |
26 |
"required": false, |
29 |
"type": "string" |
27 |
"type": "string" |
30 |
}, |
28 |
}, { |
31 |
{ |
|
|
32 |
"name": "firstname", |
29 |
"name": "firstname", |
33 |
"in": "query", |
30 |
"in": "query", |
34 |
"description": "Case insensetive 'starts_with' search on firstname", |
31 |
"description": "Case insensitive search on firstname", |
35 |
"required": false, |
32 |
"required": false, |
36 |
"type": "string" |
33 |
"type": "string" |
37 |
}, |
34 |
}, { |
38 |
{ |
|
|
39 |
"name": "title", |
35 |
"name": "title", |
40 |
"in": "query", |
36 |
"in": "query", |
41 |
"description": "Case insensetive 'starts_with' search on title", |
37 |
"description": "Case insensitive search on title", |
42 |
"required": false, |
38 |
"required": false, |
43 |
"type": "string" |
39 |
"type": "string" |
44 |
}, |
40 |
}, { |
45 |
{ |
|
|
46 |
"name": "othernames", |
41 |
"name": "othernames", |
47 |
"in": "query", |
42 |
"in": "query", |
48 |
"description": "Case insensetive 'starts_with' search on othernames", |
43 |
"description": "Case insensitive search on othernames", |
49 |
"required": false, |
44 |
"required": false, |
50 |
"type": "string" |
45 |
"type": "string" |
51 |
}, |
46 |
}, { |
52 |
{ |
|
|
53 |
"name": "initials", |
47 |
"name": "initials", |
54 |
"in": "query", |
48 |
"in": "query", |
55 |
"description": "Case insensetive 'starts_with' search on initials", |
49 |
"description": "Case insensitive search on initials", |
56 |
"required": false, |
50 |
"required": false, |
57 |
"type": "string" |
51 |
"type": "string" |
58 |
}, |
52 |
}, { |
59 |
{ |
|
|
60 |
"name": "streetnumber", |
53 |
"name": "streetnumber", |
61 |
"in": "query", |
54 |
"in": "query", |
62 |
"description": "Case insensetive 'starts_with' search on streetnumber", |
55 |
"description": "Case insensitive search on streetnumber", |
63 |
"required": false, |
56 |
"required": false, |
64 |
"type": "string" |
57 |
"type": "string" |
65 |
}, |
58 |
}, { |
66 |
{ |
|
|
67 |
"name": "streettype", |
59 |
"name": "streettype", |
68 |
"in": "query", |
60 |
"in": "query", |
69 |
"description": "Case insensetive 'starts_with' search on streettype", |
61 |
"description": "Case insensitive search on streettype", |
70 |
"required": false, |
62 |
"required": false, |
71 |
"type": "string" |
63 |
"type": "string" |
72 |
}, |
64 |
}, { |
73 |
{ |
|
|
74 |
"name": "address", |
65 |
"name": "address", |
75 |
"in": "query", |
66 |
"in": "query", |
76 |
"description": "Case insensetive 'starts_with' search on address", |
67 |
"description": "Case insensitive search on address", |
77 |
"required": false, |
68 |
"required": false, |
78 |
"type": "string" |
69 |
"type": "string" |
79 |
}, |
70 |
}, { |
80 |
{ |
|
|
81 |
"name": "address2", |
71 |
"name": "address2", |
82 |
"in": "query", |
72 |
"in": "query", |
83 |
"description": "Case insensetive 'starts_with' search on address2", |
73 |
"description": "Case insensitive search on address2", |
84 |
"required": false, |
74 |
"required": false, |
85 |
"type": "string" |
75 |
"type": "string" |
86 |
}, |
76 |
}, { |
87 |
{ |
|
|
88 |
"name": "city", |
77 |
"name": "city", |
89 |
"in": "query", |
78 |
"in": "query", |
90 |
"description": "Case insensetive 'starts_with' search on city", |
79 |
"description": "Case insensitive search on city", |
91 |
"required": false, |
80 |
"required": false, |
92 |
"type": "string" |
81 |
"type": "string" |
93 |
}, |
82 |
}, { |
94 |
{ |
|
|
95 |
"name": "state", |
83 |
"name": "state", |
96 |
"in": "query", |
84 |
"in": "query", |
97 |
"description": "Case insensetive 'starts_with' search on state", |
85 |
"description": "Case insensitive search on state", |
98 |
"required": false, |
86 |
"required": false, |
99 |
"type": "string" |
87 |
"type": "string" |
100 |
}, |
88 |
}, { |
101 |
{ |
|
|
102 |
"name": "zipcode", |
89 |
"name": "zipcode", |
103 |
"in": "query", |
90 |
"in": "query", |
104 |
"description": "Case insensetive 'starts_with' search on zipcode", |
91 |
"description": "Case insensitive search on zipcode", |
105 |
"required": false, |
92 |
"required": false, |
106 |
"type": "string" |
93 |
"type": "string" |
107 |
}, |
94 |
}, { |
108 |
{ |
|
|
109 |
"name": "country", |
95 |
"name": "country", |
110 |
"in": "query", |
96 |
"in": "query", |
111 |
"description": "Case insensetive 'starts_with' search on country", |
97 |
"description": "Case insensitive search on country", |
112 |
"required": false, |
98 |
"required": false, |
113 |
"type": "string" |
99 |
"type": "string" |
114 |
}, |
100 |
}, { |
115 |
{ |
|
|
116 |
"name": "email", |
101 |
"name": "email", |
117 |
"in": "query", |
102 |
"in": "query", |
118 |
"description": "Case insensetive 'starts_with' search on email", |
103 |
"description": "Case insensitive search on email", |
119 |
"required": false, |
104 |
"required": false, |
120 |
"type": "string" |
105 |
"type": "string" |
121 |
}, |
106 |
}, { |
122 |
{ |
|
|
123 |
"name": "phone", |
107 |
"name": "phone", |
124 |
"in": "query", |
108 |
"in": "query", |
125 |
"description": "Case insensetive 'starts_with' search on phone", |
109 |
"description": "Case insensitive search on phone", |
126 |
"required": false, |
110 |
"required": false, |
127 |
"type": "string" |
111 |
"type": "string" |
128 |
}, |
112 |
}, { |
129 |
{ |
|
|
130 |
"name": "mobile", |
113 |
"name": "mobile", |
131 |
"in": "query", |
114 |
"in": "query", |
132 |
"description": "Case insensetive 'starts_with' search on mobile", |
115 |
"description": "Case insensitive search on mobile", |
133 |
"required": false, |
116 |
"required": false, |
134 |
"type": "string" |
117 |
"type": "string" |
135 |
}, |
118 |
}, { |
136 |
{ |
|
|
137 |
"name": "fax", |
119 |
"name": "fax", |
138 |
"in": "query", |
120 |
"in": "query", |
139 |
"description": "Case insensetive 'starts_with' search on fax", |
121 |
"description": "Case insensitive search on fax", |
140 |
"required": false, |
122 |
"required": false, |
141 |
"type": "string" |
123 |
"type": "string" |
142 |
}, |
124 |
}, { |
143 |
{ |
|
|
144 |
"name": "emailpro", |
125 |
"name": "emailpro", |
145 |
"in": "query", |
126 |
"in": "query", |
146 |
"description": "Case insensetive 'starts_with' search on emailpro", |
127 |
"description": "Case insensitive search on emailpro", |
147 |
"required": false, |
128 |
"required": false, |
148 |
"type": "string" |
129 |
"type": "string" |
149 |
}, |
130 |
}, { |
150 |
{ |
|
|
151 |
"name": "phonepro", |
131 |
"name": "phonepro", |
152 |
"in": "query", |
132 |
"in": "query", |
153 |
"description": "Case insensetive 'starts_with' search on phonepro", |
133 |
"description": "Case insensitive search on phonepro", |
154 |
"required": false, |
134 |
"required": false, |
155 |
"type": "string" |
135 |
"type": "string" |
156 |
}, |
136 |
}, { |
157 |
{ |
|
|
158 |
"name": "B_streetnumber", |
137 |
"name": "B_streetnumber", |
159 |
"in": "query", |
138 |
"in": "query", |
160 |
"description": "Case insensetive 'starts_with' search on B_streetnumber", |
139 |
"description": "Case insensitive search on B_streetnumber", |
161 |
"required": false, |
140 |
"required": false, |
162 |
"type": "string" |
141 |
"type": "string" |
163 |
}, |
142 |
}, { |
164 |
{ |
|
|
165 |
"name": "B_streettype", |
143 |
"name": "B_streettype", |
166 |
"in": "query", |
144 |
"in": "query", |
167 |
"description": "Case insensetive 'starts_with' search on B_streettype", |
145 |
"description": "Case insensitive search on B_streettype", |
168 |
"required": false, |
146 |
"required": false, |
169 |
"type": "string" |
147 |
"type": "string" |
170 |
}, |
148 |
}, { |
171 |
{ |
|
|
172 |
"name": "B_address", |
149 |
"name": "B_address", |
173 |
"in": "query", |
150 |
"in": "query", |
174 |
"description": "Case insensetive 'starts_with' search on B_address", |
151 |
"description": "Case insensitive search on B_address", |
175 |
"required": false, |
152 |
"required": false, |
176 |
"type": "string" |
153 |
"type": "string" |
177 |
}, |
154 |
}, { |
178 |
{ |
|
|
179 |
"name": "B_address2", |
155 |
"name": "B_address2", |
180 |
"in": "query", |
156 |
"in": "query", |
181 |
"description": "Case insensetive 'starts_with' search on B_address2", |
157 |
"description": "Case insensitive search on B_address2", |
182 |
"required": false, |
158 |
"required": false, |
183 |
"type": "string" |
159 |
"type": "string" |
184 |
}, |
160 |
}, { |
185 |
{ |
|
|
186 |
"name": "B_city", |
161 |
"name": "B_city", |
187 |
"in": "query", |
162 |
"in": "query", |
188 |
"description": "Case insensetive 'starts_with' search on B_city", |
163 |
"description": "Case insensitive search on B_city", |
189 |
"required": false, |
164 |
"required": false, |
190 |
"type": "string" |
165 |
"type": "string" |
191 |
}, |
166 |
}, { |
192 |
{ |
|
|
193 |
"name": "B_state", |
167 |
"name": "B_state", |
194 |
"in": "query", |
168 |
"in": "query", |
195 |
"description": "Case insensetive 'starts_with' search on B_state", |
169 |
"description": "Case insensitive search on B_state", |
196 |
"required": false, |
170 |
"required": false, |
197 |
"type": "string" |
171 |
"type": "string" |
198 |
}, |
172 |
}, { |
199 |
{ |
|
|
200 |
"name": "B_zipcode", |
173 |
"name": "B_zipcode", |
201 |
"in": "query", |
174 |
"in": "query", |
202 |
"description": "Case insensetive 'starts_with' search on B_zipcode", |
175 |
"description": "Case insensitive search on B_zipcode", |
203 |
"required": false, |
176 |
"required": false, |
204 |
"type": "string" |
177 |
"type": "string" |
205 |
}, |
178 |
}, { |
206 |
{ |
|
|
207 |
"name": "B_country", |
179 |
"name": "B_country", |
208 |
"in": "query", |
180 |
"in": "query", |
209 |
"description": "Case insensetive 'starts_with' search on B_country", |
181 |
"description": "Case insensitive search on B_country", |
210 |
"required": false, |
182 |
"required": false, |
211 |
"type": "string" |
183 |
"type": "string" |
212 |
}, |
184 |
}, { |
213 |
{ |
|
|
214 |
"name": "B_email", |
185 |
"name": "B_email", |
215 |
"in": "query", |
186 |
"in": "query", |
216 |
"description": "Case insensetive 'starts_with' search on B_email", |
187 |
"description": "Case insensitive search on B_email", |
217 |
"required": false, |
188 |
"required": false, |
218 |
"type": "string" |
189 |
"type": "string" |
219 |
}, |
190 |
}, { |
220 |
{ |
|
|
221 |
"name": "B_phone", |
191 |
"name": "B_phone", |
222 |
"in": "query", |
192 |
"in": "query", |
223 |
"description": "Case insensetive 'starts_with' search on B_phone", |
193 |
"description": "Case insensitive search on B_phone", |
224 |
"required": false, |
194 |
"required": false, |
225 |
"type": "string" |
195 |
"type": "string" |
226 |
}, |
196 |
}, { |
227 |
{ |
|
|
228 |
"name": "dateofbirth", |
197 |
"name": "dateofbirth", |
229 |
"in": "query", |
198 |
"in": "query", |
230 |
"description": "Case insensetive 'starts_with' search on dateofbirth", |
199 |
"description": "Case insensitive search on dateofbirth", |
231 |
"required": false, |
200 |
"required": false, |
232 |
"type": "string" |
201 |
"type": "string" |
233 |
}, |
202 |
}, { |
234 |
{ |
|
|
235 |
"name": "branchcode", |
203 |
"name": "branchcode", |
236 |
"in": "query", |
204 |
"in": "query", |
237 |
"description": "Case insensetive 'starts_with' search on branchcode", |
205 |
"description": "Case insensitive search on branchcode", |
238 |
"required": false, |
206 |
"required": false, |
239 |
"type": "string" |
207 |
"type": "string" |
240 |
}, |
208 |
}, { |
241 |
{ |
|
|
242 |
"name": "categorycode", |
209 |
"name": "categorycode", |
243 |
"in": "query", |
210 |
"in": "query", |
244 |
"description": "Case insensetive 'starts_with' search on categorycode", |
211 |
"description": "Case insensitive search on categorycode", |
245 |
"required": false, |
212 |
"required": false, |
246 |
"type": "string" |
213 |
"type": "string" |
247 |
}, |
214 |
}, { |
248 |
{ |
|
|
249 |
"name": "dateenrolled", |
215 |
"name": "dateenrolled", |
250 |
"in": "query", |
216 |
"in": "query", |
251 |
"description": "Case insensetive 'starts_with' search on dateenrolled", |
217 |
"description": "Case insensitive search on dateenrolled", |
252 |
"required": false, |
218 |
"required": false, |
253 |
"type": "string" |
219 |
"type": "string" |
254 |
}, |
220 |
}, { |
255 |
{ |
|
|
256 |
"name": "dateexpiry", |
221 |
"name": "dateexpiry", |
257 |
"in": "query", |
222 |
"in": "query", |
258 |
"description": "Case insensetive 'starts_with' search on dateexpiry", |
223 |
"description": "Case insensitive search on dateexpiry", |
259 |
"required": false, |
224 |
"required": false, |
260 |
"type": "string" |
225 |
"type": "string" |
261 |
}, |
226 |
}, { |
262 |
{ |
|
|
263 |
"name": "gonenoaddress", |
227 |
"name": "gonenoaddress", |
264 |
"in": "query", |
228 |
"in": "query", |
265 |
"description": "Case insensetive 'starts_with' search on gonenoaddress", |
229 |
"description": "Search on gonenoaddress", |
266 |
"required": false, |
230 |
"required": false, |
267 |
"type": "string" |
231 |
"type": "boolean" |
268 |
}, |
232 |
}, { |
269 |
{ |
|
|
270 |
"name": "lost", |
233 |
"name": "lost", |
271 |
"in": "query", |
234 |
"in": "query", |
272 |
"description": "Case insensetive 'starts_with' search on lost", |
235 |
"description": "Search on lost", |
273 |
"required": false, |
236 |
"required": false, |
274 |
"type": "string" |
237 |
"type": "boolean" |
275 |
}, |
238 |
}, { |
276 |
{ |
|
|
277 |
"name": "debarred", |
239 |
"name": "debarred", |
278 |
"in": "query", |
240 |
"in": "query", |
279 |
"description": "Case insensetive 'starts_with' search on debarred", |
241 |
"description": "Case insensitive search on debarred", |
280 |
"required": false, |
242 |
"required": false, |
281 |
"type": "string" |
243 |
"type": "string" |
282 |
}, |
244 |
}, { |
283 |
{ |
|
|
284 |
"name": "debarredcomment", |
245 |
"name": "debarredcomment", |
285 |
"in": "query", |
246 |
"in": "query", |
286 |
"description": "Case insensetive 'starts_with' search on debarredcomment", |
247 |
"description": "Case insensitive search on debarredcomment", |
287 |
"required": false, |
248 |
"required": false, |
288 |
"type": "string" |
249 |
"type": "string" |
289 |
}, |
250 |
}, { |
290 |
{ |
|
|
291 |
"name": "contactname", |
251 |
"name": "contactname", |
292 |
"in": "query", |
252 |
"in": "query", |
293 |
"description": "Case insensetive 'starts_with' search on contactname", |
253 |
"description": "Case insensitive search on contactname", |
294 |
"required": false, |
254 |
"required": false, |
295 |
"type": "string" |
255 |
"type": "string" |
296 |
}, |
256 |
}, { |
297 |
{ |
|
|
298 |
"name": "contactfirstname", |
257 |
"name": "contactfirstname", |
299 |
"in": "query", |
258 |
"in": "query", |
300 |
"description": "Case insensetive 'starts_with' search on contactfirstname", |
259 |
"description": "Case insensitive search on contactfirstname", |
301 |
"required": false, |
260 |
"required": false, |
302 |
"type": "string" |
261 |
"type": "string" |
303 |
}, |
262 |
}, { |
304 |
{ |
|
|
305 |
"name": "contacttitle", |
263 |
"name": "contacttitle", |
306 |
"in": "query", |
264 |
"in": "query", |
307 |
"description": "Case insensetive 'starts_with' search on contacttitle", |
265 |
"description": "Case insensitive search on contacttitle", |
308 |
"required": false, |
266 |
"required": false, |
309 |
"type": "string" |
267 |
"type": "string" |
310 |
}, |
268 |
}, { |
311 |
{ |
|
|
312 |
"name": "guarantorid", |
269 |
"name": "guarantorid", |
313 |
"in": "query", |
270 |
"in": "query", |
314 |
"description": "Case insensetive 'starts_with' search on guarantorid", |
271 |
"description": "Case insensitive search on guarantorid", |
315 |
"required": false, |
272 |
"required": false, |
316 |
"type": "string" |
273 |
"type": "string" |
317 |
}, |
274 |
}, { |
318 |
{ |
|
|
319 |
"name": "borrowernotes", |
275 |
"name": "borrowernotes", |
320 |
"in": "query", |
276 |
"in": "query", |
321 |
"description": "Case insensetive 'starts_with' search on borrowernotes", |
277 |
"description": "Case insensitive search on borrowernotes", |
322 |
"required": false, |
278 |
"required": false, |
323 |
"type": "string" |
279 |
"type": "string" |
324 |
}, |
280 |
}, { |
325 |
{ |
|
|
326 |
"name": "relationship", |
281 |
"name": "relationship", |
327 |
"in": "query", |
282 |
"in": "query", |
328 |
"description": "Case insensetive 'starts_with' search on relationship", |
283 |
"description": "Case insensitive search on relationship", |
329 |
"required": false, |
284 |
"required": false, |
330 |
"type": "string" |
285 |
"type": "string" |
331 |
}, |
286 |
}, { |
332 |
{ |
|
|
333 |
"name": "sex", |
287 |
"name": "sex", |
334 |
"in": "query", |
288 |
"in": "query", |
335 |
"description": "Case insensetive 'starts_with' search on sex", |
289 |
"description": "Case insensitive search on sex", |
336 |
"required": false, |
290 |
"required": false, |
337 |
"type": "string" |
291 |
"type": "string" |
338 |
}, |
292 |
}, { |
339 |
{ |
|
|
340 |
"name": "password", |
293 |
"name": "password", |
341 |
"in": "query", |
294 |
"in": "query", |
342 |
"description": "Case insensetive 'starts_with' search on password", |
295 |
"description": "Case insensitive search on password", |
343 |
"required": false, |
296 |
"required": false, |
344 |
"type": "string" |
297 |
"type": "string" |
345 |
}, |
298 |
}, { |
346 |
{ |
|
|
347 |
"name": "flags", |
299 |
"name": "flags", |
348 |
"in": "query", |
300 |
"in": "query", |
349 |
"description": "Case insensetive 'starts_with' search on flags", |
301 |
"description": "Case insensitive search on flags", |
350 |
"required": false, |
302 |
"required": false, |
351 |
"type": "string" |
303 |
"type": "string" |
352 |
}, |
304 |
}, { |
353 |
{ |
|
|
354 |
"name": "userid", |
305 |
"name": "userid", |
355 |
"in": "query", |
306 |
"in": "query", |
356 |
"description": "Case insensetive 'starts_with' search on userid", |
307 |
"description": "Case insensitive search on userid", |
357 |
"required": false, |
308 |
"required": false, |
358 |
"type": "string" |
309 |
"type": "string" |
359 |
}, |
310 |
}, { |
360 |
{ |
|
|
361 |
"name": "opacnote", |
311 |
"name": "opacnote", |
362 |
"in": "query", |
312 |
"in": "query", |
363 |
"description": "Case insensetive 'starts_with' search on opacnote", |
313 |
"description": "Case insensitive search on opacnote", |
364 |
"required": false, |
314 |
"required": false, |
365 |
"type": "string" |
315 |
"type": "string" |
366 |
}, |
316 |
}, { |
367 |
{ |
|
|
368 |
"name": "contactnote", |
317 |
"name": "contactnote", |
369 |
"in": "query", |
318 |
"in": "query", |
370 |
"description": "Case insensetive 'starts_with' search on contactnote", |
319 |
"description": "Case insensitive search on contactnote", |
371 |
"required": false, |
320 |
"required": false, |
372 |
"type": "string" |
321 |
"type": "string" |
373 |
}, |
322 |
}, { |
374 |
{ |
|
|
375 |
"name": "sort1", |
323 |
"name": "sort1", |
376 |
"in": "query", |
324 |
"in": "query", |
377 |
"description": "Case insensetive 'starts_with' search on sort1", |
325 |
"description": "Case insensitive search on sort1", |
378 |
"required": false, |
326 |
"required": false, |
379 |
"type": "string" |
327 |
"type": "string" |
380 |
}, |
328 |
}, { |
381 |
{ |
|
|
382 |
"name": "sort2", |
329 |
"name": "sort2", |
383 |
"in": "query", |
330 |
"in": "query", |
384 |
"description": "Case insensetive 'starts_with' search on sort2", |
331 |
"description": "Case insensitive search on sort2", |
385 |
"required": false, |
332 |
"required": false, |
386 |
"type": "string" |
333 |
"type": "string" |
387 |
}, |
334 |
}, { |
388 |
{ |
|
|
389 |
"name": "altcontactfirstname", |
335 |
"name": "altcontactfirstname", |
390 |
"in": "query", |
336 |
"in": "query", |
391 |
"description": "Case insensetive 'starts_with' search on altcontactfirstname", |
337 |
"description": "Case insensitive search on altcontactfirstname", |
392 |
"required": false, |
338 |
"required": false, |
393 |
"type": "string" |
339 |
"type": "string" |
394 |
}, |
340 |
}, { |
395 |
{ |
|
|
396 |
"name": "altcontactsurname", |
341 |
"name": "altcontactsurname", |
397 |
"in": "query", |
342 |
"in": "query", |
398 |
"description": "Case insensetive 'starts_with' search on altcontactsurname", |
343 |
"description": "Case insensitive search on altcontactsurname", |
399 |
"required": false, |
344 |
"required": false, |
400 |
"type": "string" |
345 |
"type": "string" |
401 |
}, |
346 |
}, { |
402 |
{ |
|
|
403 |
"name": "altcontactaddress1", |
347 |
"name": "altcontactaddress1", |
404 |
"in": "query", |
348 |
"in": "query", |
405 |
"description": "Case insensetive 'starts_with' search on altcontactaddress1", |
349 |
"description": "Case insensitive search on altcontactaddress1", |
406 |
"required": false, |
350 |
"required": false, |
407 |
"type": "string" |
351 |
"type": "string" |
408 |
}, |
352 |
}, { |
409 |
{ |
|
|
410 |
"name": "altcontactaddress2", |
353 |
"name": "altcontactaddress2", |
411 |
"in": "query", |
354 |
"in": "query", |
412 |
"description": "Case insensetive 'starts_with' search on altcontactaddress2", |
355 |
"description": "Case insensitive search on altcontactaddress2", |
413 |
"required": false, |
356 |
"required": false, |
414 |
"type": "string" |
357 |
"type": "string" |
415 |
}, |
358 |
}, { |
416 |
{ |
|
|
417 |
"name": "altcontactaddress3", |
359 |
"name": "altcontactaddress3", |
418 |
"in": "query", |
360 |
"in": "query", |
419 |
"description": "Case insensetive 'starts_with' search on altcontactaddress3", |
361 |
"description": "Case insensitive search on altcontactaddress3", |
420 |
"required": false, |
362 |
"required": false, |
421 |
"type": "string" |
363 |
"type": "string" |
422 |
}, |
364 |
}, { |
423 |
{ |
|
|
424 |
"name": "altcontactstate", |
365 |
"name": "altcontactstate", |
425 |
"in": "query", |
366 |
"in": "query", |
426 |
"description": "Case insensetive 'starts_with' search on altcontactstate", |
367 |
"description": "Case insensitive search on altcontactstate", |
427 |
"required": false, |
368 |
"required": false, |
428 |
"type": "string" |
369 |
"type": "string" |
429 |
}, |
370 |
}, { |
430 |
{ |
|
|
431 |
"name": "altcontactzipcode", |
371 |
"name": "altcontactzipcode", |
432 |
"in": "query", |
372 |
"in": "query", |
433 |
"description": "Case insensetive 'starts_with' search on altcontactzipcode", |
373 |
"description": "Case insensitive search on altcontactzipcode", |
434 |
"required": false, |
374 |
"required": false, |
435 |
"type": "string" |
375 |
"type": "string" |
436 |
}, |
376 |
}, { |
437 |
{ |
|
|
438 |
"name": "altcontactcountry", |
377 |
"name": "altcontactcountry", |
439 |
"in": "query", |
378 |
"in": "query", |
440 |
"description": "Case insensetive 'starts_with' search on altcontactcountry", |
379 |
"description": "Case insensitive search on altcontactcountry", |
441 |
"required": false, |
380 |
"required": false, |
442 |
"type": "string" |
381 |
"type": "string" |
443 |
}, |
382 |
}, { |
444 |
{ |
|
|
445 |
"name": "altcontactphone", |
383 |
"name": "altcontactphone", |
446 |
"in": "query", |
384 |
"in": "query", |
447 |
"description": "Case insensetive 'starts_with' search on altcontactphone", |
385 |
"description": "Case insensitive search on altcontactphone", |
448 |
"required": false, |
386 |
"required": false, |
449 |
"type": "string" |
387 |
"type": "string" |
450 |
}, |
388 |
}, { |
451 |
{ |
|
|
452 |
"name": "smsalertnumber", |
389 |
"name": "smsalertnumber", |
453 |
"in": "query", |
390 |
"in": "query", |
454 |
"description": "Case insensetive 'starts_with' search on smsalertnumber", |
391 |
"description": "Case insensitive search on smsalertnumber", |
455 |
"required": false, |
392 |
"required": false, |
456 |
"type": "string" |
393 |
"type": "string" |
457 |
}, |
394 |
}, { |
458 |
{ |
|
|
459 |
"name": "sms_provider_id", |
395 |
"name": "sms_provider_id", |
460 |
"in": "query", |
396 |
"in": "query", |
461 |
"description": "Case insensetive 'starts_with' search on sms_provider_id", |
397 |
"description": "Case insensitive search on sms_provider_id", |
462 |
"required": false, |
398 |
"required": false, |
463 |
"type": "string" |
399 |
"type": "string" |
464 |
}, |
400 |
}, { |
465 |
{ |
|
|
466 |
"name": "privacy", |
401 |
"name": "privacy", |
467 |
"in": "query", |
402 |
"in": "query", |
468 |
"description": "Case insensetive 'starts_with' search on privacy", |
403 |
"description": "Case insensitive search on privacy", |
469 |
"required": false, |
404 |
"required": false, |
470 |
"type": "string" |
405 |
"type": "string" |
471 |
}, |
406 |
}, { |
472 |
{ |
|
|
473 |
"name": "privacy_guarantor_checkouts", |
407 |
"name": "privacy_guarantor_checkouts", |
474 |
"in": "query", |
408 |
"in": "query", |
475 |
"description": "Case insensetive 'starts_with' search on privacy_guarantor_checkouts", |
409 |
"description": "Case insensitive search on privacy_guarantor_checkouts", |
476 |
"required": false, |
410 |
"required": false, |
477 |
"type": "string" |
411 |
"type": "string" |
478 |
}, |
412 |
}, { |
479 |
{ |
|
|
480 |
"name": "checkprevcheckout", |
413 |
"name": "checkprevcheckout", |
481 |
"in": "query", |
414 |
"in": "query", |
482 |
"description": "Case insensetive 'starts_with' search on checkprevcheckout", |
415 |
"description": "Case insensitive search on checkprevcheckout", |
483 |
"required": false, |
416 |
"required": false, |
484 |
"type": "string" |
417 |
"type": "string" |
485 |
}, |
418 |
}, { |
486 |
{ |
|
|
487 |
"name": "updated_on", |
419 |
"name": "updated_on", |
488 |
"in": "query", |
420 |
"in": "query", |
489 |
"description": "Case insensetive 'starts_with' search on updated_on", |
421 |
"description": "Case insensitive search on updated_on", |
490 |
"required": false, |
422 |
"required": false, |
491 |
"type": "string" |
423 |
"type": "string" |
492 |
}, |
424 |
}, { |
493 |
{ |
|
|
494 |
"name": "lastseen", |
425 |
"name": "lastseen", |
495 |
"in": "query", |
426 |
"in": "query", |
496 |
"description": "Case insensetive 'starts_with' search on lastseen", |
427 |
"description": "Case insensitive search on lastseen", |
497 |
"required": false, |
428 |
"required": false, |
498 |
"type": "string" |
429 |
"type": "string" |
499 |
}, |
430 |
}, { |
500 |
{ |
|
|
501 |
"name": "lang", |
431 |
"name": "lang", |
502 |
"in": "query", |
432 |
"in": "query", |
503 |
"description": "Case insensetive 'starts_with' search on lang", |
433 |
"description": "Case insensitive search on lang", |
504 |
"required": false, |
434 |
"required": false, |
505 |
"type": "string" |
435 |
"type": "string" |
506 |
}, |
436 |
}, { |
507 |
{ |
|
|
508 |
"name": "login_attempts", |
437 |
"name": "login_attempts", |
509 |
"in": "query", |
438 |
"in": "query", |
510 |
"description": "Case insensetive 'starts_with' search on login_attempts", |
439 |
"description": "Case insensitive search on login_attempts", |
511 |
"required": false, |
440 |
"required": false, |
512 |
"type": "string" |
441 |
"type": "string" |
513 |
}, |
442 |
}, { |
514 |
{ |
|
|
515 |
"name": "overdrive_auth_token", |
443 |
"name": "overdrive_auth_token", |
516 |
"in": "query", |
444 |
"in": "query", |
517 |
"description": "Case insensetive 'starts_with' search on overdrive_auth_token", |
445 |
"description": "Case insensitive search on overdrive_auth_token", |
518 |
"required": false, |
446 |
"required": false, |
519 |
"type": "string" |
447 |
"type": "string" |
|
|
448 |
}, { |
449 |
"$ref": "../parameters.json#/match" |
450 |
}, { |
451 |
"$ref": "../parameters.json#/order_by" |
452 |
}, { |
453 |
"$ref": "../parameters.json#/page" |
454 |
}, { |
455 |
"$ref": "../parameters.json#/per_page" |
520 |
}], |
456 |
}], |
521 |
"responses": { |
457 |
"responses": { |
522 |
"200": { |
458 |
"200": { |
Lines 554-559
Link Here
|
554 |
} |
490 |
} |
555 |
}, |
491 |
}, |
556 |
"post": { |
492 |
"post": { |
|
|
493 |
"x-mojo-to": "Patron#add", |
557 |
"operationId": "addPatron", |
494 |
"operationId": "addPatron", |
558 |
"tags": ["patrons"], |
495 |
"tags": ["patrons"], |
559 |
"parameters": [{ |
496 |
"parameters": [{ |
Lines 606-619
Link Here
|
606 |
"$ref": "../definitions.json#/error" |
543 |
"$ref": "../definitions.json#/error" |
607 |
} |
544 |
} |
608 |
}, |
545 |
}, |
609 |
"503": { |
546 |
"500": { |
610 |
"description": "Under maintenance", |
547 |
"description": "Internal server error", |
611 |
"schema": { |
548 |
"schema": { |
612 |
"$ref": "../definitions.json#/error" |
549 |
"$ref": "../definitions.json#/error" |
613 |
} |
550 |
} |
614 |
}, |
551 |
}, |
615 |
"500": { |
552 |
"503": { |
616 |
"description": "Internal server error", |
553 |
"description": "Under maintenance", |
617 |
"schema": { |
554 |
"schema": { |
618 |
"$ref": "../definitions.json#/error" |
555 |
"$ref": "../definitions.json#/error" |
619 |
} |
556 |
} |
Lines 684-690
Link Here
|
684 |
} |
621 |
} |
685 |
}, |
622 |
}, |
686 |
"put": { |
623 |
"put": { |
687 |
"operationId": "editPatron", |
624 |
"x-mojo-to": "Patron#update", |
|
|
625 |
"operationId": "updatePatron", |
688 |
"tags": ["patrons"], |
626 |
"tags": ["patrons"], |
689 |
"parameters": [ |
627 |
"parameters": [ |
690 |
{ |
628 |
{ |
Lines 755-768
Link Here
|
755 |
} |
693 |
} |
756 |
}, |
694 |
}, |
757 |
"x-koha-authorization": { |
695 |
"x-koha-authorization": { |
758 |
"allow-owner": true, |
|
|
759 |
"allow-guarantor": true, |
760 |
"permissions": { |
696 |
"permissions": { |
761 |
"borrowers": "1" |
697 |
"borrowers": "1" |
762 |
} |
698 |
} |
763 |
} |
699 |
} |
764 |
}, |
700 |
}, |
765 |
"delete": { |
701 |
"delete": { |
|
|
702 |
"x-mojo-to": "Patron#delete", |
766 |
"operationId": "deletePatron", |
703 |
"operationId": "deletePatron", |
767 |
"tags": ["patrons"], |
704 |
"tags": ["patrons"], |
768 |
"parameters": [{ |
705 |
"parameters": [{ |