mod DCB FOLIO API
Create circulation request
| dcbTransactionId required | string |
DCB transaction object
object (DcbItem) Item metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPatron) Patron metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPickup) Pickup Location metadata required for the pickup service point | |||||||||||||||||
| |||||||||||||||||
| requestId | string ID of the existing circulation TLR | ||||||||||||||||
| selfBorrowing | boolean selfBorrowing flag for BORROWING_PICKUP role to allow patrons to request items from own library via DCB | ||||||||||||||||
| role | string Enum: "LENDER" "BORROWER" "PICKUP" "BORROWING-PICKUP" | ||||||||||||||||
{- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Update the details of a transaction
| dcbTransactionId required | string |
DCB transaction update object
object (DcbUpdateItem) Item metadata required for updating the existing transaction | |||||||
| |||||||
{- "item": {
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string"
}
}{- "message": "string",
- "type": "string",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}Get transaction status across circulation institutions
| dcbTransactionId required | string |
{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Update transaction status across circulation institutions
| dcbTransactionId required | string |
TransactionStatus object
| status | string Enum: "CREATED" "OPEN" "AWAITING_PICKUP" "ITEM_CHECKED_OUT" "ITEM_CHECKED_IN" "EXPIRED" "CLOSED" "CANCELLED" "ERROR" |
| message | string |
{- "status": "CREATED",
- "message": "string"
}{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Get a list of updated transactions between from date and to date with optional filtering and pagination
| fromDate required | string <date-time> Start date for filtering transactions |
| toDate required | string <date-time> End date for filtering transactions |
| pageNumber | integer [ 0 .. 2147483647 ] Default: 0 Page number for pagination (optional) |
| pageSize | integer [ 1 .. 2147483647 ] Default: 1000 Number of items per page (optional) |
{- "transactions": [
- {
- "id": "string",
- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}
], - "currentPageNumber": 0,
- "currentPageSize": 0,
- "maximumPageNumber": 0,
- "totalRecords": 0
}Increment the renew loan count and returned transaction status with renewal details
| dcbTransactionId required | string |
{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Set the renewal count for the item in DCB transaction to maximum allowed renewals
| dcbTransactionId required | string |
{- "message": "string",
- "type": "string",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}Set the renewal count for the item in DCB transaction to zero
| dcbTransactionId required | string |
{- "message": "string",
- "type": "string",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}Create transaction for existing circulation TLR
| ecsRequestTransactionId required | string |
DCB transaction object
object (DcbItem) Item metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPatron) Patron metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPickup) Pickup Location metadata required for the pickup service point | |||||||||||||||||
| |||||||||||||||||
| requestId | string ID of the existing circulation TLR | ||||||||||||||||
| selfBorrowing | boolean selfBorrowing flag for BORROWING_PICKUP role to allow patrons to request items from own library via DCB | ||||||||||||||||
| role | string Enum: "LENDER" "BORROWER" "PICKUP" "BORROWING-PICKUP" | ||||||||||||||||
{- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Update ECS request transaction
| ecsRequestTransactionId required | string |
DCB transaction object
object (DcbItem) Item metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPatron) Patron metadata required for the transaction | |||||||||||||||||
| |||||||||||||||||
object (DcbPickup) Pickup Location metadata required for the pickup service point | |||||||||||||||||
| |||||||||||||||||
| requestId | string ID of the existing circulation TLR | ||||||||||||||||
| selfBorrowing | boolean selfBorrowing flag for BORROWING_PICKUP role to allow patrons to request items from own library via DCB | ||||||||||||||||
| role | string Enum: "LENDER" "BORROWER" "PICKUP" "BORROWING-PICKUP" | ||||||||||||||||
{- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}{- "status": "CREATED",
- "message": "string",
- "item": {
- "id": "string",
- "title": "string",
- "barcode": "string",
- "materialType": "string",
- "lendingLibraryCode": "string",
- "locationCode": "string",
- "renewalInfo": {
- "renewalCount": 0,
- "renewalMaxCount": 0,
- "renewable": true
}, - "holdCount": 0
}, - "patron": {
- "id": "string",
- "group": "string",
- "barcode": "string",
- "localNames": "string"
}, - "pickup": {
- "libraryCode": "string",
- "servicePointId": "string",
- "servicePointName": "string"
}, - "requestId": "string",
- "selfBorrowing": true,
- "role": "LENDER"
}Refresh shadow location
DCB hub shadow location refresh request body
Array of objects (DcbAgency) | |||||||
Array
| |||||||
Array of objects (DcbLocation) | |||||||
Array
| |||||||
{- "agencies": [
- {
- "name": "string",
- "code": "string"
}
], - "locations": [
- {
- "name": "string",
- "code": "string",
- "agency": {
- "name": "string",
- "code": "string"
}
}
]
}{- "locations": [
- {
- "code": "string",
- "status": "SUCCESS",
- "cause": "string"
}
], - "location-units": {
- "institutions": [
- {
- "code": "string",
- "status": "SUCCESS",
- "cause": "string"
}
], - "campuses": [
- {
- "code": "string",
- "status": "SUCCESS",
- "cause": "string"
}
], - "libraries": [
- {
- "code": "string",
- "status": "SUCCESS",
- "cause": "string"
}
]
}
}Search DCB settings by CQL query with pagination
| query | string Default: "cql.allRecords=1" Example: query=role A query string to filter records based on matching criteria in fields. |
| limit | integer >= 0 Default: 50 Example: limit=100 Limit the number of elements returned in the response. |
| offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "mod-dcb",
- "key": "string",
- "value": { },
- "_version": 0,
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}
], - "totalRecords": 0
}Create DCB setting
DCB setting to create
| id required | string <uuid> Setting Identifier | ||||||||||||
| scope required | string (SettingScope) Value: "mod-dcb" Scope for this entry (normally a module) | ||||||||||||
| key required | string Key within scope for this setting | ||||||||||||
| value required | object Settings value (any type) | ||||||||||||
| _version | integer Record version for optimistic locking | ||||||||||||
object (Metadata Schema) Metadata about creation and changes to records, provided by the server (client should not provide) | |||||||||||||
| |||||||||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "mod-dcb",
- "key": "string",
- "value": { },
- "_version": 0,
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "mod-dcb",
- "key": "string",
- "value": { },
- "_version": 0,
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}Get DCB setting by id
| id required | string <uuid> Example: 1e111e76-1111-401c-ad8e-0d121a11111e Record identifier |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "mod-dcb",
- "key": "string",
- "value": { },
- "_version": 0,
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}Update DCB setting by id
| id required | string <uuid> Example: 1e111e76-1111-401c-ad8e-0d121a11111e Record identifier |
DCB setting to update
| id required | string <uuid> Setting Identifier | ||||||||||||
| scope required | string (SettingScope) Value: "mod-dcb" Scope for this entry (normally a module) | ||||||||||||
| key required | string Key within scope for this setting | ||||||||||||
| value required | object Settings value (any type) | ||||||||||||
| _version | integer Record version for optimistic locking | ||||||||||||
object (Metadata Schema) Metadata about creation and changes to records, provided by the server (client should not provide) | |||||||||||||
| |||||||||||||
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scope": "mod-dcb",
- "key": "string",
- "value": { },
- "_version": 0,
- "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "string",
- "createdByUsername": "string",
- "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "string",
- "updatedByUsername": "string"
}
}{- "message": "string",
- "type": "string",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}Delete DCB setting by id
| id required | string <uuid> Example: 1e111e76-1111-401c-ad8e-0d121a11111e Record identifier |
{- "message": "string",
- "type": "string",
- "code": "string",
- "parameters": [
- {
- "key": "string",
- "value": "string"
}
]
}