Alma “scan-in” API: Marc21 field 852 - call number prefix and suffix
We are using the Alma “scan-in” API
/almaws/v1/items?itembarcode={itembarcode}
which redirects to
/almaws/v1/bibs/{mmsid}/holdings/{holdingid}/items/{item_pid}
to print book labels.
Some sublibraries also use call number prefixes or suffixes in some cases.
Please see the following example record:
- Marc21 field 852 in the Holding record
- XML output
(1) Example: Call number with prefix 852 $$k
852 8_ |b XHOG |c XGRY |h G-1234567 |k Präfix
XML output:
item/holdingdata/permanentcallnumber: Präfix G-1234567
item/holdingdata/callnumber: Präfix G-1234567
item/holdingdata/accession_number: G-1234567
item/itemdata/parsedcallnumber:
<parsedcallnumber>
<callno/>
<call_no>Präfix</call_no>
<call_no>G-1234567</call_no>
</parsed_call_number>
(2) Example: Call number with suffix 852 $$m
852 8_ |b XHOG |c XGRY |h G-1234567 |m Suffix
XML output:
item/holdingdata/permanentcallnumber: G-1234567 Suffix
item/holdingdata/callnumber: G-1234567 Suffix
item/holdingdata/accession_number: G-1234567
item/itemdata/parsedcallnumber:
<parsedcallnumber>
<callno>G-1234567</call_no>
<call_no/>
<call_no>Suffix</call_no>
</parsed_call_number>
(3) Example: Call number with prefix 852 $$k and suffix 852 $$m
852 8_ |b XHOG |c XGRY |h G-1234567 |k Präfix |m Suffix
XML output:
item/holdingdata/permanentcallnumber: Präfix G-1234567 Suffix
item/holdingdata/callnumber: Präfix G-1234567 Suffix
item/holdingdata/accession_number: G-1234567
item/itemdata/parsedcallnumber:
<parsedcallnumber>
<callno/>
<call_no>Präfix</call_no>
<call_no>G-1234567</call_no>
<call_no/>
<call_no>Suffix</call_no>
</parsed_call_number>
and after some tests the <parsed_call_number> section looks like this:
<parsed_call_number>
<call_no/>
<call_no>Präfix</call_no>
<call_no>G-1234567</call_no>
<call_no/>
<call_no>Suffix</call_no>
</parsed_call_number>
Conclusion:
- Marc21 subfields 852 $$k and $$m are not listed sperately in the XML :-(
- In <parsed_call_number> section the content of <permanent_call_number> or <call_number> is splitted up into the content of 852 $$k, $$h and $$m. The order of the <call_no> tags is correct (call number prefix / call number / call number suffix) but there are also empty <call_no/> tags.
Please provide us a XML output with Marc21 852 content in seperate fields. The important call number fields for us are:
- 852 $$k ... call number prefix
- 852 $$h ... call number (classification part)
- 852 $$m ... call number suffix
- <accession_number> includes 852 $$h only if the call number has been generated via a call number (accession number) counter.
Other libraries may be interested also in other subfields of Marc21 852:
https://www.loc.gov/marc/holdings/concise/hd852.html
$h - Classification part (NR)
$i - Item part (R)
$j - Shelving control number (NR)
$k - Call number prefix (R)
$l - Shelving form of title (NR)
$m - Call number suffix (R)
Having the content of 852 $$k, $$h and $$m in separate XML fields gives us the possiblity to handle the call number parts in a different way on the book label (if desired).
Having two <call_no> tags in the <parsed_call_number> section is not clear enough. It could mean that you have:
- 852 $$k ... call number prefix / 852 $$h ... call number (classification part)
- or 852 $$h ... call number (classification part) / 852 $$m ... call number suffix
Thank you in advance!