Lines 348-376
on the API.
Link Here
|
348 |
|
348 |
|
349 |
sub to_api_mapping { |
349 |
sub to_api_mapping { |
350 |
return { |
350 |
return { |
351 |
branchcode => 'library_id', |
351 |
branchcode => 'library_id', |
352 |
branchname => 'name', |
352 |
branchname => 'name', |
353 |
branchaddress1 => 'address1', |
353 |
branchaddress1 => 'address1', |
354 |
branchaddress2 => 'address2', |
354 |
branchaddress2 => 'address2', |
355 |
branchaddress3 => 'address3', |
355 |
branchaddress3 => 'address3', |
356 |
branchzip => 'postal_code', |
356 |
branchzip => 'postal_code', |
357 |
branchcity => 'city', |
357 |
branchcity => 'city', |
358 |
branchstate => 'state', |
358 |
branchstate => 'state', |
359 |
branchcountry => 'country', |
359 |
branchcountry => 'country', |
360 |
branchphone => 'phone', |
360 |
branchphone => 'phone', |
361 |
branchfax => 'fax', |
361 |
branchfax => 'fax', |
362 |
branchemail => 'email', |
362 |
branchemail => 'email', |
363 |
branchillemail => 'ill_email', |
363 |
branchillemail => 'ill_email', |
364 |
branchreplyto => 'reply_to_email', |
364 |
branchreplyto => 'reply_to_email', |
365 |
branchreturnpath => 'return_path_email', |
365 |
branchreturnpath => 'return_path_email', |
366 |
branchurl => 'url', |
366 |
branchurl => 'url', |
367 |
issuing => undef, |
367 |
issuing => undef, |
368 |
branchip => 'ip', |
368 |
branchip => 'ip', |
369 |
branchnotes => 'notes', |
369 |
branchnotes => 'notes', |
370 |
marcorgcode => 'marc_org_code', |
370 |
marcorgcode => 'marc_org_code', |
371 |
opacusercss => undef, |
371 |
opacusercss => undef, |
372 |
opacuserjs => undef, |
372 |
opacuserjs => undef, |
373 |
library_color => undef |
373 |
ui_staff_customization => undef |
374 |
}; |
374 |
}; |
375 |
} |
375 |
} |
376 |
|
376 |
|