Lines 1027-1051
on the API.
Link Here
|
1027 |
|
1027 |
|
1028 |
sub to_api_mapping { |
1028 |
sub to_api_mapping { |
1029 |
return { |
1029 |
return { |
1030 |
reserve_id => 'hold_id', |
1030 |
reserve_id => 'hold_id', |
1031 |
borrowernumber => 'patron_id', |
1031 |
borrowernumber => 'patron_id', |
1032 |
reservedate => 'hold_date', |
1032 |
reservedate => 'hold_date', |
1033 |
biblionumber => 'biblio_id', |
1033 |
biblionumber => 'biblio_id', |
1034 |
branchcode => 'pickup_library_id', |
1034 |
deleted_biblionumber => 'deleted_biblio_id', |
1035 |
notificationdate => undef, |
1035 |
branchcode => 'pickup_library_id', |
1036 |
reminderdate => undef, |
1036 |
notificationdate => undef, |
1037 |
cancellationdate => 'cancellation_date', |
1037 |
reminderdate => undef, |
1038 |
reservenotes => 'notes', |
1038 |
cancellationdate => 'cancellation_date', |
1039 |
found => 'status', |
1039 |
reservenotes => 'notes', |
1040 |
itemnumber => 'item_id', |
1040 |
found => 'status', |
1041 |
waitingdate => 'waiting_date', |
1041 |
itemnumber => 'item_id', |
1042 |
expirationdate => 'expiration_date', |
1042 |
waitingdate => 'waiting_date', |
|
|
1043 |
expirationdate => 'expiration_date', |
1043 |
patron_expiration_date => undef, |
1044 |
patron_expiration_date => undef, |
1044 |
lowestPriority => 'lowest_priority', |
1045 |
lowestPriority => 'lowest_priority', |
1045 |
suspend => 'suspended', |
1046 |
suspend => 'suspended', |
1046 |
suspend_until => 'suspended_until', |
1047 |
suspend_until => 'suspended_until', |
1047 |
itemtype => 'item_type', |
1048 |
itemtype => 'item_type', |
1048 |
item_level_hold => 'item_level', |
1049 |
item_level_hold => 'item_level', |
1049 |
}; |
1050 |
}; |
1050 |
} |
1051 |
} |
1051 |
|
1052 |
|