Get import configuration records
| offset | string result set start row |
| limit | string result set max rows |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "importConfigs": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "url": "string",
- "allowErrors": true,
- "recordLimit": 0,
- "transformationId": "string",
- "storageId": "string"
}
]
}Create import configuration
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the configuration. |
| name | string A name for the configuration. |
| type | string DEPRECATED They type of import job, only bulk XML supported. |
| url | string OBSOLETE, IGNORED The URL(s) used for retrieving the source records. |
| allowErrors | boolean OBSOLETE, IGNORED. |
| recordLimit | integer NOT IMPLEMENTED. |
| transformationId | string UUID referencing the transformation pipeline to use. |
| storageId | string OBSOLETE, IGNORED. Storage is always present FOLIO inventory. |
{- "id": "string",
- "name": "string",
- "type": "string",
- "url": "string",
- "allowErrors": true,
- "recordLimit": 0,
- "transformationId": "string",
- "storageId": "string"
}{- "id": "string",
- "name": "string",
- "type": "string",
- "url": "string",
- "allowErrors": true,
- "recordLimit": 0,
- "transformationId": "string",
- "storageId": "string"
}Get import configuration record
| id required | string Import configuration identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "id": "string",
- "name": "string",
- "type": "string",
- "url": "string",
- "allowErrors": true,
- "recordLimit": 0,
- "transformationId": "string",
- "storageId": "string"
}Update an import configuration
| id required | string Import configuration identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the configuration. |
| name | string A name for the configuration. |
| type | string DEPRECATED They type of import job, only bulk XML supported. |
| url | string OBSOLETE, IGNORED The URL(s) used for retrieving the source records. |
| allowErrors | boolean OBSOLETE, IGNORED. |
| recordLimit | integer NOT IMPLEMENTED. |
| transformationId | string UUID referencing the transformation pipeline to use. |
| storageId | string OBSOLETE, IGNORED. Storage is always present FOLIO inventory. |
{- "id": "string",
- "name": "string",
- "type": "string",
- "url": "string",
- "allowErrors": true,
- "recordLimit": 0,
- "transformationId": "string",
- "storageId": "string"
}Load XML document using given import configuration
| id required | string Import configuration identifier (UUID) |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
start verticle for given config ID that listens for incoming source records
| id required | string Import configuration identifier (UUID) |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
Create job log samples for test purposes etc, for example by import from another FOLIO instance.
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the import job report. |
| importConfigName | string The name of the import configuration at the time of logging the import job. |
| importConfigId | string UUID referencing the import configuration that defined the import job run. |
| importType | string Type of import job (obsolete, always bulk XML). |
| recordLimit | integer Not supported. Would indicates the limit -- if any -- on the maximum number of records to load according to the configuration. |
| transformation | string Then name for the transformation pipeline used for the job. |
| status | string The intermittent state of final outcome of the job. |
| started | string Timestamp when the job started. |
| finished | string Timestamp when the job ended. |
| amountHarvested | integer The number of incoming records processed. |
| message | string A description of the outcome of the import. |
{- "id": "string",
- "importConfigName": "string",
- "importConfigId": "string",
- "importType": "string",
- "recordLimit": 0,
- "transformation": "string",
- "status": "string",
- "started": "string",
- "finished": "string",
- "amountHarvested": 0,
- "message": "string"
}{- "id": "string",
- "importConfigName": "string",
- "importConfigId": "string",
- "importType": "string",
- "recordLimit": 0,
- "transformation": "string",
- "status": "string",
- "started": "string",
- "finished": "string",
- "amountHarvested": 0,
- "message": "string"
}Retrieves list of past import jobs
| offset | integer result set start row |
| limit | integer result set max rows |
| from | string date range start parameter on finished date |
| until | string date range end parameter on finished date |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "importJobs": [
- {
- "id": "string",
- "importConfigName": "string",
- "importConfigId": "string",
- "importType": "string",
- "recordLimit": 0,
- "transformation": "string",
- "status": "string",
- "started": "string",
- "finished": "string",
- "amountHarvested": 0,
- "message": "string"
}
]
}Retrieves details of a previous import job
| id required | string <uuid> Import job identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "id": "string",
- "importConfigName": "string",
- "importConfigId": "string",
- "importType": "string",
- "recordLimit": 0,
- "transformation": "string",
- "status": "string",
- "started": "string",
- "finished": "string",
- "amountHarvested": 0,
- "message": "string"
}For importing job logs from another source.
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
Array of objects (logLine) Collection of Log4J log statements. | |||||||||||
Array
| |||||||||||
{- "logLines": [
- {
- "id": "string",
- "importJobId": "string",
- "timeStamp": "string",
- "jobLabel": "string",
- "line": "string"
}
]
}Retrieves the failed records of an import job
| id required | string <uuid> Import job identifier |
| from | string date range parameter on error report timestamp |
| until | string date range parameter on error report timestamp |
| offset | integer result set start row |
| limit | integer result set max rows |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "failedRecords": [
- {
- "id": "string",
- "importJobId": "string",
- "importConfigId": "string",
- "importConfigName": "string",
- "recordErrors": [
- {
- "error": {
- "label": "string",
- "typeOfError": { },
- "typeOfRecord": "string",
- "transaction": "string",
- "message": { },
- "entity": { }
}
}
], - "originalRecord": "string",
- "transformedRecord": { },
- "timeStamp": "string",
- "recordNumber": "string"
}
]
}Create failed record samples without running a job, for example to import from another FOLIO instance.
| id required | string <uuid> Import job identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
Array of objects (failedRecord) Array of failed record reports | |||||||||||||||
Array
| |||||||||||||||
{- "failedRecords": [
- {
- "id": "string",
- "importJobId": "string",
- "recordErrors": [
- {
- "error": {
- "label": "string",
- "typeOfError": { },
- "typeOfRecord": "string",
- "transaction": "string",
- "message": { },
- "entity": { }
}
}
], - "originalRecord": "string",
- "transformedRecord": { },
- "timeStamp": "string",
- "recordNumber": "string"
}
]
}Get step records
| offset | string result set start row |
| limit | string result set max rows |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "steps": [
- {
- "id": "string",
- "name": "string",
- "enabled": false,
- "description": "string",
- "type": "XmlTransformStep",
- "inputFormat": "string",
- "outputFormat": "string",
- "script": "string"
}
]
}Create step
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the transformation step. |
| name required | string A name assigned to the transformation step. |
| enabled | boolean Default: false Indicates if this step is available to be used in a transformation pipeline. |
| description | string Free text details about the step. |
| type | string Enum: "XmlTransformStep" "CustomTransformStep" The type of transformation step. |
| inputFormat | string Free-text indication of the format of input data to the step. |
| outputFormat | string Free-text indication of the format of the resulting output from the step. |
| script | string The transformation script (XSLT) of the step. |
| property name* additional property | any |
{- "id": "string",
- "name": "string",
- "enabled": false,
- "description": "string",
- "type": "XmlTransformStep",
- "inputFormat": "string",
- "outputFormat": "string",
- "script": "string"
}{- "id": "string",
- "name": "string",
- "enabled": false,
- "description": "string",
- "type": "XmlTransformStep",
- "inputFormat": "string",
- "outputFormat": "string",
- "script": "string"
}Get detailed transformation step definition record
| id required | string Step identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "id": "string",
- "name": "string",
- "enabled": false,
- "description": "string",
- "type": "XmlTransformStep",
- "inputFormat": "string",
- "outputFormat": "string",
- "script": "string"
}Update a transformation step definition
| id required | string Step identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the transformation step. |
| name required | string A name assigned to the transformation step. |
| enabled | boolean Default: false Indicates if this step is available to be used in a transformation pipeline. |
| description | string Free text details about the step. |
| type | string Enum: "XmlTransformStep" "CustomTransformStep" The type of transformation step. |
| inputFormat | string Free-text indication of the format of input data to the step. |
| outputFormat | string Free-text indication of the format of the resulting output from the step. |
| script | string The transformation script (XSLT) of the step. |
| property name* additional property | any |
{- "id": "string",
- "name": "string",
- "enabled": false,
- "description": "string",
- "type": "XmlTransformStep",
- "inputFormat": "string",
- "outputFormat": "string",
- "script": "string"
}Get transformation definitions
| offset | integer result set start row |
| limit | integer result set max rows |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "transformations": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}
]
}Create transformation pipeline
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the transformation pipeline. | ||||
| name | string Name of the transformation pipeline. | ||||
| description | string Free-text details about the pipeline. | ||||
| enabled | string Enum: "true" "false" "Indicates if the transformation pipeline can be used by import jobs." | ||||
Array of objects The transformation steps making up this pipeline, in order of execution. | |||||
Array
| |||||
{- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}Get transformation pipeline record
| id required | string Transformation pipeline identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}Update a transformation pipeline
| id required | string Transformation pipeline identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the transformation pipeline. | ||||
| name | string Name of the transformation pipeline. | ||||
| description | string Free-text details about the pipeline. | ||||
| enabled | string Enum: "true" "false" "Indicates if the transformation pipeline can be used by import jobs." | ||||
Array of objects The transformation steps making up this pipeline, in order of execution. | |||||
Array
| |||||
{- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "description": "string",
- "enabled": "true",
- "steps": [
- {
- "id": "string",
- "name": "string"
}
]
}Get transformation step associations
| offset | integer result set start row |
| limit | integer result set max rows |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "transformationSteps": [
- {
- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}
]
}Create new transformation step association
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the association. | ||||||
| stepId required | string UUID referencing a transformation step. | ||||||
| transformationId required | string UUID referencing a transformation pipeline. | ||||||
| position required | string The position of the step amongst other steps in the pipeline. | ||||||
object DEPRECATED, legacy Harvester schema for identifying step | |||||||
| |||||||
| transformation | string DEPRECATED, legacy Harvester schema for identifying transformation pipeline. | ||||||
{- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}{- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}Get a transformation step association by ID
| id required | string Association identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
{- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}Update a transformation step association
| id required | string Association identifier |
| X-Okapi-Tenant | string Okapi Tenant |
| X-Okapi-Token | string Okapi Token |
| X-Okapi-Url | string Okapi URL |
| id | string Unique identifier (UUID) for the association. | ||||||
| stepId required | string UUID referencing a transformation step. | ||||||
| transformationId required | string UUID referencing a transformation pipeline. | ||||||
| position required | string The position of the step amongst other steps in the pipeline. | ||||||
object DEPRECATED, legacy Harvester schema for identifying step | |||||||
| |||||||
| transformation | string DEPRECATED, legacy Harvester schema for identifying transformation pipeline. | ||||||
{- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}{- "id": "string",
- "stepId": "string",
- "transformationId": "string",
- "position": "string",
- "step": {
- "id": "string",
- "name": "string"
}, - "transformation": "string"
}