Closed dridi93 closed 5 years ago
Hi,
In a multi-step simulator, the last step provides the results of the simulation and the previous steps are used to acquire the data for the simulation. So the API must be declared to the last one. It is not possible for the moment to have results in intermediate stages.
Hi, if i declare the API with the last step, how can i deal with other steps ? @eureka2 any solution ! Thanks
UP...
Any anwser please !
Hi,
You must provide the data expected by the API (last step) as parameters of a GET request.
These data, either you get them with the other steps, or you get them with your own forms.
Hi, How can i get data from previous steps, custom controller ?
Can you explain exactly what you want to do?
Okay,
If i declare the API at the last step, how can i get the previous steps data ?
Hi, Can i declare multi-api with diffrent names.
No, you can't !!
Please, explain what you want to do ? What's the final objective ?
The final objective is to declare API for a simulator with multisteps
no solutions !
No, I do not have a solution because I do not understand what you want to do.
Hi, Sorry For Disturb,
I installed the G6K simulator with a resource from data.gouv.fr , now i need to setup the G6K API, I have declared it like this: api: cout-certificat-immatriculation: step: 0 action: calculer
This simulator have multisteps form, my question is when i declared the API to the last step, how can i get informations from the other steps.
Hi,
You can not get informations from other steps. If you declare an API, it means that your installation becomes a webservice accessible by other platforms. It is up to these platforms to acquire information from their users and then compose the access request to your webservice with these informations as parameters of the request.
Hi, Sorry For Disturb,
I installed the G6K simulator with a resource from data.gouv.fr , now i need to setup the G6K API, I have declared it like this:
api: cout-certificat-immatriculation: step: 0 action: calculer
This simulator have multisteps form, my question is when i declared the API to the last step, how can i get informations from the other steps.
Did you find a solution ? I'm in the same situation as you
Hi, I need to declare a web service for multisteps simulator, How can i achive this !
Thanks