...
Code Block |
---|
title | Response - Submit Collection Records |
---|
linenumbers | true |
---|
|
Success, One or more record(s) updated.[
{
"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": null,
"message": "Invalid SCSB xml format" // Invalid SCSBXML format
}
] |
Code Block |
---|
language | js |
---|
title | Alternate Response - Submit Collection Records |
---|
linenumbers | true |
---|
|
[
{
"itemBarcode": null,
"message": "Invalid Marc xml format" // Invalid MARCXML format
}
] |
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.
...