quickMARC Record Editor (1.1.0)

records-editor

getRecordByExternalId

Get MARC record by externalId

query Parameters
externalId
required
string <uuid> (UUID)

UUID of the external that is related to the MARC record

lang
string[a-zA-Z]{2}
Default: "en"

Requested language. Optional. [lang=en]

Responses

Response samples

Content type
application/json
{
  • "parsedRecordId": "string",
  • "parsedRecordDtoId": "string",
  • "suppressDiscovery": true,
  • "marcFormat": "BIBLIOGRAPHIC",
  • "externalId": "string",
  • "externalHrid": "in00001",
  • "leader": "01587ccm a2200361 4500",
  • "fields": [
    ],
  • "updateInfo": {
    }
}

<no summary>

Request Body schema: application/json
parsedRecordId
string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...
parsedRecordDtoId
required
string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...
suppressDiscovery
required
boolean
Default: false

Flag indicates if the record is displayed during a search

marcFormat
string (MARC Format Schema)
Enum: "BIBLIOGRAPHIC" "HOLDINGS"

MARC Format

externalId
required
string^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...
externalHrid
string

HRID of external entity

leader
required
string 24 characters

Leader record

required
Array of objects (MARC Field Schema) >= 3 items

MARC record fields

Responses

Request samples

Content type
application/json
{
  • "parsedRecordId": "string",
  • "parsedRecordDtoId": "string",
  • "suppressDiscovery": true,
  • "marcFormat": "BIBLIOGRAPHIC",
  • "externalId": "string",
  • "externalHrid": "in00001",
  • "leader": "01587ccm a2200361 4500",
  • "fields": [
    ]
}

Response samples

Content type
application/json
{
  • "qmRecordId": "c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1",
  • "instanceId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c",
  • "marcBibId": "55a76b7b-841d-45b9-9e64-d0827b9e2480",
  • "jobExecutionId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c",
  • "status": "CREATED",
  • "errorMessage": "Failed to create instance",
  • "metadata": {
    }
}

getRecordCreationStatus

Get status of MARC bibliographic record creation

query Parameters
qmRecordId
required
string <uuid> (UUID)

UUID of ParsedRecord to be created

Responses

Response samples

Content type
application/json
{
  • "qmRecordId": "c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1",
  • "instanceId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c",
  • "marcBibId": "55a76b7b-841d-45b9-9e64-d0827b9e2480",
  • "jobExecutionId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c",
  • "status": "CREATED",
  • "errorMessage": "Failed to create instance",
  • "metadata": {
    }
}