Actions
Feature #7746
closedRest API Import
Start date:
25.01.2019
Due date:
22.02.2019
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
Vote:
Description
Using Forms to import any data¶
Why¶
Forms already check data and have mechanism to insert further things after save or check the existence of other records before save.
If it uses the same form as the user, there is also a good chance that the import mechanism won't get out of date.
How¶
- Using QFQ Element
- Defines Form to be used
- Defines REST API URL to be used (can be generated with SQL, if we want to trigger multiple API request in succession)
- Defines which JSON Element has to be input into which Form Element
- Does use the same API as the Javascript Client uses to pass data for save
- Prints error message and cancels if one entry can't be imported
- Option for force continue
- Logs errors
What¶
- Calls a REST API
- Receives and handles JSON according to FormElement Mapping
- Uses existing QFQ Code
Updated by Benjamin Baer over 5 years ago
- Due date set to 29.01.2019
- Assignee set to Carsten Rose
- Target version set to 146
Updated by Carsten Rose over 5 years ago
- Tracker changed from Support to Feature
Updated by Carsten Rose over 5 years ago
- Due date changed from 29.01.2019 to 22.02.2019
Updated by Carsten Rose over 5 years ago
- Subject changed from QFQ: Rest API Import ueber Form to Rest API Import
Updated by Carsten Rose over 5 years ago
- Status changed from In Progress to Closed
Updated by Carsten Rose over 5 years ago
- Target version changed from 146 to 19.2.3
Actions