Overview of the Sosmart website
The website hosts two apps .. 1. The SoSmartors app 2. The client app … The app developer will work with you to get the apps talking to each other via a website database. The response should be in json format.
While launching the app for the first time, The user (being the client ) needs to register with app, the web service should take user information and save to remote server.
Below are the fields necessary:
This API will be needed to authenticate users. From mobile app I will send username and password, It will return result, Either Success or Fail. So based on that app can take decision to give access to app features.
So next time server can validate user and give back its stored information from the server.
Send Quote API
This API will send following information to server
Description of clothing
Server API should make database entry of quote. Also after successful entry, it should call another API to send push to SoSmartor giving them information for quote entry available, and generate a quote number.
Get Quote List API
This API will get list of quotes available in database which match the region of logged in user.
Client app will send its current location, and its user id.
Get Quote Details API
The API will get the details of specific quote. And will send quote id and user id, remote server will return the quote details. So client app can show in screen.
This API will get all the contacts from the database within specified region.
The app will send radius in Kilometres ( 10km ). Array of contacts has to be sent back to app.
This api will get the Favourite contacts from SoSmart database.
Mobile app will send user Id so remote server can filter favourite contacts from database and send back to app as an array.
Google Cloud Messaging on server.
The server has to make GCM push calls to client and business apps, based on various conditions. Like when some quote is entered to database, it will give this info to all Sosmartors in specific region.
When SoSmartor sends quote back to server, server has to send it to Client, giving them the information.
I will register GCM on google and share you the gym api, so you can integrate it to your server script.