Upload MARC binary and MARCXML records.
sourceId required | string source identifier (library ID) |
sourceVersion | integer Default: 1 source version |
fileName | string file name of the uploaded file (for non multipart upload) |
localIdPath | string JSON-path for where local identifier is fetched from |
xmlFixing | boolean Default: false attempt to fix XML input by replacing invalid chars |
raw | boolean Default: false only calculate size |
ingest | boolean Default: true ingest records after processing files |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
X-Okapi-Permissions | string A JSON array with client permissions |
records | string <binary> |
{- "property1": {
- "processed": 0,
- "ignored": 0,
- "inserted": 0,
- "updated": 0,
- "deleted": 0
}, - "property2": {
- "processed": 0,
- "ignored": 0,
- "inserted": 0,
- "updated": 0,
- "deleted": 0
}
}