Import batch profiles endpoint RFC

From Koha Wiki
Jump to navigation Jump to search

Bugs


Actions and routes

General proposed routes.

Description Action Proposed path
List import batch profiles
 GET
 /import_batch_profiles
Create an import batch profile
 POST
 /import_batch_profiles
Overwrite an import batch profile
 PUT
 /import_batch_profiles/{profile_id}
Delete an import batch profile
 DELETE
 /import_batch_profiles/{profile_id}

Import batch profile object definition

DB schema Proposed API Details
id id_profile Internal profile identifier
name name name of this profile
matcher_id matcher_id the id of the match rule used (matchpoints.matcher_id)
template_id template_id the id of the marc modification template
overlay_action overlay_action how to handle duplicate records
nomatch_action nomatch_action how to handle records where no match is found
item_action item_action what to do with item records
parse_items parse_items should items be parsed
record_type record_type type of record in the batch
encoding encoding file encoding
format format marc format
comments comments any comments added when the file was uploaded}