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

GetAllModelList endpoint not working ! #39

Open
zaza-dahmane opened this issue Feb 22, 2018 · 5 comments
Open

GetAllModelList endpoint not working ! #39

zaza-dahmane opened this issue Feb 22, 2018 · 5 comments

Comments

@zaza-dahmane
Copy link

zaza-dahmane commented Feb 22, 2018

I'm currently trying to get model list for all the categories, but it timeout.
in cdiscount website I've found this:

Timeout on GetAllModelList method In progress Not defined use the GetModelList method

The solution would be to use the GetModelList method, but it also Timeout
Do you know any other way to get all categories model list ?

@yoandm
Copy link

yoandm commented Jun 14, 2018

I saw it to. I need all the models too. Do you have any news about it ?

@gregz1
Copy link

gregz1 commented Jun 15, 2018

hello i just tried the getModelList Method and it seems to work well.
Did you provide a category code as parameter ?
you can test this method here : https://cdscntmkpapiwebapp.herokuapp.com/ProductManager/GetModelListRequest

@yoandm
Copy link

yoandm commented Jun 15, 2018

Yes ok for GetModelList but not for GetAllModelList (to get all the models).
Thank you.

@gregz1
Copy link

gregz1 commented Jun 15, 2018

at the moment there is only one model available on Cdiscount Marketplace. it is returned several time in the GetAllModelList this the reason why it is systematically in timeout.
At the moment if you need to have every Models you should call GetModelList for each category code provided by GetAllowedCategoryTree.
In addition GetModelList provide additional informations according to the category provided.

@yoandm
Copy link

yoandm commented Jun 15, 2018

Only one model ? The same for all categories ?
So we don't need to get every Model if there is only one ?
I want to be sure to understand. Mandatories fields are not the same ?
Thank you Greg.

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