foliolib.folio.api.rtac.Rtac
- class foliolib.folio.api.rtac.Rtac(tenant: str)
Bases:
foliolib.folio.FolioApiDEPRECATED Real Time Availability Checker Integration
This module allows 3rd party discovery services to check for FOLIO inventory availability
Base class of the Folio API
- Parameters
tenant (str) – Tenant id
Methods
get_rtac(rtacId)Retrieve rtac item with given {rtacId}
- get_rtac(rtacId: str)
Retrieve rtac item with given {rtacId}
GET /rtac/{rtacId}- Parameters
rtacId (str) –
- Returns
See Schema below
- Return type
dict
- Raises
OkapiRequestUnauthorized – Authentication is required
OkapiRequestNotFound – Not Found
OkapiRequestFatalError – Server Error
OkapiRequestError – Bad Request
OkapiRequestForbidden – Forbidden
Schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "additionalProperties": false, "javaType": "org.folio.rest.jaxrs.model.LegacyHoldings", "description": "Collection of holdings", "properties": { "holdings": { "description": "Collection of holdings", "type": "array", "items": { "type": "object", "$ref": "holding.json" } } }, "required": [ "holdings" ] }