quickMARC Record Editor (6.0)

API for creating, editing, and managing MARC records in the quickMARC editor

records-editor

Operations for managing MARC records

Get MARC record by external ID

Retrieves a MARC record associated with the provided external entity UUID

query Parameters
externalId
required
string <uuid>
Example: externalId=b9a5f035-de63-4e2c-92c2-07240c89b817

UUID of the external entity that is related to the MARC record

Responses

Response samples

Content type
application/json
{
  • "parsedRecordId": "c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1",
  • "parsedRecordDtoId": "c56b70ce-4ef6-47ef-8bc3-c470bafa0b8c",
  • "externalId": "b9a5f035-de63-4e2c-92c2-07240c89b817",
  • "externalHrid": "in00000000001",
  • "marcFormat": "BIBLIOGRAPHIC",
  • "leader": "01587ccm a2200361 4500",
  • "fields": [
    ]
}

Create new MARC record

Creates a new MARC record with the provided data

Request Body schema: application/json
required

MARC record data to create

leader
required
string

MARC record's leader

required
Array of objects (fieldItem)

MARC record's fields

Array
tag
required
string^[0-9]{3}$

Field's tag

content
required
object

Field's content (string for control fields, object with subfields for data fields)

indicators
Array of strings [ 0 .. 2 ] items [ items = 1 characters ]

Field's indicators

object (linkDetails)

Link-related fields

suppressDiscovery
boolean
Default: false

Flag indicates if the record is displayed during a search

marcFormat
required
string (marcFormat)
Enum: "BIBLIOGRAPHIC" "HOLDINGS" "AUTHORITY"

MARC Format

sourceVersion
integer
Default: -1

Version of the source record

Responses

Request samples

Content type
application/json
{
  • "leader": "string",
  • "fields": [
    ],
  • "suppressDiscovery": false,
  • "marcFormat": "BIBLIOGRAPHIC",
  • "sourceVersion": 1
}

Response samples

Content type
application/json
{
  • "leader": "string",
  • "fields": [
    ],
  • "suppressDiscovery": false,
  • "marcFormat": "BIBLIOGRAPHIC",
  • "sourceVersion": 1,
  • "parsedRecordId": "941d5c40-a69b-4b32-ae80-33c0ab9d819f",
  • "parsedRecordDtoId": "afa9406a-498d-4f12-9077-2cd08aed49da",
  • "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
  • "externalHrid": "string",
  • "updateInfo": {
    }
}

Update MARC record

Updates an existing MARC record with the provided data

path Parameters
id
required
string <uuid>
Example: c9db5d7a-e1d4-11e8-9f32-f2801f1b9fd1

The UUID of the MARC record

Request Body schema: application/json
required

MARC record data to update

leader
required
string

MARC record's leader

required
Array of objects (fieldItem)

MARC record's fields

Array
tag
required
string^[0-9]{3}$

Field's tag

content
required
object

Field's content (string for control fields, object with subfields for data fields)

indicators
Array of strings [ 0 .. 2 ] items [ items = 1 characters ]

Field's indicators

object (linkDetails)

Link-related fields

suppressDiscovery
boolean
Default: false

Flag indicates if the record is displayed during a search

marcFormat
required
string (marcFormat)
Enum: "BIBLIOGRAPHIC" "HOLDINGS" "AUTHORITY"

MARC Format

sourceVersion
integer
Default: -1

Version of the source record

parsedRecordId
required
string <uuid>

MARC record Id

parsedRecordDtoId
required
string <uuid>

ParsedRecordDto identifier

externalId
required
string <uuid>

Identifier of external entity

externalHrid
required
string

HRID of external entity

Responses

Request samples

Content type
application/json
{
  • "leader": "string",
  • "fields": [
    ],
  • "suppressDiscovery": false,
  • "marcFormat": "BIBLIOGRAPHIC",
  • "sourceVersion": 1,
  • "parsedRecordId": "941d5c40-a69b-4b32-ae80-33c0ab9d819f",
  • "parsedRecordDtoId": "afa9406a-498d-4f12-9077-2cd08aed49da",
  • "externalId": "3200d382-adfe-4314-ab30-798cdd0fcdb5",
  • "externalHrid": "string"
}

Response samples

Content type
application/json
{
  • "message": "may not be null",
  • "type": "1",
  • "code": "-1",
  • "parameters": [
    ]
}

Validate MARC record

Validates a MARC record against defined rules and specifications

Request Body schema: application/json
required

MARC record data to validate

leader
string

MARC record's leader

Array of objects

MARC record's fields

Array
tag
string

Field's tag

content
object

Field's content

indicators
Array of strings

Field's indicators

marcFormat
required
string (marcFormat)
Enum: "BIBLIOGRAPHIC" "HOLDINGS" "AUTHORITY"

MARC Format

Responses

Request samples

Content type
application/json
{
  • "leader": "string",
  • "fields": [
    ],
  • "marcFormat": "BIBLIOGRAPHIC"
}

Response samples

Content type
application/json
{
  • "issues": [
    ]
}