After the company Eurofins has checked the sample they give the result back in 2 steps
2. API “Eurofins Resuls Available” that reports back the basic informatie of the sample (ID)!
The initialize call works. see screenshot below:
If you want to store information in your DB, you need to create or make change to a thing and in the field where you want to storeinformation, use Get Data from API. If you plan to store more than 1 field, I suggest to set a state with the data API First and Use this state to get the information
I know how to change tings en make things.
Problem is that I can not find any function that allows me to do some thing with the API setup in the Plugin API connector.
Where can I make a connection with the button and and send the “button click”-information via a workflow (schedule API WF?) to a backend workflow (endpoint?) and from endpoint to API CALL
There’s two way to use API connection.
If you have set your API Call to be “Data” type, this will be available using Get Data From API un data source or field.
If you have set your api Call to be “Action” type, this will be available in workflow action (plugin tab).
Now, how you will use it will depend on what you want to do exactly. Normally, if you are doing a GET request, this should be set as Data and be available in Data source with Get Data From API.
All other reques (POST, PATCH, PUT, DELETE) should be set as action (because this is what they are).
Don’t forget that only initialized call will be available in Get Data from API or workflow action.
In your Question A, you ask: A. check if there is a sample ready (step 2)
Ideally, check if the API provide webhook. If yes, this is what you should use to know when a sample is ready.
Get data is available in Data source, not in workflow.
For exmaple, if you create a thing, set a field, in value, you will be able to select Get Data From API. This option is available where Do a Search for is also available.
I have entered it manual and clicked “Intialize Call” the result is shown below the button, but there is still the red comment "you need to intialize this call before it will work…
Can you give me again a push in the right direction?
Thanks a lot for all your help and time!
it’s xml… And I have connection and are able to get data in my database!
Thanks for that part too Jici!
I will investigate how to organise the data as I have “grouped” data in the xml and I do not have any clue how to route it into my thing…
If the result give you a list, you can schedule API workflow on a list. You can also use a list of text (for barcode) and it’s also possible to use regex to create a list by splitting with the comma.
I have found the issue…
I had defined a parameter key myself after deleting that I was able to Initialize the Call successfully.
After that I have found the call in my page workflow and was able to enter dynamic values.
Sending the data to the API works, BUT…
It looks like the API is only sending the header and not all the keys
Unrelated to this API, but you just solved my problem with the Quickbooks API. The answer for me was to put that Accept = application/json and then magic happened.