Get titles with links to KB. The response contains facets response with facet type "status" and counts for values "matched", "ignored", "unmatched. The resulting set can be limited by parameter query (CQL) as well as counterReportId and providerId (these are NOT part of CQL). The CQL query itself supports fields "cql.allRecords", "id", "counterReportTitle", "ISBN", "printISSN", "onlineISSN", "kbTitleId" and "kbManualMatch".
facets | string facet names. Each facet is separted by comma. |
limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
query | string CQL query |
offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
counterReportId | string limit titles associated with counter report (UUID) |
providerId | string limit titles associated with usage provider (UUID) |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "titles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "counterReportTitle": "string",
- "kbTitleName": "string",
- "kbTitleId": "738c445c-8928-4796-a18c-e35e24a5ae55",
- "kbManualMatch": true,
- "printISSN": "string",
- "onlineISSN": "string",
- "ISBN": "string",
- "DOI": "string",
- "publicationType": "string"
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}
POST titles with links to KB
facets | string facet names. Each facet is separted by comma. |
limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
query | string CQL query |
offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
counterReportId | string limit titles associated with counter report (UUID) |
providerId | string limit titles associated with usage provider (UUID) |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
required | Array of objects (reportTitle) List of titles | ||||||||||||||||||||
Array
| |||||||||||||||||||||
object (resultInfo) Common result set information for streaming response | |||||||||||||||||||||
|
{- "titles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "counterReportTitle": "string",
- "kbTitleName": "string",
- "kbTitleId": "738c445c-8928-4796-a18c-e35e24a5ae55",
- "kbManualMatch": true,
- "printISSN": "string",
- "onlineISSN": "string",
- "ISBN": "string",
- "DOI": "string",
- "publicationType": "string"
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}
Get KB title - package relationship.
offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
query | string CQL query |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "packages": [
- {
- "kbPackageId": "bb9c91b2-7086-482e-97b6-74b9aaacd1e6",
- "kbPackageName": "string",
- "kbTitleId": "738c445c-8928-4796-a18c-e35e24a5ae55"
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}
Parse counter reports
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
counterReportId | string <uuid> Counter report identifier |
providerId | string Counter reports with given usage data provider ID |
{- "counterReportId": "e75de439-3144-4399-a13b-7df6393ebf21",
- "providerId": "string"
}
{ }
Get counter report title data.
offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
query | string CQL query |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "titleEntryId": "9c03ed21-8e46-4fe1-b392-e7b33ac646a6",
- "counterReportId": "e75de439-3144-4399-a13b-7df6393ebf21",
- "counterReportTitle": "string",
- "providerId": "4834bcdc-4a64-444d-966b-1a6fe381da24",
- "publicationDate": "string",
- "usageYearMonth": "string",
- "uniqueAccessCount": 0,
- "totalAccessCount": 0,
- "openAccess": true
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}
This returns data for parsed agreements.
offset | integer >= 0 Default: 0 Skip over number of elements (default is first element) |
limit | integer >= 0 Default: 10 Limit the number of elements returned in the response |
query | string CQL query |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kbTitleId": "738c445c-8928-4796-a18c-e35e24a5ae55",
- "kbPackageId": "bb9c91b2-7086-482e-97b6-74b9aaacd1e6",
- "type": "string",
- "agreementId": "79458f91-82b5-4c38-a886-56df6a6b7980",
- "agreementLineId": "7bf65c54-bf83-490e-aefa-86f59d916b7d",
- "poLineId": "eccc2576-f05d-4b0a-a74a-6137db00671b",
- "encumberedCost": 0,
- "invoicedCost": 0,
- "fiscalYearRange": "string",
- "subscriptionDateRange": "string",
- "coverageDateRanges": "string",
- "orderType": "One-Time",
- "invoiceNumber": "string",
- "poLineNumber": "string"
}
], - "resultInfo": {
- "totalRecords": 0,
- "diagnostics": [
- {
- "message": "string"
}
], - "facets": [
- {
- "facetValues": [
- {
- "count": 0,
- "value": null
}
], - "type": "string"
}
]
}
}
Parse agreements and populate report data
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
agreementId | string <uuid> Agreement Identifier |
{- "agreementId": "79458f91-82b5-4c38-a886-56df6a6b7980"
}
{- "reportLinesCreated": 0
}
Return usage data over time, where usageDateRange falls within startDate, endDate
accessCountPeriod | string^(\d+[YM])|(auto)$ Default: "auto" Group access according to this parameter. May be given in a number of months (nM) or in years (nY). The value "auto" makes it group as 1Y if startDate is given as YYYY; otherwise 1M. |
agreementId required | string <uuid> Agreement identifier |
csv | boolean Default: false whether to return CSV response with details. |
startDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: startDate=2019-04 first year for year reporting, or first month for month reporting |
endDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: endDate=2019-06 last year for year reporting, or last month for month reporting |
format | string^(BOOK|JOURNAL|ALL)$ item format type |
includeOA | boolean Default: false whether to include Open Access material |
full | boolean Default: true whether to return full response or brief (summary) response |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "agreementId": "20000000-0000-4000-8000-000000000000",
- "accessCountPeriods": [
- "2020-01",
- "2020-02",
- "2020-03",
- "2020-04",
- "2020-05",
- "2020-06"
], - "totalItemRequestsTotal": 996,
- "totalItemRequestsByPeriod": [
- 190,
- 436,
- 102,
- 169,
- 99,
- null
], - "uniqueItemRequestsTotal": 447,
- "uniqueItemRequestsByPeriod": [
- 81,
- 207,
- 41,
- 64,
- 38,
- 59
], - "items": [
- {
- "kbId": "21000000-0000-4000-8000-000000000000",
- "title": "Journal A",
- "printISSN": "1111-2222",
- "onlineISSN": "1111-1223",
- "accessType": "Controlled",
- "metricType": "Total_Item_Requests",
- "accessCountTotal": 577,
- "accessCountsByPeriod": [
- 190,
- 264,
- 61,
- 10,
- 52,
- null
]
}, - {
- "kbId": "21000000-0000-4000-8000-000000000000",
- "title": "Journal A",
- "printISSN": "1111-2222",
- "onlineISSN": "1111-1223",
- "accessType": "Controlled",
- "metricType": "Unique_Item_Requests",
- "accessCountTotal": 298,
- "accessCountsByPeriod": [
- 81,
- 142,
- 32,
- 4,
- 21,
- 18
]
}, - {
- "kbId": "22000000-0000-4000-8000-000000000000",
- "title": "Journal B",
- "printISSN": "2222-3333",
- "onlineISSN": "2222-2334",
- "accessType": "Controlled",
- "metricType": "Total_Item_Requests",
- "accessCountTotal": 419,
- "accessCountsByPeriod": [
- 0,
- 172,
- 41,
- 159,
- 47,
- null
]
}, - {
- "kbId": "22000000-0000-4000-8000-000000000000",
- "title": "Journal B",
- "printISSN": "2222-3333",
- "onlineISSN": "2222-2334",
- "accessType": "Controlled",
- "metricType": "Unique_Item_Requests",
- "accessCountTotal": 149,
- "accessCountsByPeriod": [
- 0,
- 63,
- 9,
- 60,
- 17,
- 41
]
}
]
}
Return requests by date of use; this is like use over time but additionally groups by publication year.
accessCountPeriod | string^(\d+[YM])|(auto)$ Default: "auto" Group access according to this parameter. May be given in a number of months (nM) or in years (nY). The value "auto" makes it group as 1Y if startDate is given as YYYY; otherwise 1M. |
agreementId required | string <uuid> Agreement identifier |
csv | boolean Default: false whether to return CSV response with details. |
startDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: startDate=2019-04 first year for year reporting, or first month for month reporting |
endDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: endDate=2019-06 last year for year reporting, or last month for month reporting |
format | string^(BOOK|JOURNAL|ALL)$ item format type |
includeOA | boolean Default: false whether to include Open Access material |
yopInterval | string^(\d+[YM])|(auto)$ Default: "auto" a number of months or years for grouping publication dates |
full | boolean Default: true whether to return full response or brief (summary) response |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "agreementId": "string",
- "accessCountPeriods": [
- "string"
], - "totalItemRequestsTotal": 0,
- "totalItemRequestsByPeriod": [
- 0
], - "totalRequestsPublicationYearsByPeriod": [
- { }
], - "totalRequestsPeriodsOfUseByPeriod": [
- { }
], - "uniqueItemRequestsTotal": 0,
- "uniqueItemRequestsByPeriod": [
- 0
], - "uniqueRequestsPublicationYearsByPeriod": [
- { }
], - "uniqueRequestsPeriodsOfUseByPeriod": [
- { }
], - "items": [
- {
- "kbId": "string",
- "title": "string",
- "printISSN": "string",
- "onlineISSN": "string",
- "ISBN": "string",
- "publicationYear": "string",
- "periodOfUse": "string",
- "accessType": "string",
- "metricType": "Total_Item_Requests",
- "accessCountTotal": 0,
- "accessCountsByPeriod": [
- 0
]
}
], - "execution": { }
}
Return requests by publication year where usageDateRange falls within startDate, endDate. Grouping controlled by periodOfUse. "accessCountPeriods" array lists the publication years to be used as column labels for numbers in the "totalItemRequestsByPeriod", "uniqueItemRequestsByPeriod" and "accessCountsByPeriod" arrays.
accessCountPeriod | string^(\d+[YM])|(auto)$ Default: "auto" Group access according to this parameter. May be given in a number of months (nM) or in years (nY). The value "auto" makes it group as 1Y if startDate is given as YYYY; otherwise 1M. |
agreementId required | string <uuid> Agreement identifier |
csv | boolean Default: false whether to return CSV response with details. |
startDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: startDate=2019-04 first year for year reporting, or first month for month reporting |
endDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: endDate=2019-06 last year for year reporting, or last month for month reporting |
format | string^(BOOK|JOURNAL|ALL)$ item format type |
includeOA | boolean Default: false whether to include Open Access material |
periodOfUse required | string^\d+[YM]$ a number of months or years for grouping |
full | boolean Default: true whether to return full response or brief (summary) response |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "agreementId": "string",
- "accessCountPeriods": [
- "string"
], - "totalItemRequestsTotal": 0,
- "totalItemRequestsByPeriod": [
- 0
], - "totalRequestsPublicationYearsByPeriod": [
- { }
], - "totalRequestsPeriodsOfUseByPeriod": [
- { }
], - "uniqueItemRequestsTotal": 0,
- "uniqueItemRequestsByPeriod": [
- 0
], - "uniqueRequestsPublicationYearsByPeriod": [
- { }
], - "uniqueRequestsPeriodsOfUseByPeriod": [
- { }
], - "items": [
- {
- "kbId": "string",
- "title": "string",
- "printISSN": "string",
- "onlineISSN": "string",
- "ISBN": "string",
- "publicationYear": "string",
- "periodOfUse": "string",
- "accessType": "string",
- "metricType": "Total_Item_Requests",
- "accessCountTotal": 0,
- "accessCountsByPeriod": [
- 0
]
}
], - "execution": { }
}
Return cost per where usageDateRange falls within startDate, endDate. The report is structured in periods, typically months, and the cost-per-use in a period is invoiced amount divided by download count (unique or total) and further divided in number of periods where any title has downloads. This way the cost for download is divided into periods (with non-zero use) and then evenly divided across titles within those periods. Consider agreement that has two titles, titleA and titleB where titleA has downloads in May and June. titleB has downloads in June only. In May, the title count is 1. In June, the title count is 2. The total periods where any title occurs is p = 2+1 = 3. Cost per download for titleA in May is (paidAmount/p) / downloads(TitleA,May) and in June (paidAmount/p) / downloads(TitleA,June). Cost per download for titleB in June is paidAmount/p / downloads(TitleB,June).
accessCountPeriod | string^(\d+[YM])|(auto)$ Default: "auto" Group access according to this parameter. May be given in a number of months (nM) or in years (nY). The value "auto" makes it group as 1Y if startDate is given as YYYY; otherwise 1M. |
agreementId required | string <uuid> Agreement identifier |
csv | boolean Default: false whether to return CSV response with details. |
startDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: startDate=2019-04 first year for year reporting, or first month for month reporting |
endDate required | string^[12]\d\d\d(-0[1-9]|-1[012])?$ Example: endDate=2019-06 last year for year reporting, or last month for month reporting |
format | string^(BOOK|JOURNAL|ALL)$ item format type |
includeOA | boolean Default: false whether to include Open Access material |
full | boolean Default: true whether to return full response or brief (summary) response |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "accessCountPeriods": [
- "string"
], - "amountEncumeredTotal": 0,
- "amountPaidTotal": 0,
- "costByPeriod": [
- 0
], - "items": [
- {
- "kbId": "string",
- "title": "string",
- "derivedTitle": true,
- "printISSN": "string",
- "onlineISSN": "string",
- "ISBN": "string",
- "orderType": "One-Time",
- "poLineIDs": [
- "string"
], - "invoiceNumbers": [
- "string"
], - "fiscalDateStart": "string",
- "fiscalDateEnd": "string",
- "subscriptionDateStart": "string",
- "subscriptionDateEnd": "string",
- "publicationYear": "string",
- "amountEncumbered": 0,
- "amountPaid": 0,
- "totalItemRequests": 0,
- "uniqueItemRequests": 0,
- "costPerTotalRequest": 0,
- "costPerUniqueRequest": 0
}
], - "titleCountByPeriod": [
- 0
], - "totalItemRequestsByPeriod": [
- 0
], - "totalItemCostsPerRequestsByPeriod": [
- 0
], - "uniqueItemRequestsByPeriod": [
- 0
], - "uniqueItemCostsPerRequestsByPeriod": [
- 0
], - "execution": { }
}
Return status of operation associated with identifier.
id required | string <uuid> agreement identifier |
X-Okapi-Tenant | string Okapi Tenant |
X-Okapi-Token | string Okapi Token |
X-Okapi-Url | string Okapi URL |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "lastUpdated": "string",
- "active": true
}