API Details




BaseURL:

almashossain.com/APP/VIEWS/API.php


1. Employee Registration (POST)

?RequestTitle=EmployeeRegistration


JSONData

{ "Name": "test", "Image": "http://saveabandonedbabies.org/wp-content/uploads/2015/08/default.png", "Age": "26", "DateofBirth": "1990-01-01", "Mobile": "01199999999", "Email": "test@test.com", "Password": "test" }


2. Employee Login (POST)

?RequestTitle=EmployeeLogin


JSONData

{ "Email": "test@test.com", "Password": "test" }


3. All Employees List (GET)

?RequestTitle=ViewAllEmployees


4. Single Employee Details (GET)

?RequestTitle=SingleEmployeeDetails&&EID=2


5. Update Employee Details (PUT)

?RequestTitle=UpdateEmployeeDetails&&EID=2


JSONData

{ "Name": "test2", "Image": "http://saveabandonedbabies.org/wp-content/uploads/2015/08/default.png", "Age": "26", "DateofBirth": "1990-01-01", "Mobile": "01199999999" }


6. Delete Employee (DEL)

?RequestTitle=DeleteEmployee&&EID=2