...
Code Block |
---|
language | xml |
---|
title | Request - Submit Collection Records (MARC XML) |
---|
linenumbers | true |
---|
|
<?xml version="1.0"?>
<collection xmlns="http://www.loc.gov/MARC21/slim" 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">
<record>
<leader>00855cam a2200253 a 4500</leader>
<controlfield tag="001">175157</controlfield>
<controlfield tag="005">20160518221807.0</controlfield>
<controlfield tag="008">830914s1982 gw b 00010 ger d</controlfield>
<datafield ind1=" " ind2=" " tag="020">
<subfield code="a">3877395317</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="035">
<subfield code="a">(OCoLC)74575525</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="035">
<subfield code="a">(CStRLIN)NJPG83-B61980</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="035">
<subfield code="9">AAZ0042TS</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="040">
<subfield code="a">NjP</subfield>
<subfield code="c">NjP</subfield>
</datafield>
<datafield ind1="1" ind2=" " tag="100">
<subfield code="a">Rottmann, Johannes H.</subfield>
</datafield>
<datafield ind1="1" ind2="0" tag="245">
<subfield code="a">-und werden den Lehren der Dämonen anhangen /</subfield>
<subfield code="c">Johannes H. Rottmann.</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="250">
<subfield code="a">1. Aufl.</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="260">
<subfield code="a">Asslar :</subfield>
<subfield code="b">Schulte und Gerth,</subfield>
<subfield code="c">1982.</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="300">
<subfield code="a">127 p. ;</subfield>
<subfield code="c">20 cm.</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="504">
<subfield code="a">Bibliography: p. 124-127.</subfield>
</datafield>
<datafield ind1=" " ind2="0" tag="650">
<subfield code="a">Demonology.</subfield>
<subfield code="0">
(uri)http://id.loc.gov/authorities/subjects/sh85036663
</subfield>
</datafield>
<datafield ind1=" " ind2="0" tag="650">
<subfield code="a">God.</subfield>
<subfield code="0">
(uri)http://id.loc.gov/authorities/subjects/sh85055517
</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="998">
<subfield code="a">04/02/86</subfield>
<subfield code="s">9118</subfield>
<subfield code="n">NjP</subfield>
<subfield code="w">NJPG83B61980</subfield>
<subfield code="d">09/14/83</subfield>
<subfield code="c">GMA</subfield>
<subfield code="b">MT</subfield>
<subfield code="i">860402</subfield>
<subfield code="l">NJPG</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="911">
<subfield code="a">19921028</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="912">
<subfield code="a">19900821000000.0</subfield>
</datafield>
<datafield ind1=" " ind2=" " tag="959">
<subfield code="a">2000-06-13 00:00:00 -0400</subfield>
</datafield>
<datafield ind1="0" ind2="0" tag="852">
<subfield code="0">193086</subfield>
<subfield code="b">rcppa</subfield>
<subfield code="h">BT975 .R67</subfield>
<subfield code="t">1</subfield>
<subfield code="x">tr fr f</subfield>
</datafield>
<datafield ind1="0" ind2="0" tag="876">
<subfield code="0">193086</subfield>
<subfield code="a">187267</subfield>
<subfield code="h"/>
<subfield code="j">Not Charged</subfield>
<subfield code="p">32101079749824</subfield>
<subfield code="t">1</subfield>
<subfield code="x">Shared</subfield>
<subfield code="z">PA</subfield>
</datafield>
</record>
</collection>
|
Other Parameters
Parameter | Data Type | Description |
---|
institution | String | Valid values are PUL, CUL and NYPL |
isCGDProtected | Boolean | Valid values are true and false. If true is selected, the record's CGD is not updated in SCSB. if false is selected, no protection is accorded to the CGD and it will be updated and subsequent matching algorithm will happen. |
Code Block |
---|
title | Response - Submit Collection Records |
---|
linenumbers | true |
---|
|
[
{
"itemBarcode": "32101075649143",
"message": "SuccessRecord" // Successfully edited
},
{
"itemBarcode": "32101075649143",
"message": "RejectionRecord" // Rejected
},
{
"itemBarcode": "32101075649168",
"message": "RejectionRecord"
},
{
"itemBarcode": "32101075649176",
"message": "RejectionRecord"
},
{
"itemBarcode": "32101075649184",
"message": "RejectionRecord"
}
] |
...
Code Block |
---|
language | js |
---|
title | Alternate Response - Submit Collection Records |
---|
linenumbers | true |
---|
|
[
{
"itemBarcode": "4324234234234324",
"message": "ExceptionRecord" // Exception record
}
] |
Bulk Upload
Submit Collection also allows bulk uploading of data. The XML files are uploaded to <FTP>/share/recap/submitcollection/tst/<InstitutionName> from where SCSB picks up the data and uploads them into the DB. SCSB checks and loads the files from the FTP location every 5 seconds. An email is sent out post the completion of the bulk processing of the files. The email ids are configured under the external properties (external.submit.collection.email.pul.to for Princeton) file for each Institution.
The bulk upload process allows two different ways in which the records are processed. There is a protected folder and records uploaded through here doesn't have their CGD updated in SCSB and there is an unprotected folder through which records whose SCSB CGD needs to be updated with the CGD on the file are to be uploaded. (Related JIRA : RECAP-781)Information on bulk upload of files for submit collection is available here.
Constraints on what can be edited
...