Variable-length Fields (VarFields) Array

The varFields property contains an array of VarField objects that describe the variable-length field data found in a record. The available VarField objects depend upon the setup implemented by each organization. See Variable-length Fields in the Sierra WebHelp for a list of the standard variable-length fields commonly found on Innovative systems.

Retrieving variable-length fields is resource intensive and might prove impractical for harvesting large ranges of records.

Each VarField object can contain the following:

fieldTag

character

An Innovative variable-length field type tag.

Example:

"fieldTag": "a"

marcTag

string (optional)

A MARC tag, if present.

Example:

"marcTag": "100"

ind1

character (optional)

The first MARC indicator, if present.

Example:

"ind1": "1"

ind2

character (optional)

The second MARC indicator, if present.

Example:

"ind2": " "

content

string (optional)

The field content for varFields with no subfields. This field is for variable-length fields with no subfields.

Example:

"content": "00000nam  2200000   4500"

subfields

array

The subfield array contains a list of SubField objects, which contain the subfield codes and content. This field is for variable-length fields with subfields.

Example:

"subfields": [
  {
    "tag": "a",
    "content": "Patterson, James,"
  },
  {
    "tag": "d",
    "content": "1947-"
  }
]
Default Response Contents

Default query responses do not include all data for all record types. You must specify additional properties and lists using filter parameters. For example:

https://example-library.edu/iii/sierra-api/v6/bibs/1000002?fields=fixedFields,varFields

Returns the id property, fixedFields object, and varFields array for a single bibliographic record.

When you use the fields parameter, the API returns only the ID and specified properties. You can specify the value default to retrieve all default properties in addition to any explicitly specified properties, such as fixedFields. For example:

https://example-library.edu/iii/sierra-api/v6/bibs/1000002?fields=default,fixedFields,varFields

Returns the default properties plus the fixedFields object and varFields array for a single bibliographic record.