<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks. Overlaying the whole marc record is interesting too. Overwriting specific fields might offer some more fine grained control however too. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Something like:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
PUT /api/v1/biblios/123456/marc  ?
<div><br>
</div>
<div>POST, PUT /api/v1/biblios/123456/marc/field/789  ?</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marcel</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;line-height:normal;"><td align="left" style="vertical-align:top;"><a href="https://www.rijksmuseum.nl/nl/steun/vriendschappen" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image737934.png@472DE82C.A485212C" width="250" height="66" border="0" alt="" style="width:250px;min-width:250px;max-width:250px;height:66px;min-height:66px;max-height:66px;font-size:0;" /></a></td></tr><tr style="font-size:14.67px;color:#FFFFFF;font-style:normal;font-weight:400;white-space:nowrap;"><td align="left" style="vertical-align:top;font-family:Verdana;">X<span style="font-family:remialcxesans;font-size:1px;line-height:1px;">​</span></td></tr><tr style="font-size:14.67px;color:#FFFFFF;font-style:normal;font-weight:400;white-space:nowrap;"><td align="left" style="vertical-align:top;font-family:Verdana;">X!<br /></td></tr><tr style="font-size:0;line-height:normal;"><td align="left" style="vertical-align:top;"><a href="https://www.rijksmuseum.nl/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image057227.jpg@554D9F74.4920F257" width="217" height="26" border="0" alt="" style="width:217px;min-width:217px;max-width:217px;height:26px;min-height:26px;max-height:26px;font-size:0;" /></a></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#000001;font-size:14.67px;font-family:Verdana;font-weight:700;font-style:normal;text-align:left;line-height:20px;"><tr style="font-size:12px;"><td style="font-family:RijksText,Arial,sans-serif;"><br />​T/m 18 jaar gratis <br /><a href="https://www.rijksmuseum.nl/nl/tickets/artikelen" target="_blank" id="LPlnk689713" title="Tickets" style="text-decoration:none;color:#000001;"><strong style="font-weight:700;">​In verband met de coronamaatregelen is het <br />​boeken van een starttijd noodzakelijk.</strong></a><br />​<br />​Kijk <span style="text-decoration:underline;"><a href="https://youtu.be/OI_uT2o7bqc" target="_blank" id="LPlnk689713" title="Rijksmuseum Unlocked" style="text-decoration:underline;color:#000001;"><strong style="font-weight:700;">hier</strong></a></span> de nieuwste aflevering van Rijksmuseum Unlocked<br /></td></tr></table></td></tr></table></td></tr><tr style="font-size:14.67px;color:#FFFFFF;"><td align="left" style="vertical-align:top;font-family:Verdana;">x!</td></tr><tr style="font-size:14.67px;color:#000001;"><td align="left" style="vertical-align:top;font-family:Verdana;"><br /></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><a href="https://www.instagram.com/rijksmuseum/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image481710.png@F688075F.9D4F456B" width="25" border="0" alt="" style="width:25px;min-width:25px;max-width:25px;font-size:0;" /></a></td><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:nowrap;color:#FFFFFF;font-size:14.67px;font-family:Verdana;font-weight:400;font-style:normal;text-align:left;width:2px;"><tr style="font-size:14.67px;"><td style="font-family:Verdana;">x</td></tr></table></td><td align="left" style="vertical-align:top;"><a href="https://www.facebook.com/rijksmuseum" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image676877.png@F510032E.790B3EFD" width="25" border="0" alt="" style="width:25px;min-width:25px;max-width:25px;font-size:0;" /></a></td><td align="left" style="vertical-align:top;font-size:14.67px;color:#FFFFFF;font-family:Verdana;font-style:normal;font-weight:400;white-space:nowrap;">x</td><td align="left" style="vertical-align:top;"><a href="https://www.linkedin.com/company/rijksmuseum/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image447450.png@CBD249C7.9C798847" width="25" border="0" alt="" style="width:25px;min-width:25px;max-width:25px;font-size:0;" /></a></td><td align="left" style="vertical-align:top;font-size:14.67px;color:#FFFFFF;font-family:Verdana;font-style:normal;font-weight:400;white-space:nowrap;">x</td><td align="left" style="vertical-align:top;"><a href="https://twitter.com/rijksmuseum" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image637524.png@A8B35D54.EEBC28EB" width="25" border="0" alt="" style="width:25px;min-width:25px;max-width:25px;font-size:0;" /></a></td></tr></table></td></tr><tr style="font-size:12px;color:#00B050;font-weight:700;"><td align="left" style="vertical-align:top;font-family:Verdana;"><br />​Please think before you print<br /></td></tr></table></td></tr></table></div><hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Van:</b> Koha-devel <koha-devel-bounces@lists.koha-community.org> namens Tomas Cohen Arazi <tomascohen@gmail.com><br>
<b>Verzonden:</b> vrijdag 22 januari 2021 13:38<br>
<b>Aan:</b> Marcel de Rooy <rooy.de.m@gmail.com><br>
<b>CC:</b> koha-devel <koha-devel@lists.koha-community.org><br>
<b>Onderwerp:</b> Re: [Koha-devel] REST API / MARC fields</font>
<div> </div>
</div>
<div>
<div dir="auto">We could have a route to overlay the MARC representation of a biblio (if acceptable). We could use
<div dir="auto"><br>
</div>
<div dir="auto">PATCH /biblios/:biblio_id</div>
<div dir="auto">Content-Type: application/marc-in-json</div>
<div dir="auto">{ ...</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">El vie., 22 ene. 2021 6:20, Marcel de Rooy <<a href="mailto:rooy.de.m@gmail.com">rooy.de.m@gmail.com</a>> escribió:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Any thoughts here about how we should handle updating fields in MARC which have no specific corresponding database field.</div>
<div>I am thinking about e.g. a persistent identifier in MARC21 field 024 or an OCLC number in field 035.</div>
<div>Could we add REST API entries for such changes as well? They will only generate changes in the marcxml for now..</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Marcel</div>
</div>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank" rel="noreferrer">Koha-devel@lists.koha-community.org</a><br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561939658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=stBfgoLskKrgvFhMGNVV16wPP%2B%2Fujj3cxlnNjZHx8P8%3D&reserved=0" originalsrc="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" shash="R5yJPvJYMSZPrkpW1zGm+oodGrhkbMqlUsnRgLF5M8aj4qUz+Ym6gZL79RD22MXMq2Umyk7Hiy97okUFg2U2lliUA9PEnw9PShxB3uEzhCI7ySP6UmO1WtzeOMCohhKRoF4B0r8z7hx1Mx+Eyqt8iP2FF1Yh0k5BGtnrXTEy0FU=" rel="noreferrer noreferrer" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561949653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1cSgyDiK99%2Fts6gHaB2ykUq14RnsqLA7oYrMnQZ1Xho%3D&reserved=0" originalsrc="https://www.koha-community.org/" shash="Sk8HQ1o5mmi0KBEBSVIj1GiW4oC3385vC+nfq+qw8D+MY/ye0xahAB/g0c0h+711dXxvtk1irwDU5VqfYPSeq33Hj8JHZC5D0zNJwrTm3ClQDAxk5gQ6p3GEfikHaJDUVHOlXEM83/8AU8ApW5yC5OhVztiMPj7zP8Cwye4zl1Y=" rel="noreferrer noreferrer" target="_blank">
https://www.koha-community.org/</a><br>
git : <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561949653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uY%2BCVgf8svk4GJqQQPNbZdOlxQo%2BWB4psGleHBf14zw%3D&reserved=0" originalsrc="https://git.koha-community.org/" shash="nxGep/I6RUY8iPgjlEwMygHCdjIXOOMPxJ4KEiq3SY6bM6kFDZSsO0Yh+NnQ/KiOb7E6fVdBpEFdQiX9JuKtxAkbzHVs+OXcCaZYUqEGr1kqvS3H4VWKxmAMAjNGjLaxxyWTlnJ3Ksh2adLqPnOwRG3ynniR2heeiKkXnxCCLCY=" rel="noreferrer noreferrer" target="_blank">
https://git.koha-community.org/</a><br>
bugs : <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561959648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I8u%2FDourFHEiGEEscgPFGcfPMzP3VtqgzVNky1NNoTY%3D&reserved=0" originalsrc="https://bugs.koha-community.org/" shash="pATFivsl2U8telz7kZ7dyBbgqZ+aXBNYc0xycMbAjyB7dlHs9bfOQLKXIvc0QVJcV4PnKwEmYS62iB+3PJye5Wwu7MQJST0JJNDt/kaGnFRNoUlPoK/ta9gYBxU+yXtRU+gVXCI62QUT0/5rTilkYcgQK3pYPmFgtJtVhsXly7w=" rel="noreferrer noreferrer" target="_blank">
https://bugs.koha-community.org/</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>