foliolib.folio.api.gobi.Gobi

class foliolib.folio.api.gobi.Gobi(tenant: str, okapi: Optional[foliolib.okapi.okapiClient.OkapiClient] = None)

Bases: foliolib.folio.FolioApi

GOBI® (Global Online Bibliographic Information) Integration

GOBI® (Global Online Bibliographic Information) is the leading web-based

acquisitions tool for finding, ordering and managing e-books and print books for libraries. This module allows GOBI initiated orders to be fulfilled by FOLIO.

Parameters
  • tenant (str) – Tenant id

  • okapi (OkapiClient, optional) – Instance of OkapiClient. Defaults to None.

Methods

get_validates()

Validates the user has proper access to the module

set_order(order)

Fulfill an order that is delivered in GOBI format

set_validate()

Validates the user has proper access to the module

get_validates()

Validates the user has proper access to the module

GET /gobi/validate

Raises
  • OkapiRequestUnauthorized – Authentication is required

  • OkapiRequestForbidden – Forbidden

  • OkapiFatalError – Server Error

set_order(order: str)

Fulfill an order that is delivered in GOBI format

POST /gobi/orders

Parameters

order (str) – See Schema below

Raises
  • OkapiRequestError – Bad Request

  • OkapiRequestUnauthorized – Authentication is required

  • OkapiRequestForbidden – Forbidden

  • OkapiFatalError – Server Error

Schema

string
set_validate()

Validates the user has proper access to the module

POST /gobi/validate

Raises
  • OkapiRequestUnauthorized – Authentication is required

  • OkapiRequestForbidden – Forbidden

  • OkapiFatalError – Server Error