Project Description
More details:
Which web API do you need integrated into the Flutter app? http://www.cmsmanhattan.com/Productlist.jsp?catalog_id=-2&format=json
What is the main purpose of integrating the web API into the Flutter app? Fetch all screens from Cms Manhattan submit requests to get datasets and map dataset to flutter
I need complete all screen which made in flutter app design for shop.
I need deploy it on Google play and Apple store . So get dataset just add &format=json to URL each page .
I see web service for catalog was not complete . I will complete it down the road . Or we can use catalog from original web site which is done . So catalog and other parts required to apply role to display some buttons as example . So you need to get User Role for that
More
I see web service for catalog was not complete . I will complete it down the road . Or we can use catalog from original web site which is done . So catalog and other parts required to apply role to display some buttons as example . So you need to get User Role for that.
Catalog will use the same role always because it is not every one
it is low priority role
I mean that web service will ignore to submit http request to get dataset but you have to display user name and allow leave review . Just for review you have to call web site URL
So regarding authorization
for authorization to have call Web site login form or registration
http://www.cmsmanhattan.com/Authorization.jsp?Login=
reg and auth page there
So once you login or reg then you need store sessionId and send it to web server to let the server know your context for your role and your data which in our session
each http request you have to send SessionId to web server to let web sire recognize your context such as your role and your datasets
So Now is good requestion how Flutter app will know user role ?
???
I will give you one more web service for that which called identity server
it web service will response dataset with username and role
via user role you will show content for default user and member and admin
So default user is user without authorization
next Member is user with authorization
it is buyer for example
Admin is user modify item and add new items in catalog
it is seller
Every admin belongs to own catalog. I mean every seller (admin) has private catalog
When you submit request to web site then you have to send to two parameters userId and siteId to let webserver to know what web site context for the request
I mean for what private catalog
Some integration are done but developer was junior. he could complete