Project

General

Profile

Feature #7746

Rest API Import

Added by Benjamin Baer over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
25.01.2019
Due date:
22.02.2019
% Done:

0%

Estimated time:
Discuss:

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

Associated revisions

Revision 2e7b662e
Added by Carsten Rose over 1 year ago

Merge branch 'F7919RestAPIExportPrimaryTableIndex' into 'master'

Rest Implementation with GET,PUT,POST,DELETE and authorization token

See merge request typo3/qfq!127

History

#1 Updated by Benjamin Baer over 1 year ago

  • Due date set to 29.01.2019
  • Assignee set to Carsten Rose
  • Target version set to 146

#2 Updated by Carsten Rose over 1 year ago

  • Tracker changed from Support to Feature

#3 Updated by Carsten Rose over 1 year ago

  • Due date changed from 29.01.2019 to 22.02.2019

#4 Updated by Carsten Rose over 1 year ago

  • Subject changed from QFQ: Rest API Import ueber Form to Rest API Import

#5 Updated by Carsten Rose over 1 year ago

  • Status changed from New to In Progress

#6 Updated by Carsten Rose over 1 year ago

  • Status changed from In Progress to Closed

#7 Updated by Carsten Rose over 1 year ago

  • Target version changed from 146 to 19.2.3

Also available in: Atom PDF