https://github.com/folio-org/mod-rtac
This module allows 3rd party discovery services to check for FOLIO inventory availability
DEPRECATED RTAC operations
Retrieve rtac item with given {rtacId}
GET /rtac/{id}
The UUID of a FOLIO instance
Returns item with a given ID
Media type: application/json
Type: json
Content:
{
"$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",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "RTAC Holding Schema",
"description": "Real Time Availability Check (RTAC) holding details",
"javaType": "org.folio.rest.jaxrs.model.LegacyHolding",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"description": "The FOLIO id of the holding (item)"
},
"location": {
"type": "string",
"description": "The location of the holding"
},
"callNumber": {
"type": "string",
"description": "The call number of the holding"
},
"status": {
"type": "string",
"description": "The availability status of the holding"
},
"dueDate": {
"type": "string",
"format": "date-time",
"description": "The date when the holding will be available"
},
"volume": {
"type": "string",
"description": "Volume details for the holding (item)"
}
},
"required": [
"id",
"location",
"callNumber",
"status"
]
}
}
},
"required": [
"holdings"
]
}
Example:
{
"holdings" : [
{
"id": "112ae2e4-88ae-4fa5-a75b-2379d2035e52",
"location": "Sample Library",
"callNumber": "123456",
"status": "On loan",
"dueDate": "2018-05-01T12:01:59Z"
}
]
}
Bad request
Media type: text/plain
Type: any
Example:
"unable to process request -- constraint violation"
Not authorized to perform requested action
Media type: text/plain
Type: any
Example:
unable to get retrieve rtac -- unauthorized
Access Denied
Media type: text/plain
Type: any
Example:
Access Denied
Item with a given ID not found
Media type: text/plain
Type: any
Example:
"rtac not found"
Internal server error, e.g. due to misconfiguration
Media type: text/plain
Type: any
Example:
internal server error, contact administrator