FOLIO Licenses API

The Licenses API from FOLIO — 5 operation(s) for licenses.

Operations 8

GET /licenses/licenses Get a set of license records #
POST /licenses/licenses Create license record #
GET /licenses/licenses/{licenseId} Get a specified license record #
PUT /licenses/licenses/{licenseId} Update license record #
DELETE /licenses/licenses/{licenseId} Delete a specified license record #
GET /licenses/licenses/{licenseId}/linkedAgreements Get subscription agreements linked to a specified license #
POST /licenses/licenses/{licenseId}/clone Clone a specified license record #
POST /licenses/licenses/compareTerms Compare license terms #

Documentation

📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-caiasoft/s/edge-caiasoft.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-courses/s/edge-courses.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-dcb/s/edge-dcb.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-dematic/s/edge-dematic.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-erm/s/edge-erm.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-fqm/s/edge-fqm.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-ill/s/edge-ill.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-inn-reach/s/edge-inn-reach.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-inventory/s/edge-inventory.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-rtac/s/edge-rtac.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/edge-users/s/edge-users.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/folio-query-tool-metadata/s/queryTool.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/folio-spring-support/s/tenant.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/folio-vertx-lib/s/tenant-2.0.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mgr-applications/s/am.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mgr-tenant-entitlements/s/mgr-tenant-entitlements.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mgr-tenants/s/mgr-tenants.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-agreements/s/agreements.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-authtoken/s/token-1.0.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-batch-print/s/batchPrint.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-bulk-operations/s/bulk-operations.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-calendar/s/calendar.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-camunda/s/openapi.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-circulation-bff/s/circulationBff.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-circulation-item/s/circulation-item.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/consortia.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/consortia_configuration.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/kafka_message_schemas.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/publications.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/self.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/sharing_instances.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/sharing_policies.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/sharing_roles.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/sharing_settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/tenants.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia-keycloak/s/user_tenants.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/consortia.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/consortia_configuration.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/kafka_message_schemas.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/publications.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/self.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/sharing_instances.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/sharing_settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/tenants.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-consortia/s/user_tenants.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-spring/s/export-configs.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-spring/s/job-deletion-intervals.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-spring/s/jobs.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/authority-control.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/bursar-export.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/circulation-log.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/e-holdings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/email.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/order-export.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export-worker/s/refresh-presigned-url.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-data-export/s/data-export.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-dcb/s/dcb_transaction.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-ebsconet/s/ebsconet.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-entities-links/s/mod-entities-links.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-entities-links/s/tenant-settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-eusage-reports/s/eusage-reports-1.0.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-fqm-manager/s/mod-fqm-manager.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-inn-reach/s/circulation.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-inn-reach/s/contribution.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-inn-reach/s/settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-inventory-update/s/inventory-import-1.0.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-inventory-update/s/inventory-update-5.0.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-licenses/s/licenses.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-linked-data-import/s/mod-linked-data-import.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-linked-data/s/mod-linked-data.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-lists/s/list.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-locations/s/mod-locations.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-login-keycloak/s/mod-login-keycloak.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-marc-migrations/s/marc-migrations.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-mosaic/s/mosaic.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-notes/s/notes.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-oa/s/oa.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-okapi-facade/s/okapi-facade.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-password-validator/s/password-validator.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-password-validator/s/validator-registry.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-quick-marc/s/marc-specifications.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-quick-marc/s/records-editor.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-reading-room/s/patron_permission.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-reading-room/s/reading_room.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-record-specifications/s/mod-record-specifications.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-remote-storage/s/remote-storage.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-requests-mediated/s/requests-mediated.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-roles-keycloak/s/mod-roles-keycloak.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-rtac-cache/s/mod-rtac-cache.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-scheduler/s/mod-scheduler.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-search/s/mod-search.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-serials-management/s/serials-management.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-settings/s/settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tags/s/tags.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/allowed-service-points.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/ecs-loans.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/ecs-request-external.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/ecs-tlr.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/staff-slips.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-tlr/s/tlr-settings.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-users-keycloak/s/users-keycloak.html
📖
Documentation
https://s3.amazonaws.com/foliodocs/api/mod-workflow/s/openapi.html

Specifications

SDKs

📦
GitHubRepository
https://github.com/folio-org/edge-caiasoft
📦
GitHubRepository
https://github.com/folio-org/edge-courses
📦
GitHubRepository
https://github.com/folio-org/edge-dcb
📦
GitHubRepository
https://github.com/folio-org/edge-dematic
📦
GitHubRepository
https://github.com/folio-org/edge-erm
📦
GitHubRepository
https://github.com/folio-org/edge-fqm
📦
GitHubRepository
https://github.com/folio-org/edge-ill
📦
GitHubRepository
https://github.com/folio-org/edge-inn-reach
📦
GitHubRepository
https://github.com/folio-org/edge-inventory
📦
GitHubRepository
https://github.com/folio-org/edge-rtac
📦
GitHubRepository
https://github.com/folio-org/edge-users
📦
GitHubRepository
https://github.com/folio-org/folio-query-tool-metadata
📦
GitHubRepository
https://github.com/folio-org/folio-spring-support
📦
GitHubRepository
https://github.com/folio-org/folio-vertx-lib
📦
GitHubRepository
https://github.com/folio-org/mgr-applications
📦
GitHubRepository
https://github.com/folio-org/mgr-tenant-entitlements
📦
GitHubRepository
https://github.com/folio-org/mgr-tenants
📦
GitHubRepository
https://github.com/folio-org/mod-agreements
📦
GitHubRepository
https://github.com/folio-org/mod-authtoken
📦
GitHubRepository
https://github.com/folio-org/mod-batch-print
📦
GitHubRepository
https://github.com/folio-org/mod-bulk-operations
📦
GitHubRepository
https://github.com/folio-org/mod-calendar
📦
GitHubRepository
https://github.com/folio-org/mod-camunda
📦
GitHubRepository
https://github.com/folio-org/mod-circulation-bff
📦
GitHubRepository
https://github.com/folio-org/mod-circulation-item
📦
GitHubRepository
https://github.com/folio-org/mod-consortia-keycloak
📦
GitHubRepository
https://github.com/folio-org/mod-consortia
📦
GitHubRepository
https://github.com/folio-org/mod-data-export-spring
📦
GitHubRepository
https://github.com/folio-org/mod-data-export-worker
📦
GitHubRepository
https://github.com/folio-org/mod-data-export
📦
GitHubRepository
https://github.com/folio-org/mod-dcb
📦
GitHubRepository
https://github.com/folio-org/mod-ebsconet
📦
GitHubRepository
https://github.com/folio-org/mod-entities-links
📦
GitHubRepository
https://github.com/folio-org/mod-eusage-reports
📦
GitHubRepository
https://github.com/folio-org/mod-fqm-manager
📦
GitHubRepository
https://github.com/folio-org/mod-inn-reach
📦
GitHubRepository
https://github.com/folio-org/mod-inventory-update
📦
GitHubRepository
https://github.com/folio-org/mod-licenses
📦
GitHubRepository
https://github.com/folio-org/mod-linked-data-import
📦
GitHubRepository
https://github.com/folio-org/mod-linked-data
📦
GitHubRepository
https://github.com/folio-org/mod-lists
📦
GitHubRepository
https://github.com/folio-org/mod-locations
📦
GitHubRepository
https://github.com/folio-org/mod-login-keycloak
📦
GitHubRepository
https://github.com/folio-org/mod-marc-migrations
📦
GitHubRepository
https://github.com/folio-org/mod-mosaic
📦
GitHubRepository
https://github.com/folio-org/mod-notes
📦
GitHubRepository
https://github.com/folio-org/mod-oa
📦
GitHubRepository
https://github.com/folio-org/mod-okapi-facade
📦
GitHubRepository
https://github.com/folio-org/mod-password-validator
📦
GitHubRepository
https://github.com/folio-org/mod-quick-marc
📦
GitHubRepository
https://github.com/folio-org/mod-reading-room
📦
GitHubRepository
https://github.com/folio-org/mod-record-specifications
📦
GitHubRepository
https://github.com/folio-org/mod-remote-storage
📦
GitHubRepository
https://github.com/folio-org/mod-requests-mediated
📦
GitHubRepository
https://github.com/folio-org/mod-roles-keycloak
📦
GitHubRepository
https://github.com/folio-org/mod-rtac-cache
📦
GitHubRepository
https://github.com/folio-org/mod-scheduler
📦
GitHubRepository
https://github.com/folio-org/mod-search
📦
GitHubRepository
https://github.com/folio-org/mod-serials-management
📦
GitHubRepository
https://github.com/folio-org/mod-settings
📦
GitHubRepository
https://github.com/folio-org/mod-tags
📦
GitHubRepository
https://github.com/folio-org/mod-tlr
📦
GitHubRepository
https://github.com/folio-org/mod-users-keycloak
📦
GitHubRepository
https://github.com/folio-org/mod-workflow

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-accession-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-return-item-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-instructors-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-asr-requests-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-asr-items-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-update-asr-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-license-terms-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-license-terms-batch-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-request-ids-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-entity-type-summaries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-test-document-delivery-offer-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-test-document-delivery-register-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-access-token-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-batch-holdings-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-rtac-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-instance-holdings-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-userdata-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-user-results-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-patron-pin-with-id-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-entity-type-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-query-details-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-custom-entity-type-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-contents-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-submit-query-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-update-used-by-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-tenant-attributes-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-tenant-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-descriptor-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-cleanup-result-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-descriptors-validation-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-module-discoveries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-discoveries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-descriptors-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-flow-stage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-application-flow-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-flow-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-module-reinstall-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-extended-entitlements-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-desired-state-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-tenant-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-tenant-attribute-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-tenants-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-export-entry-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-agreement-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-dashboard-widget-definition-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-kb-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-erm-resource-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-persistent-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-token-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-sign-token-payload-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-sign-refresh-token-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-refresh-token-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-token-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-token-response-legacy-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-message-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-entry-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-entries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-message-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-bulk-operation-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-profile-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-calendar-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-calendar-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-surrounding-openings-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-single-day-opening-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-workflow-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-link-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-response-errors-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-circulation-loan-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-mediated-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-check-in-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-bff-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-check-out-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-circulation-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-circulation-items-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-export-config-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-export-config-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-mapping-profile-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-export-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-job-profile-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-quick-export-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-file-definition-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-export-all-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-setting-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-settings-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-ebsconet-order-line-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-validation-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-authority-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-authority-source-file-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-authority-stats-dto-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-parsed-record-content-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-authority-source-file-dto-collection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-authority-note-type-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-report-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-report-cost-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-report-status-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-title-data-entries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-report-titles-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-report-data-entries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-purged-queries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-data-refresh-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-query-status-summaries-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-paging-slips-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-transaction-hold-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-local-hold-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-item-shipped-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-inn-reach-transaction-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-base-circ-request-dto-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-failed-record-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-channel-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-import-job-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-transformation-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-transformation-step-association-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-step-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-license-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-policies-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/folio/refs/heads/main/json-schema/folio-custom-property-definition-schema.json

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/folio:folio-licenses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

folio-licenses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Folio Licenses API
  version: 7.3.0
  contact:
    name: Knowledge Integration
    url: https://www.k-int.com
  description: 'Operations tagged Licenses across 2 of this provider''s published API definitions: folio-mod-licenses-openapi.json, folio-mod-licenses-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://folio-snapshot-okapi.dev.folio.org
- url: https://folio-snapshot-2-okapi.dev.folio.org
- url: https://folio-etesting-snapshot-kong.ci.folio.org
security:
- accessToken: []
- okapiToken: []
tags:
- name: Licenses
paths:
  /licenses/licenses:
    description: Supports search and creation of Licenses
    parameters:
    - $ref: '#/components/parameters/x-okapi-tenant'
    get:
      tags:
      - Licenses
      summary: Get a set of license records
      operationId: getLicenses
      parameters:
      - $ref: '#/components/parameters/filters'
      - $ref: '#/components/parameters/match'
      - $ref: '#/components/parameters/term'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/stats'
      - $ref: '#/components/parameters/perPage'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/LicenseResults'
                - $ref: '#/components/schemas/LicenseResultsArray'
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    post:
      tags:
      - Licenses
      summary: Create license record
      operationId: postLicense
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/License'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/License'
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    servers:
    - url: https://folio-snapshot-okapi.dev.folio.org
    - url: https://folio-snapshot-2-okapi.dev.folio.org
    - url: https://folio-etesting-snapshot-kong.ci.folio.org
  /licenses/licenses/{licenseId}:
    get:
      tags:
      - Licenses
      summary: Get a specified license record
      operationId: getLicense
      parameters:
      - $ref: '#/components/parameters/licenseId'
      - $ref: '#/components/parameters/x-okapi-tenant'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/License'
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    put:
      tags:
      - Licenses
      summary: Update license record
      operationId: putLicense
      parameters:
      - $ref: '#/components/parameters/licenseId'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/License'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/License'
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found error
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    delete:
      tags:
      - Licenses
      summary: Delete a specified license record
      operationId: deleteLicense
      parameters:
      - $ref: '#/components/parameters/licenseId'
      responses:
        '204':
          description: No content
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    servers:
    - url: https://folio-snapshot-okapi.dev.folio.org
    - url: https://folio-snapshot-2-okapi.dev.folio.org
    - url: https://folio-etesting-snapshot-kong.ci.folio.org
  /licenses/licenses/{licenseId}/linkedAgreements:
    description: Proxies to the ERM module to retrieve subscription agreements linked to the specified license
    get:
      tags:
      - Licenses
      summary: Get subscription agreements linked to a specified license
      operationId: getLicenseLinkedAgreements
      parameters:
      - $ref: '#/components/parameters/licenseId'
      - $ref: '#/components/parameters/x-okapi-tenant'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                description: A list of subscription agreements linked to the license
                items:
                  type: object
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    servers:
    - url: https://folio-snapshot-okapi.dev.folio.org
    - url: https://folio-snapshot-2-okapi.dev.folio.org
    - url: https://folio-etesting-snapshot-kong.ci.folio.org
  /licenses/licenses/{licenseId}/clone:
    post:
      tags:
      - Licenses
      summary: Clone a specified license record
      operationId: postLicenseClone
      parameters:
      - $ref: '#/components/parameters/licenseId'
      - $ref: '#/components/parameters/x-okapi-tenant'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              description: Flags indicating which groups of fields, or individual fields, to copy onto the cloned license. Each key is either a group name (copies every field in that group) or one of the individual field names, set to true to copy it.
              properties:
                licenseInfo:
                  type: boolean
                  description: 'Group: copy name, type, description and status'
                internalContacts:
                  type: boolean
                  description: 'Group: copy contacts'
                organizations:
                  type: boolean
                  description: 'Group: copy orgs'
                coreDocs:
                  type: boolean
                  description: 'Group: copy docs'
                terms:
                  type: boolean
                  description: 'Group: copy customProperties'
                licenseDateInfo:
                  type: boolean
                  description: 'Group: copy endDateSemantics, startDate and endDate'
                name:
                  type: boolean
                  description: Copy the license name
                type:
                  type: boolean
                  description: Copy the license type
                description:
                  type: boolean
                  description: Copy the license description
                status:
                  type: boolean
                  description: Copy the license status
                contacts:
                  type: boolean
                  description: Copy internal contacts
                orgs:
                  type: boolean
                  description: Copy organizations
                docs:
                  type: boolean
                  description: Copy documents
                customProperties:
                  type: boolean
                  description: Copy custom properties (terms)
                endDateSemantics:
                  type: boolean
                  description: Copy end date semantics
                startDate:
                  type: boolean
                  description: Copy the start date
                endDate:
                  type: boolean
                  description: Copy the end date
                supplementaryDocs:
                  type: boolean
                  description: Copy supplementary documents
              additionalProperties:
                type: boolean
                description: Any other single field name on the license, set to true to copy it
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/License'
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found error
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    servers:
    - url: https://folio-snapshot-okapi.dev.folio.org
    - url: https://folio-snapshot-2-okapi.dev.folio.org
    - url: https://folio-etesting-snapshot-kong.ci.folio.org
  /licenses/licenses/compareTerms:
    post:
      tags:
      - Licenses
      summary: Compare license terms
      description: Streams a CSV comparing selected fields and custom properties (terms) across a set of specified licenses. Always writes a header row; a data row is only written for licenses matched by `ids`.
      operationId: postLicensesCompareTerms
      parameters:
      - $ref: '#/components/parameters/x-okapi-tenant'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  description: UUIDs of the licenses to include in the comparison
                  items:
                    type: string
                    format: uuid
                include:
                  type: object
                  description: Which columns to output. Set a license property name to `true` to output it as a column, or use the special key `customProperties` to select terms. Any other single-value field name on the license is also accepted, set to `true`.
                  properties:
                    id:
                      type: boolean
                      description: Include the license id column
                    name:
                      type: boolean
                      description: Include the license name column
                    description:
                      type: boolean
                      description: Include the license description column
                    status:
                      type: boolean
                      description: Include the license status column
                    startDate:
                      type: boolean
                      description: Include the license start date column
                    endDate:
                      type: boolean
                      description: Include the license end date column
                    endDateSemantics:
                      type: boolean
                      description: Include the license end date semantics column
                    openEnded:
                      type: boolean
                      description: Include the derived open-ended flag column
                    type:
                      type: boolean
                      description: Include the license type column
                    localReference:
                      type: boolean
                      description: Include the license local reference column
                    dateCreated:
                      type: boolean
                      description: Include the record creation date column
                    lastUpdated:
                      type: boolean
                      description: Include the record last-updated date column
                    customProperties:
                      type: object
                      description: Map of custom property (term) name to `true`, to include that term. For each included term, the parts selected in `terms` are each output as a separate column.
                      additionalProperties:
                        type: boolean
                  additionalProperties:
                    type: boolean
                    description: Any other single-value license field name, set to `true` to include it as a column. Collection-valued fields (e.g. `tags`, `docs`, `contacts`, `orgs`) are not rejected, but render poorly since each row is joined from the raw object's string form rather than a meaningful value.
                terms:
                  type: object
                  description: Which parts of each custom property named in `include.customProperties` to output as columns.
                  properties:
                    value:
                      type: boolean
                      description: Include the term's value column
                    internal:
                      type: boolean
                      description: Include the term's internal note column
                    note:
                      type: boolean
                      description: Include the term's note column
                    publicNote:
                      type: boolean
                      description: Include the term's public note column
      responses:
        '200':
          description: 'OK. CSV body, one row per matched license, columns per the `include` and `terms` selections above. The response has a `Content-Disposition: attachment; filename=export.csv` header.'
          content:
            text/csv:
              schema:
                type: string
        '400':
          description: Bad request error
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GrailsErrorResponse'
    servers:
    - url: https://folio-snapshot-okapi.dev.folio.org
    - url: https://folio-snapshot-2-okapi.dev.folio.org
    - url: https://folio-etesting-snapshot-kong.ci.folio.org
components:
  schemas:
    LicenseResults:
      type: object
      required:
      - results
      allOf:
      - $ref: '#/components/schemas/ResultsMeta'
      - type: object
      - properties:
          results:
            $ref: '#/components/schemas/LicenseResultsArray'
    AlternateName:
      type: object
      required:
      - id
      - name
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
        owner:
          type: object
          properties:
            id:
              type: string
              format: uuid
          readOnly: true
          description: License that owns the alternate name
    GrailsErrorResponse:
      type: object
      description: Error-handler body for an uncaught exception raised during request processing. `exception` and `stackTrace` usually suppressed in production systems
      required:
      - error
      - timestamp
      - message
      properties:
        error:
          type: integer
          description: HTTP status code
        timestamp:
          type: string
          format: date-time
        message:
          type: string
        exception:
          type: string
          description: Exception class and message.
        stackTrace:
          type: array
          items:
            type: string
    CustomPropertyValue:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          readOnly: true
        internal:
          type: boolean
        note:
          type: string
        publicNote:
          type: string
        value:
          oneOf:
          - type: string
          - type: integer
          - $ref: '#/components/schemas/RefData'
        type:
          $ref: '#/components/schemas/CustomPropertyDefinition'
    LicenseResultsArray:
      type: array
      items:
        $ref: '#/components/schemas/License'
    ValidationErrorResponse:
      description: 'Validation error body returned when a create/update request fails domain-object validation. Shape depends on the number of errors: a single ValidationError when there is exactly one, otherwise a wrapper with a count and an embedded array.'
      oneOf:
      - $ref: '#/components/schemas/ValidationError'
      - type: object
        required:
        - total
        - _embedded
        properties:
          total:
            type: integer
          _embedded:
            type: object
            properties:
              errors:
                type: array
                items:
                  $ref: '#/components/schemas/ValidationError'
    InternalContact:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          readOnly: true
        owner:
          type: object
          properties:
            id:
              type: string
              format: uuid
          readOnly: true
          description: License that owns the contact
        user:
          type: string
          format: uuid
        role:
          description: The contact's role in relation to the license
          oneOf:
          - type: string
          - $ref: '#/components/schemas/RefData'
    RefData:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          readOnly: true
        label:
          type: string
        value:
          type: string
        owner:
          $ref: '#/components/schemas/RefDataCategory'
    RefDataCategory:
      type: object
      required:
      - id
      properties:
        desc:
          type: string
        id:
          type: string
          readOnly: true
        internal:
          type: boolean
        values:
          type: array
          items:
            $ref: '#/components/schemas/RefData'
    LicenseOrg:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        owner:
          type: object
          properties:
            id:
              type: string
              format: uuid
          readOnly: true
          description: License that owns the organisation
        org:
          $ref: '#/components/schemas/Organisation'
        primaryOrg:
          type: boolean
          description: Whether this is the primary organisation for the license
          default: false
        note:
          type: string
          description: A note about this organisation's relationship to the license
        roles:
          type: array
          description: The roles this organisation plays in relation to the license
          items:
            type: object
            required:
            - id
            - role
            properties:
              id:
                type: string
                format: uuid
                readOnly: true
              owner:
                $ref: '#/components/schemas/LicenseOrg'
                readOnly: true
              role:
                description: The role (e.g. Licensor)
                oneOf:
                - type: string
                - $ref: '#/components/schemas/RefData'
              note:
                type: string
    License:
      allOf:
      - $ref: '#/components/schemas/LicenseCore'
      - type: object
        properties:
          type:
            description: The license type (e.g. Local, Consortial, National, Alliance)
            oneOf:
            - type: string
            - $ref: '#/components/schemas/RefData'
          localReference:
            type: string
            description: A local reference identifier for the license
          alternateNames:
            type: array
            description: Alternative names for the license
            items:
              $ref: '#/components/schemas/AlternateName'
          orgs:
            type: array
            description: Organisations associated with the license
            items:
              $ref: '#/components/schemas/LicenseOrg'
          amendments:
            type: array
            description: Amendments to the license, sorted by start date descending
            items:
              $ref: '#/components/schemas/LicenseAmendment'
    DocumentAttachment:
      type: object
      required:
      - id
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
        note:
          type: string
        url:
          type: string
          format: uri
        dateCreated:
          type: string
          format: date-time
          readOnly: true
        lastUpdated:
          type: string
          format: date-time
          readOnly: true
    ResultsMeta:
      type: object
      properties:
        meta:
          type: object
        page:
          type: integer
        pageSize:
          type: integer
        total:
          type: integer
        totalPages:
          type: integer
        totalRecords:
          type: integer
    CustomPropertyDefinition:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        label:
          type: string
        description:
          type: string
        primary:
          type: boolean
        defaultInternal:
          type: boolean
        retired:
          type: boolean
        weight:
          type: integer
        type:
          type: string
          description: Java class name indicating the property type (e.g. CustomPropertyInteger, CustomPropertyText, CustomPropertyRefdata)
        category:
          $ref: '#/components/schemas/RefDataCategory'
    LicenseAmendment:
      allOf:
      - $ref: '#/components/schemas/LicenseCore'
    LicenseCore:
      type: object
      required:
      - id
      - name
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Unique identifier
        name:
          type: string
          description: The name of the license or amendment
        description:
          type: string
          description: A description of the license or amendment
        status:
          description: The status (e.g. In negotiation, Not yet active, Active, Rejected, Expired)
          oneOf:
          - type: string
          - $ref: '#/components/schemas/RefData'
        startDate:
          type: string
          format: date
          description: The date on which the license or amendment becomes active
        endDate:
          type: string
          format: date
          description: The date on which the license or amendment expires
        endDateSemantics:
          description: How the end date should be interpreted (e.g. Explicit, Open ended, Implicit)
          oneOf:
          - type: string
          - $ref: '#/components/schemas/RefData'
        openEnded:
          type: boolean
          description: Derived flag indicating whether the license or amendment is open-ended
        dateCreated:
          type: string
          format: date-time
          readOnly: true
          description: The date and time the record was created
        lastUpdated:
          type: string
          format: date-time
          readOnly: true
          description: The date and time the record was last updated
        tags:
          type: array
          description: Tags applied to the license or amendment
          items:
            $ref: '#/components/schemas/Tag'
        docs:
          type: array
          description: Documents attached to the license or amendment
          items:
            $ref: '#/components/schemas/DocumentAttachment'
        supplementaryDocs:
          type: array
          description: Supplementary documents attached to the license or amendment
          items:
            $ref: '#/components/schemas/DocumentAttachment'
        contacts:
          type: array
          description: Internal contacts associated with the license or amendment
          items:
            $ref: '#/components/schemas/InternalContact'
        customProperties:
          type: object
          description: Custom properties (license terms) — keys are property names, values are arrays of property value instances
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/CustomPropertyValue'
    ValidationError:
      type: object
      required:
      - message
      - path
      - _links
      properties:
        message:
          type: string
        path:
          type: string
        _links:
          type: object
          required:
          - self
          properties:
            self:
              type: object
              required:
              - href
              properties:
                href:
                  type: string
                  format: uri
    Tag:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          readOnly: true
        value:
          type: string
        normValue:
          type: string
    Organisation:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        orgsUuid:
          type: string
          format: uuid
        orgsUuid_object:
          type: object
  parameters:
    filters:
      in: query
      name: filters
      required: false
      schema:
        type: string
    licenseId:
      in: path
      name: licenseId
      description: UUID for a license
      required: true
      schema:
        type: string
        format: uuid
    sort:
      in: query
      name: sort
      required: false
      schema:
        type: string
    page:
      in: query
      name: page
      required: false
      schema:
        type: integer
    perPage:
      in: query
      name: perPage
      required: false
      schema:
        type: integer
    x-okapi-tenant:
      in: header
      name: x-okapi-tenant
      required: true
      schema:
        type: string
    offset:
      in: query
      name: offset
      required: false
      schema:
        type: integer
    term:
      in: query
      name: term
      required: false
      schema:
        type: string
    stats:
      in: query
      name: stats
      required: false
      schema:
        type: boolean
    match:
      in: query
      name: match
      required: false
      schema:
        type: string
  securitySchemes:
    okapiToken:
      type: apiKey
      in: header
      name: x-okapi-token
    accessToken:
      type: apiKey
      in: cookie
      name: folioAccessToken
x-refined-from:
- folio-mod-licenses-openapi.json
- folio-mod-licenses-openapi.yml