Pentaho Data Integration - REST Client Step - rest

I'm trying to make a request to an API. I have tested it on Postman, and it's working fine. What a I would like to achieve is make a similar process on Pentaho Data Integration, I guess I should use the REST Cliente step.
I have seen a couple of videos and asked question on forums about this step. I had a running request on other free access API using this step on Pentaho, but now I'm trying to do the same with this new one. Anyone may help to do it?
I attached screenshots about how I have tested it on Postman. Thank's in advanced.enter image description here

From the image you have shared looks like you are trying to do a post.
Either way the below setup could help you achieve that.
You can probably have below approach.
Generate Rows > Rest Client > Table
And with that, you can have API URL and auth info on generate row step, define fields on the REST Client Step and insert the data into a table.

Related

How to connect API as data source in Tableau?

I need to use two data sources. One is SQL and another one is the response from a rest API.
I tried to implement WDC, but it needs an HTML and user need to interact with UI and getting the response.
But I don't want to create a html page.
Is there any way to use an API response as a data source in Tableau?
The short answer is that you can not use API directly as a data source but you should build a pipeline to transform this into flat-file o populate a database table.
The alternative answer is to use Python to connect to the REST API. You can choose to use TabPy or follow some pre-build solution like this one. Personally, I don't know how the performances could be.

Created System Column Blank In API Call

I am making REST calls against the Reports API endpoint, and pulling that data into a separate application. I am able to pull all of the report columns with its data, with the exception of the Created (System Column), which always returns nothing/null.
To rule out the application being the issue, I used the built in Smartsheet connector in Power BI and am getting the same blank results there.
Are there any known limitation about pulling date system columns out of the API?
It looks like you discovered a bug in the Smartsheet API! Thanks for drawing attention to this. I've submitted a bug report to the dev team at Smartsheet.
Apologies for the inconvenience. What are you trying to accomplish with your application? I might be able to help you come up with a work-around.

REST call to insert records in another sandbox through Apex code

I am looking for exact apex code to fetch records from current sandbox and insert it into another sandbox. I am fine with both REST or SOAP API, please share the apex code if possible.
Looks like you can solve it using one of ETL-tools without writing REST services and Apex code. There are a lot of ETL-tools, which supports Salesforce, for instance Talend open studio, DreamFactory Monarch or Pentaho Kettle.
More broad list of tools with descriptions you can find on Awesome Salesforce page.

In Tableau server, how can we get measures and dimensions of a data set using REST API?

I looked at their REST API but I haven't found anything which gives me the measures and dimensions of the dataset/data source. I need to expose what measures and dimensions are there so that user knows what workbooks or visualizations he can create. Any ideas or help is greatly appreciated.
Fields in a datasource are not something that you can query directly via the REST API. My best suggestion, while not perfect, would be to add a tag for each field that you want to be queryable in the datasource, and then use the REST API to query your datasources show what is available to the user.
This shows you how to tag a datasource
Here is the specific REST API command that will return the tags
I want to stress that this isn't a perfect solution, but the REST API has a very WIP feel to it to begin with (REST should be able to do everything that tabcmd can do, but sadly, it can't).
There is also the undocumented REST API that has some additional functionality. That may have more of what you are looking for. I'm not 100% sure that this will solve your problem, but it does provide a lot of additional functionality to the base API.
Undocumented Tableau REST API

Connecting mobile app with back-end algorithm

I'm working on a school project. We have an AWS server set up with MongoDB. We created some user DB for account verification purposes and communicate with it using REST API. What we need is for the mobile app to send some data to the server side. Run it with an algorithm, then return back the result in JSON format. I've never done anything similar to this, so I have no idea how to go about it. If anyone could provide some lead or guidance/links that would be amazing. Thank you.
First of all you dont need a algorithm for it. It is just a process you have to follow and its kinda lot more easy than you thinking.
If you are doing it in android you can connect to rest webservice via Google's Volley http://developer.android.com/training/volley/index.html.
Or You can use Retrofit 2.0. I have been using it for a long time and i prefer it.
http://square.github.io/retrofit/