...
"data":{ "collectionId": 1, "customerId":1000, "mergeTerms":true, "tbxUpload": , "deleteTermsLastTouchedOlderThan": "2018-05-01", "deleteTermsOlderThanCurrentImport": true, "deleteProposalsLastTouchedOlderThan": 2018-05-01", "deleteProposalsOlderThanCurrentImport" : true } |
Details for the resource parameters: collectionIdThe id of the term collection where those terms from the tbx file are going to customerIdCustomer to that this term collection is associated mergeTerms
This is extended: If a term a term already exists in the TermCollection and should be merged with the imported term, it is checked, if the term already exists in other termEntries of the same TermCollection as well The merging of terms into an existing term collection is controlled by this boolean parameter. The merge process is complex and completely described here. If yes: The term is not merged and not imported, but an import error is recorded and the import continues with the next termEntry (the entire termEntry of this term is skipped). After the import is finished, all import errors are shown in the GUI / passed back via API. tbxUpload tbx file/files uploaded as multipart/form-data deleteTermsLastTouchedOlderThan (date format Y-m-d)Deletes all terms in all listed termCollections, that have a updated date older than the date configured for "deleteTermsLastTouchedOlderThan". Every term in a termCollection has a creation date, a modification date and an updated dated. The creation date and the modification date are taken from the dates as they appear in the TBX file. deleteTermsOlderThanCurrentImport (boolean)Deletes all terms in all listed termCollections, that have an "updated date" older than the start of the current import. To learn, what the "updated date" is, please read above possible values: true or false. deleteProposalsLastTouchedOlderThan (date format Y-m-d)Delete all proposals in a listed termCollections, that have a creation date older than this configs value. deleteProposalsOlderThanCurrentImport (boolean)Delete all proposals in a listed termCollections, that have a creation date older than the start of the current import. Important: with the import call, one or multiple tbx files must be provided. |
...