Get a list of data export configurations
query | string A query string to filter rules based on matching criteria in fields. |
limit | integer Default: 10 Limit the number of elements returned in the response |
{- "configs": [
- {
- "id": "string",
- "type": "CIRCULATION_LOG",
- "tenant": "string",
- "exportTypeSpecificParameters": {
- "bursarFeeFines": {
- "filter": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "groupByPatron": true,
- "groupByPatronFilter": {
- "type": "Aggregate",
- "property": "NUM_ROWS",
- "amount": 0,
- "condition": "LESS_THAN_EQUAL"
}, - "header": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "data": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "footer": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "transferInfo": {
- "conditions": [
- {
- "condition": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
], - "else": {
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
}, - "vendorEdiOrdersExportConfig": {
- "exportConfigId": "435cb3a4-03b6-4647-9934-9c99bc385ae1",
- "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0",
- "configName": "string",
- "configDescription": "string",
- "ediConfig": {
- "accountNoList": [
- "string"
], - "defaultAcquisitionMethods": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ediNamingConvention": "string",
- "libEdiCode": "string",
- "libEdiType": "014/EAN",
- "vendorEdiCode": "string",
- "vendorEdiType": "014/EAN",
- "notes": "string",
- "sendAccountNumber": false,
- "supportOrder": false,
- "supportInvoice": false
}, - "ediFtp": {
- "ftpConnMode": "Active",
- "ftpFormat": "SFTP",
- "ftpMode": "ASCII",
- "ftpPort": 0,
- "invoiceDirectory": "string",
- "isPrimaryTransmissionMethod": true,
- "notes": "string",
- "orderDirectory": "string",
- "password": "string",
- "serverAddress": "string",
- "username": "string"
}, - "ediSchedule": {
- "enableScheduledExport": false,
- "scheduleParameters": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scheduleFrequency": 0,
- "schedulePeriod": "MONTH",
- "schedulingDate": "2019-08-24T14:15:22Z",
- "scheduleTime": "string",
- "scheduleDay": 0,
- "weekDays": [
- "MONDAY"
], - "timeZone": "UTC"
}, - "schedulingNotes": "string"
}, - "isDefaultConfig": false,
- "integrationType": "Ordering",
- "transmissionMethod": "FTP",
- "fileFormat": "CSV",
- "claimPieceIds": [
- "string"
]
}, - "query": "string",
- "eHoldingsExportConfig": {
- "recordId": "91525-1152699-659590",
- "recordType": "PACKAGE",
- "titleSearchFilters": "filter[name]=title&sort=name",
- "packageFields": [
- "string"
], - "titleFields": [
- "string"
]
}, - "authorityControlExportConfig": {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24"
}
}, - "scheduleFrequency": 0,
- "schedulePeriod": "WEEK",
- "scheduleTime": "string",
- "weekDays": [
- "MONDAY"
]
}
], - "totalRecords": 0
}
Add an export configuration
X-Okapi-Tenant required | string |
id | string | ||||||||||
type required | string (ExportType) Default: "BURSAR_FEES_FINES" Enum: "CIRCULATION_LOG" "BURSAR_FEES_FINES" "BATCH_VOUCHER_EXPORT" "EDIFACT_ORDERS_EXPORT" "CLAIMS" "ORDERS_EXPORT" "INVOICE_EXPORT" "BULK_EDIT_IDENTIFIERS" "BULK_EDIT_QUERY" "BULK_EDIT_UPDATE" "E_HOLDINGS" "AUTH_HEADINGS_UPDATES" "FAILED_LINKED_BIB_UPDATES" | ||||||||||
tenant | string Tenant id | ||||||||||
required | object (ExportTypeSpecificParameters) | ||||||||||
| |||||||||||
scheduleFrequency | integer Number of time periods | ||||||||||
schedulePeriod required | string Enum: "WEEK" "DAY" "HOUR" "NONE" Time period for repeating job | ||||||||||
scheduleTime | string Time to run the job | ||||||||||
weekDays | Array of strings Items Enum: "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY" "SUNDAY" Day of week to run the job |
{- "id": "string",
- "type": "CIRCULATION_LOG",
- "tenant": "string",
- "exportTypeSpecificParameters": {
- "bursarFeeFines": {
- "filter": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "groupByPatron": true,
- "groupByPatronFilter": {
- "type": "Aggregate",
- "property": "NUM_ROWS",
- "amount": 0,
- "condition": "LESS_THAN_EQUAL"
}, - "header": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "data": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "footer": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "transferInfo": {
- "conditions": [
- {
- "condition": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
], - "else": {
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
}, - "vendorEdiOrdersExportConfig": {
- "exportConfigId": "435cb3a4-03b6-4647-9934-9c99bc385ae1",
- "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0",
- "configName": "string",
- "configDescription": "string",
- "ediConfig": {
- "accountNoList": [
- "string"
], - "defaultAcquisitionMethods": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ediNamingConvention": "string",
- "libEdiCode": "string",
- "libEdiType": "014/EAN",
- "vendorEdiCode": "string",
- "vendorEdiType": "014/EAN",
- "notes": "string",
- "sendAccountNumber": false,
- "supportOrder": false,
- "supportInvoice": false
}, - "ediFtp": {
- "ftpConnMode": "Active",
- "ftpFormat": "SFTP",
- "ftpMode": "ASCII",
- "ftpPort": 0,
- "invoiceDirectory": "string",
- "isPrimaryTransmissionMethod": true,
- "notes": "string",
- "orderDirectory": "string",
- "password": "string",
- "serverAddress": "string",
- "username": "string"
}, - "ediSchedule": {
- "enableScheduledExport": false,
- "scheduleParameters": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scheduleFrequency": 0,
- "schedulePeriod": "MONTH",
- "schedulingDate": "2019-08-24T14:15:22Z",
- "scheduleTime": "string",
- "scheduleDay": 0,
- "weekDays": [
- "MONDAY"
], - "timeZone": "UTC"
}, - "schedulingNotes": "string"
}, - "isDefaultConfig": false,
- "integrationType": "Ordering",
- "transmissionMethod": "FTP",
- "fileFormat": "CSV",
- "claimPieceIds": [
- "string"
]
}, - "query": "string",
- "eHoldingsExportConfig": {
- "recordId": "91525-1152699-659590",
- "recordType": "PACKAGE",
- "titleSearchFilters": "filter[name]=title&sort=name",
- "packageFields": [
- "string"
], - "titleFields": [
- "string"
]
}, - "authorityControlExportConfig": {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24"
}
}, - "scheduleFrequency": 0,
- "schedulePeriod": "WEEK",
- "scheduleTime": "string",
- "weekDays": [
- "MONDAY"
]
}
{- "value": {
- "$ref": "../../../../folio-export-common/examples/errors.sample"
}
}
Get a export configuration by the export configuration ID
id required | string UUID of the export configuration |
{- "id": "string",
- "type": "CIRCULATION_LOG",
- "tenant": "string",
- "exportTypeSpecificParameters": {
- "bursarFeeFines": {
- "filter": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "groupByPatron": true,
- "groupByPatronFilter": {
- "type": "Aggregate",
- "property": "NUM_ROWS",
- "amount": 0,
- "condition": "LESS_THAN_EQUAL"
}, - "header": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "data": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "footer": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "transferInfo": {
- "conditions": [
- {
- "condition": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
], - "else": {
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
}, - "vendorEdiOrdersExportConfig": {
- "exportConfigId": "435cb3a4-03b6-4647-9934-9c99bc385ae1",
- "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0",
- "configName": "string",
- "configDescription": "string",
- "ediConfig": {
- "accountNoList": [
- "string"
], - "defaultAcquisitionMethods": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ediNamingConvention": "string",
- "libEdiCode": "string",
- "libEdiType": "014/EAN",
- "vendorEdiCode": "string",
- "vendorEdiType": "014/EAN",
- "notes": "string",
- "sendAccountNumber": false,
- "supportOrder": false,
- "supportInvoice": false
}, - "ediFtp": {
- "ftpConnMode": "Active",
- "ftpFormat": "SFTP",
- "ftpMode": "ASCII",
- "ftpPort": 0,
- "invoiceDirectory": "string",
- "isPrimaryTransmissionMethod": true,
- "notes": "string",
- "orderDirectory": "string",
- "password": "string",
- "serverAddress": "string",
- "username": "string"
}, - "ediSchedule": {
- "enableScheduledExport": false,
- "scheduleParameters": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scheduleFrequency": 0,
- "schedulePeriod": "MONTH",
- "schedulingDate": "2019-08-24T14:15:22Z",
- "scheduleTime": "string",
- "scheduleDay": 0,
- "weekDays": [
- "MONDAY"
], - "timeZone": "UTC"
}, - "schedulingNotes": "string"
}, - "isDefaultConfig": false,
- "integrationType": "Ordering",
- "transmissionMethod": "FTP",
- "fileFormat": "CSV",
- "claimPieceIds": [
- "string"
]
}, - "query": "string",
- "eHoldingsExportConfig": {
- "recordId": "91525-1152699-659590",
- "recordType": "PACKAGE",
- "titleSearchFilters": "filter[name]=title&sort=name",
- "packageFields": [
- "string"
], - "titleFields": [
- "string"
]
}, - "authorityControlExportConfig": {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24"
}
}, - "scheduleFrequency": 0,
- "schedulePeriod": "WEEK",
- "scheduleTime": "string",
- "weekDays": [
- "MONDAY"
]
}
Change an export configuration
id required | string |
X-Okapi-Tenant required | string |
id | string | ||||||||||
type required | string (ExportType) Default: "BURSAR_FEES_FINES" Enum: "CIRCULATION_LOG" "BURSAR_FEES_FINES" "BATCH_VOUCHER_EXPORT" "EDIFACT_ORDERS_EXPORT" "CLAIMS" "ORDERS_EXPORT" "INVOICE_EXPORT" "BULK_EDIT_IDENTIFIERS" "BULK_EDIT_QUERY" "BULK_EDIT_UPDATE" "E_HOLDINGS" "AUTH_HEADINGS_UPDATES" "FAILED_LINKED_BIB_UPDATES" | ||||||||||
tenant | string Tenant id | ||||||||||
required | object (ExportTypeSpecificParameters) | ||||||||||
| |||||||||||
scheduleFrequency | integer Number of time periods | ||||||||||
schedulePeriod required | string Enum: "WEEK" "DAY" "HOUR" "NONE" Time period for repeating job | ||||||||||
scheduleTime | string Time to run the job | ||||||||||
weekDays | Array of strings Items Enum: "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY" "SUNDAY" Day of week to run the job |
{- "id": "string",
- "type": "CIRCULATION_LOG",
- "tenant": "string",
- "exportTypeSpecificParameters": {
- "bursarFeeFines": {
- "filter": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "groupByPatron": true,
- "groupByPatronFilter": {
- "type": "Aggregate",
- "property": "NUM_ROWS",
- "amount": 0,
- "condition": "LESS_THAN_EQUAL"
}, - "header": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "data": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "footer": [
- {
- "type": "Aggregate",
- "value": "NUM_ROWS",
- "decimal": true,
- "lengthControl": {
- "character": "s",
- "length": 0,
- "direction": "FRONT",
- "truncate": true
}
}
], - "transferInfo": {
- "conditions": [
- {
- "condition": {
- "type": "Age",
- "numDays": 1,
- "condition": "LESS_THAN_EQUAL"
}, - "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
], - "else": {
- "account": "f5b54a51-a98c-44cf-bb68-a676332e7d12"
}
}
}, - "vendorEdiOrdersExportConfig": {
- "exportConfigId": "435cb3a4-03b6-4647-9934-9c99bc385ae1",
- "vendorId": "e9b57fab-1850-44d4-8499-71fd15c845a0",
- "configName": "string",
- "configDescription": "string",
- "ediConfig": {
- "accountNoList": [
- "string"
], - "defaultAcquisitionMethods": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "ediNamingConvention": "string",
- "libEdiCode": "string",
- "libEdiType": "014/EAN",
- "vendorEdiCode": "string",
- "vendorEdiType": "014/EAN",
- "notes": "string",
- "sendAccountNumber": false,
- "supportOrder": false,
- "supportInvoice": false
}, - "ediFtp": {
- "ftpConnMode": "Active",
- "ftpFormat": "SFTP",
- "ftpMode": "ASCII",
- "ftpPort": 0,
- "invoiceDirectory": "string",
- "isPrimaryTransmissionMethod": true,
- "notes": "string",
- "orderDirectory": "string",
- "password": "string",
- "serverAddress": "string",
- "username": "string"
}, - "ediSchedule": {
- "enableScheduledExport": false,
- "scheduleParameters": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "scheduleFrequency": 0,
- "schedulePeriod": "MONTH",
- "schedulingDate": "2019-08-24T14:15:22Z",
- "scheduleTime": "string",
- "scheduleDay": 0,
- "weekDays": [
- "MONDAY"
], - "timeZone": "UTC"
}, - "schedulingNotes": "string"
}, - "isDefaultConfig": false,
- "integrationType": "Ordering",
- "transmissionMethod": "FTP",
- "fileFormat": "CSV",
- "claimPieceIds": [
- "string"
]
}, - "query": "string",
- "eHoldingsExportConfig": {
- "recordId": "91525-1152699-659590",
- "recordType": "PACKAGE",
- "titleSearchFilters": "filter[name]=title&sort=name",
- "packageFields": [
- "string"
], - "titleFields": [
- "string"
]
}, - "authorityControlExportConfig": {
- "fromDate": "2019-08-24",
- "toDate": "2019-08-24"
}
}, - "scheduleFrequency": 0,
- "schedulePeriod": "WEEK",
- "scheduleTime": "string",
- "weekDays": [
- "MONDAY"
]
}
{- "value": {
- "$ref": "../../../../folio-export-common/examples/errors.sample"
}
}