Lines 1895-1914
sub TO_JSON {
Link Here
|
1895 |
|
1895 |
|
1896 |
sub to_api_mapping { |
1896 |
sub to_api_mapping { |
1897 |
return { |
1897 |
return { |
1898 |
illrequest_id => 'ill_request_id', |
1898 |
accessurl => 'access_url', |
1899 |
borrowernumber => 'patron_id', |
1899 |
backend => 'ill_backend_id', |
1900 |
branchcode => 'library_id', |
1900 |
borrowernumber => 'patron_id', |
1901 |
status_alias => 'status_av', |
1901 |
branchcode => 'library_id', |
1902 |
placed => 'requested_date', |
1902 |
completed => 'completed_date', |
1903 |
replied => 'replied_date', |
1903 |
deleted_biblio_id => undef, |
1904 |
updated => 'timestamp', |
1904 |
illrequest_id => 'ill_request_id', |
1905 |
completed => 'completed_date', |
1905 |
notesopac => 'opac_notes', |
1906 |
accessurl => 'access_url', |
1906 |
notesstaff => 'staff_notes', |
1907 |
price_paid => 'paid_price', |
1907 |
orderid => 'ill_backend_request_id', |
1908 |
notesopac => 'opac_notes', |
1908 |
placed => 'requested_date', |
1909 |
notesstaff => 'staff_notes', |
1909 |
price_paid => 'paid_price', |
1910 |
orderid => 'ill_backend_request_id', |
1910 |
replied => 'replied_date', |
1911 |
backend => 'ill_backend_id', |
1911 |
status_alias => 'status_av', |
|
|
1912 |
updated => 'timestamp', |
1912 |
}; |
1913 |
}; |
1913 |
} |
1914 |
} |
1914 |
|
1915 |
|
1915 |
- |
|
|