Rxclick Application
Base URL :: http://13.235.173.222/api/v1/
Header Parameters :- api-key => rxclick (encrypted) , token => ex. gffgdfgdf (encrypted) , accept_language => en
secret key :- Q5aC7P6AjIpL46yKg8TGZTr2b460IZ6c
IV :- Q5aC7P6AjIpL46yK
Encryption & Decryption :- http://13.235.173.222/rxclick/api/enc_dec.php
No | URL | Method | Mandatory Parameter | Optional Parameter | Header Parameter | Example | Response Code | Notes | |||||||||||||||||||||||||||||||||||||||||
user API | |||||||||||||||||||||||||||||||||||||||||||||||||
Authentication module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/signup/ | POST | first_name, last_name, email, login_type (in:S,F,G,A) (S = simple), device_type (in A,I,W), device_token | country_code (require when login_type 'S'), phone (require when login_type 'S'), password(require when login_type 'S'), social_id(require when login_type not 'S'), is_agree_terms (require when login_type 'S') |
api-key | http://13.235.173.222:7708/api/v1/user/signup | HTTP Code: OK (200) Code : 1,0 |
This api is used to signup user | |||||||||||||||||||||||||||||||||||||||||
2 ) | user/phoneverification/ | POST | otp [static for now "2222"] | api-key, token | http://13.235.173.222:7708/api/v1/user/phoneverification | HTTP Code: OK (200) Code : 1,0 |
This api is used to verify user | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/resendcode/ | POST | country_code, phone | api-key, token | http://13.235.173.222:7708/api/v1/user/resend_otp | HTTP Code: OK (200) Code : 1,0 |
|||||||||||||||||||||||||||||||||||||||||||
4 ) | user/login/ | POST | email, login_type(in:S,F,G,A) (S = simple), device_type(in : A, I, W), device_token | password(required when login_type = 'S'), social_id(required when login_type not 'S') | api-key | http://13.235.173.222:7708/api/v1/user/login | HTTP Code: OK (200) Code : 1,0,4 |
This api is used to login user | |||||||||||||||||||||||||||||||||||||||||
5 ) | user/logout/ | POST | api-key, token | http://13.235.173.222:7708/api/v1/user/logout | HTTP Code: OK (200) Code : 1,0 |
This api is used to logout user | |||||||||||||||||||||||||||||||||||||||||||
6 ) | == | == | == | == | == | HTTP Code: OK (200) Code : 1,0 |
This api is used to forget password of user | ||||||||||||||||||||||||||||||||||||||||||
7 ) | user/changepassword/ | POST | oldpassword, newpassword, confirmpassword | api-key, token | http://13.235.173.222:7708/api/v1/user/changepassword | HTTP Code: OK (200) Code : 1,0 |
This api is used to change password of user | ||||||||||||||||||||||||||||||||||||||||||
8 ) | user/editprofile/ | POST | first_name, last_name, age, gender (in: Male,Female), id_proof_number | profile_image | api-key, token | http://13.235.173.222:7708/api/v1/user/editprofile | HTTP Code: OK (200) Code : 1,0 |
This api is used to edit profile of user | |||||||||||||||||||||||||||||||||||||||||
9 ) | user/contactus/ | POST | not completed yet | api-key, token | http://13.235.173.222:7708/api/v1/user/contactus | HTTP Code: OK (200) Code : 1,0 |
This api is used to send contact us request | ||||||||||||||||||||||||||||||||||||||||||
10 ) | user/GetUserProfile/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/GetUserProfile | HTTP Code: OK (200) Code : 1,0 |
This api is used to get all details of user profile | |||||||||||||||||||||||||||||||||||||||||||
11 ) ( CHANGES ) |
user/addPersonalInfo/ | POST | allergy, medical_condition (in: chronic, nonchronic), current_medication (in: 1, 0), family_history, smoking (in: 1,0), pregnancy (in: 1,0), age, id_proof_number, gender (in: Male,Female) |
other_medical_condition (required when medical_condition = chronic), medication (required when current_medication = 1), diseases_id (Ex- { "medication":"no", "diseases_id":["4","5"] })(required when medical_condition = chronic) |
api-key, token | http://13.235.173.222:7708/api/v1/user/addPersonalInfo | HTTP Code: OK (200) Code : 1,0 |
This api is used to add personal info of user | |||||||||||||||||||||||||||||||||||||||||
12 ) ( CHANGES ) |
user/editPersonalInfo/ | POST | allergy, medical_condition (in: chronic, nonchronic), current_medication (in: 1, 0), family_history, smoking (in: 1,0), pregnancy (in: 1,0) |
other_medical_condition (required when medical_condition = chronic), medication (required when current_medication = 1), diseases_id (Ex- { "medication":"no", "diseases_id":["4","5"] }) (required when medical_condition = chronic) |
api-key, token | http://13.235.173.222:7708/api/v1/user/editPersonalInfo | HTTP Code: OK (200) Code : 1,0 |
This api is used to edit personal info of user | |||||||||||||||||||||||||||||||||||||||||
13 ) | user/diseaseslist/ | GET | api-key | http://13.235.173.222:7708/api/v1/user/diseaseslist | HTTP Code: OK (200) Code : 1,0 |
This api is used to get diseases list | |||||||||||||||||||||||||||||||||||||||||||
14 ) | user/set_home_address/ | POST | address_type (in : home, office, other), address, latitude, city, longitude, zipcode | note | api-key, token | http://13.235.173.222:7708/api/v1/user/set_home_address | HTTP Code: OK (200) Code : 1,0 |
This api is used to set home address | Forget password | ||||||||||||||||||||||||||||||||||||||||
1 ) | user/forgetpassword_by_mail/ | POST | api-key | http://13.235.173.222:7708/api/v1/user/forgetpassword_by_mail | HTTP Code: OK (200) Code : 1,0 |
This api is used to forget password of user by email | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/forgetpassword_by_phone/ | POST | country_code, phone | api-key | http://13.235.173.222:7708/api/v1/user/forgetpassword_by_phone | HTTP Code: OK (200) Code : 1,0 |
This api is used to forget password of user by phone | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/forgetpassword_verify/ | POST | otp [static for now "2222"], country_code, phone | api-key | http://13.235.173.222:7708/api/v1/user/forgetpassword_verify | HTTP Code: OK (200) Code : 1,0 |
This api is used to verify forget password otp | ||||||||||||||||||||||||||||||||||||||||||
4 ) | user/resend_forget_otp/ | POST | country_code, phone | api-key | http://13.235.173.222:7708/api/v1/user/resend_forget_otp | HTTP Code: OK (200) Code : 1,0 |
This api is used resend code for forget password | ||||||||||||||||||||||||||||||||||||||||||
5 ) | user/set_new_password/ | POST | phone, newpassword, confirmpassword | api-key | http://13.235.173.222:7708/api/v1/user/set_new_password | HTTP Code: OK (200) Code : 1,0 |
This api is used to set new password | ||||||||||||||||||||||||||||||||||||||||||
==> | |||||||||||||||||||||||||||||||||||||||||||||||||
==> | |||||||||||||||||||||||||||||||||||||||||||||||||
==> | |||||||||||||||||||||||||||||||||||||||||||||||||
==> | Home screen | ||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/HomeView/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/home_view | HTTP Code: OK (200) Code : 1,0 |
This api is used get home screen details | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/search_location/ | POST | search | api-key, token | http://13.235.173.222:7708/api/v1/user/search_location | HTTP Code: OK (200) Code : 1,0 |
This api is used search address of home | ||||||||||||||||||||||||||||||||||||||||||
Address module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/addaddress/ | POST | address_type (in : home, office, other), address, latitude, city, longitude, zipcode | note | api-key, token | http://13.235.173.222:7708/api/v1/user/addaddress | HTTP Code: OK (200) Code : 1,0 |
This api is used to add address of user | |||||||||||||||||||||||||||||||||||||||||
2 ) | user/editaddress/ | POST | address_id, address_type (in : home, office, other), address, latitude, city, longitude, zipcode | note | api-key, token | http://13.235.173.222:7708/api/v1/user/editaddress | HTTP Code: OK (200) Code : 1,0 |
This api is used to edit address of user | |||||||||||||||||||||||||||||||||||||||||
3 ) | user/removeaddress/ | POST | address_id | api-key, token | http://13.235.173.222:7708/api/v1/user/removeaddress | HTTP Code: OK (200) Code : 1,0 |
This api is used to remove address of user | ||||||||||||||||||||||||||||||||||||||||||
4 ) | user/addresslist/ | GET | api-key,token | http://13.235.173.222:7708/api/v1/user/addresslist | HTTP Code: OK (200) Code : 1,0 |
This api is used to show address list of user | |||||||||||||||||||||||||||||||||||||||||||
5 ) | user/set_default_address/ | POST | address_id | api-key,token | http://13.235.173.222:7708/api/v1/user/set_default_address | HTTP Code: OK (200) Code : 1,0 |
This api is used to default address of user | ||||||||||||||||||||||||||||||||||||||||||
Product module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/categoryList/ | GET | api-key | http://13.235.173.222:7708/api/v1/user/categoryList | HTTP Code: OK (200) Code : 1,0 |
This api is used to show list of available category | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/subcategoryList/ | POST | category_id | api-key | http://13.235.173.222:7708/api/v1/user/subcategoryList | HTTP Code: OK (200) Code : 1,0 |
This api is used to show list of available subcategory | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/searchSubCategory/ | POST | category_id, search (if user not pass any value in search fill with blank) Ex - { "search":"" } |
api-key | http://13.235.173.222:7708/api/v1/user/searchSubCategory | HTTP Code: OK (200) Code : 1,0 |
This api is used to search sub category | ||||||||||||||||||||||||||||||||||||||||||
4 ) | user/productList/ | POST | category_id, subcategory_id | api-key | http://13.235.173.222:7708/api/v1/user/productList | HTTP Code: OK (200) Code : 1,0 |
This api is used to get list of product | ||||||||||||||||||||||||||||||||||||||||||
5 ) | user/searchProduct_in_List/ | POST | category_id, subcategory_id, search (if user not pass any value in search fill with blank) Ex - { "search":"" } |
api-key | http://13.235.173.222:7708/api/v1/user/searchProduct_in_List | HTTP Code: OK (200) Code : 1,0 |
This api is used search product in subcategoty product listing | ||||||||||||||||||||||||||||||||||||||||||
6 ) | user/productdetails/ | POST | product_id | api-key | http://13.235.173.222:7708/api/v1/user/productdetails | HTTP Code: OK (200) Code : 1,0 |
This api is used to display product details | ||||||||||||||||||||||||||||||||||||||||||
7 ) | user/searchProduct/ | POST | search (if user not pass any value in search fill with blank) Ex - { "search":"" } |
api-key | http://13.235.173.222:7708/api/v1/user/searchProduct | HTTP Code: OK (200) Code : 1,0 |
This api is used to search product globally | ||||||||||||||||||||||||||||||||||||||||||
Cart module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/add_to_cart/ | POST | product_id, pharmacy_id, quantity, variant_id, product_type (in : health, medicine) |
api-key, token | http://13.235.173.222:7708/api/v1/user/add_to_cart | HTTP Code: OK (200) Code : 1,0 |
This api is used add product into cart | ||||||||||||||||||||||||||||||||||||||||||
2 ) | user/edit_cart/ | POST | cart_id, quantity | api-key, token | http://13.235.173.222:7708/api/v1/user/edit_cart | HTTP Code: OK (200) Code : 1,0 |
This api is used edit product quantity into cart | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/remove_cart/ | POST | cart_id | api-key, token | http://13.235.173.222:7708/api/v1/user/remove_cart | HTTP Code: OK (200) Code : 1,0 |
This api is used remove product from cart | ||||||||||||||||||||||||||||||||||||||||||
4 ) | user/cartlist/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/cartlist | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of cart | |||||||||||||||||||||||||||||||||||||||||||
Notification module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/notificationlist/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/notificationlist | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of notification | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/remove_notification/ | POST | notification_id | api-key, token | http://13.235.173.222:7708/api/v1/user/remove_notification | HTTP Code: OK (200) Code : 1,0 |
This api is used to remove noification of user | ||||||||||||||||||||||||||||||||||||||||||
Contact us module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/get_subject/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/get_subject | HTTP Code: OK (200) Code : 1,0 |
This api is used to show subject for conact us | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/contact_us/ | POST | email, subject_id, message | api-key, token | http://13.235.173.222:7708/api/v1/user/contact_us | HTTP Code: OK (200) Code : 1,0 |
This api is used to send contact us request | ||||||||||||||||||||||||||||||||||||||||||
Wishlist module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/move_to_wishlist/ | POST | product_id, pharmacy_id, quantity, variant_id, product_type (in : health, medicine) |
api-key, token | http://13.235.173.222:7708/api/v1/user/move_to_wishlist | HTTP Code: OK (200) Code : 1,0 |
This api is used add product into wishlist | ||||||||||||||||||||||||||||||||||||||||||
2 ) | user/wishlist_to_cart/ | POST | wishlist_id, product_id, pharmacy_id, quantity, variant_id, product_type (in : health, medicine) |
api-key, token | http://13.235.173.222:7708/api/v1/user/wishlist_to_cart | HTTP Code: OK (200) Code : 1,0 |
This api is used add product into cart from wishlist | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/get_wishlist/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/get_wishlist | HTTP Code: OK (200) Code : 1,0 |
This api is used add product into cart | |||||||||||||||||||||||||||||||||||||||||||
Send Pharmacy Request module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/SearchPrescription/ | POST | latitude, longitude, requesttype (in : prescription, talk_with_your_parmacist, cart) | cart_id ( required if, requesttype = other ) | api-key, token | http://13.235.173.222:7708/api/v1/user/SearchPrescription | HTTP Code: OK (200) Code : 1,0 |
This api is used to send request to nearest pharmacy | |||||||||||||||||||||||||||||||||||||||||
2 ) | user/CheckPharmacyStatus/ | POST | unique_id, requesttype (in : prescription, talk_with_your_parmacist, cart) | api-key, token | http://13.235.173.222:7708/api/v1/user/CheckPharmayStatus | HTTP Code: OK (200) Code : 1,0 |
This api is used to check status of pharmacy request | ||||||||||||||||||||||||||||||||||||||||||
Order module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) | user/myorders_medicine/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/myorders_medicine | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of medicine order | |||||||||||||||||||||||||||||||||||||||||||
2 ) | user/myorders_nonmedicine/ | GET | not completed yet | api-key, token | http://13.235.173.222:7708/api/v1/user/myorders_nonmedicine | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of nonmedicine order | ||||||||||||||||||||||||||||||||||||||||||
3 ) | user/pharmacy_request_details/ | POST | pharmacy_request_id | api-key, token | http://13.235.173.222:7708/api/v1/user/pharmacy_request_details | HTTP Code: OK (200) Code : 1,0 |
This api is used show details of pharmacy request | ||||||||||||||||||||||||||||||||||||||||||
4 ) (CHANGES In REQ) |
user/order_by_request/ (changes in optional parameters) |
POST | order_request_id, address_id, requesttype (in : prescription, talk_with_your_parmacist, cart) is_wallet (in: 1,0(string)), wallet_amount(float), payment_type(full, half, none), transaction_id(string) |
discount, total | api-key, token | http://13.235.173.222:7708/api/v1/user/order_by_request | HTTP Code: OK (200) Code : 1,0 |
This api is used to create medicine order | |||||||||||||||||||||||||||||||||||||||||
5 ) | user/order_details/ | POST | order_id | api-key, token | http://13.235.173.222:7708/api/v1/user/order_details | HTTP Code: OK (200) Code : 1,0 |
This api is used to show details of order | ||||||||||||||||||||||||||||||||||||||||||
4 ) | user/remove_selected_product/ | POST | order_request_id, product_id | api-key, token | http://13.235.173.222:7708/api/v1/user/remove_selected_product | HTTP Code: OK (200) Code : 1,0 |
This api is used remove product in order request generated by pharmacy | ||||||||||||||||||||||||||||||||||||||||||
5 ) | user/order_by_cart/ | POST | cart_id, product_id, address_id, quantity | api-key, token | http://13.235.173.222:7708/api/v1/user/order_by_cart | HTTP Code: OK (200) Code : 1,0 |
This api is used to create order by cart | ||||||||||||||||||||||||||||||||||||||||||
6 ) | user/get_cancel_reason/ | GET | api-key | http://13.235.173.222:7708/api/v1/user/get_cancel_reason | HTTP Code: OK (200) Code : 1,0 |
This api is used to get cancel reason for cancel order | |||||||||||||||||||||||||||||||||||||||||||
7 ) | user/cancel_order_user/ | POST | order_request_id, cancel_reason_id | cancel_description | api-key, token | http://13.235.173.222:7708/api/v1/user/cancel_order_user | HTTP Code: OK (200) Code : 1,0 |
This api is used to cancel order, generated by pharmacy | |||||||||||||||||||||||||||||||||||||||||
8 ) | user/myorders_nonmedicine/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/myorders_nonmedicine | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of non medicine order | |||||||||||||||||||||||||||||||||||||||||||
9 ) (NEW) |
user/update_chat_badge/ | POST | chat_badge | api-key, token | http://13.235.173.222:7708/api/v1/user/update_chat_badge | HTTP Code: OK (200) Code : 1,0 |
This api is used show list of non medicine order | ||||||||||||||||||||||||||||||||||||||||||
10 ) (NEW) |
user/charge_delivery_by_address | POST | order_request_id,order_pharmacy_id,total_amount,address_id | api-key, token | http://13.235.173.222:7708/api/v1/user/charge_delivery_by_address | HTTP Code: OK (200) Code : 1,0 |
This api is used for E-Halling Delivery Charge Calculation | ||||||||||||||||||||||||||||||||||||||||||
==> | |||||||||||||||||||||||||||||||||||||||||||||||||
==> | |||||||||||||||||||||||||||||||||||||||||||||||||
Card module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) (NEW) |
user/addcard | POST | card_holder_name,card_exp_date,card_number,card_token,card_token_type,card_type | api-key, token | http://13.235.173.222:7708/api/v1/user/addcard | HTTP Code: OK (200) Code : 1,0 |
|||||||||||||||||||||||||||||||||||||||||||
2 ) (NEW) |
user/get_cardlist | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/get_cardlist | HTTP Code: OK (200) Code : 1,0 |
||||||||||||||||||||||||||||||||||||||||||||
3 ) (NEW) |
user/removeCard | POST | card_id | api-key, token | http://13.235.173.222:7708/api/v1/user/removeCard | HTTP Code: OK (200) Code : 1,0 |
|||||||||||||||||||||||||||||||||||||||||||
4 ) (NEW) |
user/set_default_card | POST | card_id | api-key, token | http://13.235.173.222:7708/api/v1/user/set_default_card | HTTP Code: OK (200) Code : 1,0 |
|||||||||||||||||||||||||||||||||||||||||||
Wallet module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) (NEW) |
user/add_money/ | POST | transaction_id, wallet_amount(float) | api-key, token | http://13.235.173.222:7708/api/v1/user/add_money | HTTP Code: OK (200) Code : 1,0 |
This api is used to add money onto wallet | ||||||||||||||||||||||||||||||||||||||||||
2 ) (NEW) |
user/get_wallet_history/ | GET | == | == | api-key, token | http://13.235.173.222:7708/api/v1/user/get_wallet_history | HTTP Code: OK (200) Code : 1,0 |
This api is used to get ransaction hostory of user wallet | |||||||||||||||||||||||||||||||||||||||||
Coupon module | |||||||||||||||||||||||||||||||||||||||||||||||||
1 ) (NEW) |
user/couponlist/ | GET | api-key, token | http://13.235.173.222:7708/api/v1/user/couponlist | HTTP Code: OK (200) Code : 1,0 |
This api is used to add money onto wallet | |||||||||||||||||||||||||||||||||||||||||||
2 ) (NEW) |
user/apply_coupon/ | POST | coupon_code, total | == | api-key, token | http://13.235.173.222:7708/api/v1/user/apply_coupon | HTTP Code: OK (200) Code : 1,0 |
No | CODE | Message |
HTTP CODE 200 | ||
1 | 0 | Invalid Request / Failer Request |
2 | 1 | Success Response |
3 | 2 | No Data Found |
4 | 3 | Account Inactive(block) |
5 | 4 | OTP verification |
6 | 5 | Email Verification |
7 | 6 | Force Update App |
8 | 7 | Simaple update App alert |
9 | 11 | Social id not registered |
10 | 12 | Signup step not done |
Response : {"code":"1","message":"Enter Message","data":""} |
||
HTTP CODE 401 |