...
More details on a feature: [UXPROD-3874] and spike story: [MODELINKS-79]
Requirements
Functional Requirements
...
Error cause code | Description |
---|---|
101 | applicable authority was not found |
102 | 2 or more applicable authorities were found |
103 | auto linking feature is disabled |
TBD |
mod-entities-links
POST /links
...
-suggestions/marc
Code Block | ||||
---|---|---|---|---|
| ||||
{ "records": [ { "fields": [ { "001": "393893" }, { "100": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart, Wolfgang Amadeus," }, { "d": "1756-1791." }, { "0": "12345" }, { "9": "b9a5f035-de63-4e2c-92c2-07240c88b817" } ], "linkStatus": "ACTUAL" } }, { "110": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart" } ] } } ], "leader": "01706ccm a2200361 4500" } ] } |
The response will include suggested links with the status "NEW"; fixed data and status "ACTUAL" for links, that had the status "ERROR"; links with the status "ERROR" and cause type for fields where a link can't be assigned.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "records": [ { "fields": [ { "001": "393893" }, { "100": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart, Wolfgang Amadeus," }, { "d": "1756-1791." }, { "0": "12345" }, { "9": "b9a5f035-de63-4e2c-92c2-07240c88b817" } ], "linkStatus": "ACTUAL" } }, { "110": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart" }, { "0": "12345" }, { "9": "b9a5f035-de63-4e2c-92c2-07240c88b817"" } } ], ], "linkStatus": "NEW" } }, { "130": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart" } ], "linkStatus": "ERROR", "errorStatusCode": "101" } } ], "leader": "01706ccm a2200361 4500" } ] } |
mod-source-record-storage
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "records": [ { "id": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c", "externalIdsHolder": { "authorityId": "b9a5f035-de63-4e2c-92c2-07240c89b817" }, "recordType": "MARC_AUTHORITY", "recordState": "ACTUAL", "parsedRecord": { "id": "c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1", "content": { "fields": [ { "010": { "ind1": " ", "ind2": " ", "subfields": [ { "a": "2001000234" } ] } }, { "100": { "ind1": "/", "ind2": "/", "subfields": [ { "a": "Mozart, Wolfgang Amadeus" }, { "d": "1756-1791" } ] } }, { "110": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Works" } ] } } ], "leader": "01706ccm a2200361 4500" } } } ], "totalRecords": 1 } |
mod-search
GET /search/authorities
New query parameter to add:
Parameter | Type | Note |
---|---|---|
includeNumberOfTitles | boolean (default = true) | If true do not perform a search for a number of linked instances |
Performance
Considerations
...