Entity Links API
Get links collection related to Instance
instanceId required | string <uuid> (uuid) UUID of the Instance that is related to the MARC record |
{- "totalRecords": 1,
- "links": [
- {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "instanceId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "authorityNaturalId": "authorityNaturalId",
- "id": 0,
- "linkingRuleId": 6,
- "status": "status"
}, - {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "instanceId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "authorityNaturalId": "authorityNaturalId",
- "id": 0,
- "linkingRuleId": 6,
- "status": "status"
}
]
}
Update links collection related to Instance
instanceId required | string <uuid> (uuid) UUID of the Instance that is related to the MARC record |
required | Array of objects (Collection of instance links) | ||||||||||
Array
|
{- "totalRecords": 1,
- "links": [
- {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "instanceId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "authorityNaturalId": "authorityNaturalId",
- "id": 0,
- "linkingRuleId": 6,
- "status": "status"
}, - {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "instanceId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "authorityNaturalId": "authorityNaturalId",
- "id": 0,
- "linkingRuleId": 6,
- "status": "status"
}
]
}
{- "Error": {
- "value": {
- "errors": [
- {
- "message": "may not be null",
- "type": 1,
- "code": -1,
- "parameters": [
- {
- "key": "moduleTo",
- "value": null
}
]
}
]
}
}
}
Retrieve number of links by authority IDs
ids required | Array of strings <uuid> (uuid) [ items <uuid > ] |
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "links": [
- {
- "totalLinks": 0,
- "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}, - {
- "totalLinks": 0,
- "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
}
]
}
[- {
- "autoLinkingEnabled": true,
- "bibField": "bibField",
- "subfieldModifications": [
- {
- "source": "source",
- "target": "target"
}, - {
- "source": "source",
- "target": "target"
}
], - "authoritySubfields": [
- null,
- null
], - "id": 0,
- "validation": {
- "existence": [
- {
- "key": true
}, - {
- "key": true
}
]
}, - "authorityField": "authorityField"
}
]
Retrieve instance-authority linking rule by ID
ruleId required | integer ID of the instance-authority linking rule |
{- "autoLinkingEnabled": true,
- "bibField": "bibField",
- "subfieldModifications": [
- {
- "source": "source",
- "target": "target"
}, - {
- "source": "source",
- "target": "target"
}
], - "authoritySubfields": [
- null,
- null
], - "id": 0,
- "validation": {
- "existence": [
- {
- "key": true
}, - {
- "key": true
}
]
}, - "authorityField": "authorityField"
}
Partially update instance-authority linking rule by ID
ruleId required | integer ID of the instance-authority linking rule |
id | integer |
autoLinkingEnabled | boolean |
{- "id": 0,
- "autoLinkingEnabled": true
}
{- "autoLinkingEnabled": true,
- "bibField": "bibField",
- "subfieldModifications": [
- {
- "source": "source",
- "target": "target"
}, - {
- "source": "source",
- "target": "target"
}
], - "authoritySubfields": [
- null,
- null
], - "id": 0,
- "validation": {
- "existence": [
- {
- "key": true
}, - {
- "key": true
}
]
}, - "authorityField": "authorityField"
}
Retrieve links suggestions for marc records
authoritySearchParameter | string (AuthoritySearchParameter) Default: "NATURAL_ID" Enum: "ID" "NATURAL_ID" Authority field to search by |
ignoreAutoLinkingEnabled | boolean Default: false Indicates if we need to ignore autoLinkingEnabled flag when filtering the fields for suggestions |
Array of objects (parsedRecordContent) List of records content | |||||
Array
|
{- "records": [
- {
- "leader": "leader",
- "fields": [
- {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}, - {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}
]
}, - {
- "leader": "leader",
- "fields": [
- {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}, - {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}
]
}
]
}
{- "records": [
- {
- "leader": "leader",
- "fields": [
- {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}, - {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}
]
}, - {
- "leader": "leader",
- "fields": [
- {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}, - {
- "key": {
- "ind2": "ind2",
- "ind1": "ind1",
- "subfields": [
- {
- "key": "subfields"
}, - {
- "key": "subfields"
}
], - "linkDetails": {
- "authorityId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
- "errorCause": "errorCause",
- "authorityNaturalId": "authorityNaturalId",
- "status": "ACTUAL",
- "linkingRuleId": 0
}
}
}
]
}
]
}