Rules about MARC Tag validation

Get validation rules for marc tags

GET /api/.../sysadmin/{orgID}/profiles/marc/ValidationRules/{marcFormatType}

Returns all validation rules for orgId and marc format

Request Information

Parameters
Name Type Required Description
orgID Integer Yes Filter by organization Id.
marcFormatType String Yes Return marc validation rules based on format ex. Bibliographic

Response Information

Example
application/json, text/json
 [
  {
    "MARCTagDefinitionID": 1,
    "TagNumber": 0,
    "MARCRecordFormatID": 1,
    "OrganizationID": 1,
    "MARCLabel": "Leader",
    "MARCDescription": "A fixed field that comprises the first 24 character positions (00-23) of each record and provides information for the processing of the record. ",
    "UserDefinedLabel": "Leader",
    "ValidateFlag": true,
    "ObsoleteFlag": false,
    "RepeatableFlag": false,
    "RequiredFlag": true,
    "LocallyDefinedFlag": false,
    "ModifiedFlag": true,
    "SortOrder": 0,
    "UserNotes": ""
  },
  {
    "MARCTagDefinitionID": 2,
    "TagNumber": 1,
    "MARCRecordFormatID": 1,
    "OrganizationID": 1,
    "MARCLabel": "Control Number",
    "MARCDescription": "The control number assigned by the organization creating, using, or distributing the record. The MARC code for the organization is contained in field 003 (Control Number Identifier).",
    "UserDefinedLabel": "Control Number",
    "ValidateFlag": true,
    "ObsoleteFlag": false,
    "RepeatableFlag": false,
    "RequiredFlag": false,
    "LocallyDefinedFlag": false,
    "ModifiedFlag": false,
    "SortOrder": 1,
    "UserNotes": null
  }
]
    

HTTP Response Codes

Code Description
200 OK. Success
400 Bad request
404 Invalid organization ID