Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

G6K API for multisteps simulator #15

Closed
dridi93 opened this issue Jan 28, 2019 · 15 comments
Closed

G6K API for multisteps simulator #15

dridi93 opened this issue Jan 28, 2019 · 15 comments

Comments

@dridi93
Copy link

dridi93 commented Jan 28, 2019

Hi,
I need to declare a web service for multisteps simulator,
How can i achive this !

Thanks

@eureka2
Copy link
Owner

eureka2 commented Jan 28, 2019

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.

@dridi93
Copy link
Author

dridi93 commented Feb 5, 2019

Hi,
if i declare the API with the last step, how can i deal with other steps ? @eureka2 any solution !
Thanks

@dridi93
Copy link
Author

dridi93 commented Feb 19, 2019

UP...

Any anwser please !

@eureka2
Copy link
Owner

eureka2 commented Feb 19, 2019

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.

@dridi93
Copy link
Author

dridi93 commented Feb 19, 2019

Hi,
How can i get data from previous steps, custom controller ?

@eureka2
Copy link
Owner

eureka2 commented Feb 19, 2019

Can you explain exactly what you want to do?

@dridi93
Copy link
Author

dridi93 commented Feb 19, 2019

Okay,

If i declare the API at the last step, how can i get the previous steps data ?

@dridi93
Copy link
Author

dridi93 commented Feb 19, 2019

Hi,
Can i declare multi-api with diffrent names.

image

@eureka2
Copy link
Owner

eureka2 commented Feb 19, 2019

No, you can't !!

Please, explain what you want to do ? What's the final objective ?

@dridi93
Copy link
Author

dridi93 commented Feb 19, 2019

The final objective is to declare API for a simulator with multisteps

@dridi93
Copy link
Author

dridi93 commented Feb 20, 2019

no solutions !

@eureka2
Copy link
Owner

eureka2 commented Feb 20, 2019

No, I do not have a solution because I do not understand what you want to do.

@dridi93
Copy link
Author

dridi93 commented Feb 20, 2019

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.
image

@eureka2
Copy link
Owner

eureka2 commented Feb 20, 2019

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.

@eureka2 eureka2 closed this as completed Jun 27, 2019
@florientdelafoy
Copy link

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.
image

Did you find a solution ? I'm in the same situation as you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants