[Koha-bugs] [Bug 31795] REST API: POST endpoint for Authorities
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 19:35:34 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31795
--- Comment #3 from AgustÃn Moyano <agustinmoyano at theke.io> ---
(In reply to David Nind from comment #2)
> I had a go at testing using Postman, but I'm not familiar enough with APIs
> etc., to know how to work out what needs to be in the body for the format.
>
> If you could provide an example of what to put in the body for one of the
> formats, I'll have another go.
Hi David, I got this from KTD, but an example of marcxml would be
<?xml version="1.0" encoding="UTF-8"?>
<record
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
xmlns="http://www.loc.gov/MARC21/slim">
<leader>00390nz a2200133o 4500</leader>
<controlfield tag="001">1707</controlfield>
<controlfield tag="003">csc</controlfield>
<controlfield tag="005">20140507162102.0</controlfield>
<controlfield tag="008">140507|| aca||aabn | a|a
d</controlfield>
<datafield tag="040" ind1=" " ind2=" ">
<subfield code="a">csc</subfield>
<subfield code="c">csc</subfield>
</datafield>
<datafield tag="150" ind1=" " ind2=" ">
<subfield code="a">C++ (Computer program language)</subfield>
</datafield>
<datafield tag="667" ind1=" " ind2=" ">
<subfield code="a">Machine generated authority record.</subfield>
</datafield>
<datafield tag="670" ind1=" " ind2=" ">
<subfield code="a">Work cat.: (csc)0: Josuttis, Nicolai M. 5582, The C++
standard library :, c2012.</subfield>
</datafield>
<datafield tag="942" ind1=" " ind2=" ">
<subfield code="a">TOPIC_TERM</subfield>
</datafield>
</record>
Maybe you can change some data so that Koha won't think it's a duplicate
Cheers!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list