xls-json-api

More
2 years 1 month ago #23857 by downing
xls-json-api was created by downing
Hello Mike,

After the xml worked so well, I already have the next task.
It's about converting data from an Excel into json and then uploading it via an API interface with OAuth v2.0 style authentication.

I haven't really found anything in the wiki, forum or in the examples that helps me

Do you have an example "lying around" that describes the conversion from xls to json?

Thanks and greetings
Thomas



 

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago - 2 years 1 month ago #23858 by admin
Replied by admin on topic xls-json-api
The solution depends on the complexity of JSON file which we know nothing about

For very simple JSON files you can use JSON writer
www.etl-tools.com/wiki/advanced-etl-proc...writer-targets/json/  

Or you can use text writer and use JSON functions to build the JSON objects.
www.etl-tools.com/wiki/advanced-etl-proc...tion-functions/json/

Another option is to use InPlace Replace transformation function
www.etl-tools.com/wiki/advanced-etl-proc...ngs/inplace-replace/

Or you might want to create one JSON file per excel file row

Mike
ETL Architect
Last edit: 2 years 1 month ago by admin.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #23862 by downing
Replied by downing on topic xls-json-api
 
Hello Mike,

Sorry for the poor description.

It is sometimes very difficult for me to get started because ETL offers so many possibilities.

I have received an Excel file here. Which will later become a Qlik QVD.
 

File Attachment:

File Name: luminovo_i...6-03.zip
File Size:0 KB

Everything is to be solved via an API.

Authentication: docs.luminovo.com/#section/Introduction
Import Component Data: docs.luminovo.com/#tag/Components/operation/PostComponents

Greets
Thomas





 
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #23863 by admin
Replied by admin on topic xls-json-api
The attached zip file is empty

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #23864 by downing
Replied by downing on topic xls-json-api
Ups Sorry

 

File Attachment:

File Name: luminovo_i...03-2.zip
File Size:10 KB

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #23865 by admin
Replied by admin on topic xls-json-api
Thank you for the clarification

So basically what you to do it is

1 For every line in the excel file create a JOSN file 
  In Place replace I think is the best option (Use file system writer to create files )

2 Loop over created files and post them using HTTP Post Action
    www.etl-tools.com/wiki/advanced-etl-proc...actions/http-action/

Authentication can be done by using HTTP Post Action action as well.

You may need to write some custom scripts

If you wish we can create and a entire solution for you.
One consultancy day must sufficient for it

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save