databank / onlineservice
This is a laravel package to enable third party clients to connect to the core API
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/databank/onlineservice
README
This package gives the client access to make calls to the online service application
Docs
Test Examples Method: Post
| Endpoint | Description | Parameters |
|---|---|---|
| getusername | Check if a username is available | username |
| getlogin | Log a user in | username password pin |
| getchangepassword | Change password of a user | UserName NewPassword AccountNumber CurrentPassword |
| getupdate | Update user details | email PhoneNumber username password secret_question secret_question_ans |
| getcreateuser | create a user | email SurName FirstName PhoneNumber AddressLine DateOfBirth AccountNumber MotherMaidenName username password secret_question secret_question_ans |
The package comes with sameple forms for tests.
Username check = http://URL:PORT/getusername Login = http://URL:PORT/getlogin Create a user = http://URL:PORT/getcreateuser Update a user = http://URL:PORT/getupdate Change user password = http://URL:PORT/getchangepassword
Response is json having 3 keys, any response with code not 100 is a failure
{"resp_code":"100","resp_desc":"Success"}