Staffs - Search Staff Information
GET yourdomain.com/api/staffs/search/:keysearch
Header
json
| Field | Type | Description | 
|---|---|---|
| Authorization | String | 
 Basic Access Authentication token.  | 
Parameter
json
| Field | Type | Description | 
|---|---|---|
| keysearch | String | 
 Search keywords.  | 
Success 200
json
| Field | Type | Description | 
|---|---|---|
| Staff | Object | 
 information.  | 
Error 4xx
json
| Name | Description | 
|---|---|
| StaffNotFound | 
 The id of the Staff was not found.  | 
HTTP/1.1 200 OK
{
     "staffid": "8",
     "email": "data1.gsts@gmail.com",
     "firstname": "Đào Quang Dân",
     "lastname": "",
     "facebook": "",
     "linkedin": "",
     "phonenumber": "",
     "skype": "",
     "password": "$2a$08$ySLokLAM.AqmW9ZjY2YREO0CIrd5K4Td\/Bpfp8d9QJamWNUfreQuK",
     "datecreated": "2019-02-25 09:11:31",
     "profile_image": "8.png",
    ...
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "No data were found"
}