Section P - Reset password API
P1 General Information
To reset password for an user send a post request to
/api/v1/reset_password with the following data:
Key | Value | Is required |
---|---|---|
userId | Numeric |
Mandatory |
complexity | Text {numeric, characters, alphanumeric} < default value is 'numeric' > | Optional if Password field is given |
length | Numeric < default value is 4 > | Optional if Password field is given |
password | Alphanumeric | Optional |
P2 Sample Output
{
"status":"success",
"errorCode" = 200,
"message":"Password has been reset. The new password is 8515550701",
"password":"8515550701"
}
P3 Get all Products
GET Method :
/api/v1/get_all_products
Sample Output :
{"status":"success","errorCode":200,"data":{"products":[{"Item":
{"id":"1","deleted":"0"},"InternationalDescription":{"content":"2
Mbps"},"PriceModel":{"rate":"226.08695652173915"}},{"Item":
{"id":"36","deleted":"0"},"InternationalDescription":
{"content":"demo"},"PriceModel":{"rate":"250"}}],"taxs":[{"Item":
{"id":"3","deleted":"0","percentage":"18"},"InternationalDescription":
{"content":"Service Tax (18%)"}}]}}