Get Staff Member Details
GET
/staff/details/{staff_id}Fetches details of a specific staff member by their ID.
Request
Responses
Success(200)
Unauthorized(401)
Not found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
data
object
required
staffid
string
required
email
string
required
firstname
string
required
lastname
string
required
facebook
null
required
linkedin
null
required
phonenumber
string
required
skype
null
required
password
string
required
datecreated
string
required
profile_image
null
required
last_ip
string
required
last_login
string
required
last_activity
string
required
last_password_change
null
required
new_pass_key
null
required
new_pass_key_requested
null
required
admin
string
required
role
null
required
active
string
required
default_language
null
required
direction
null
required
media_path_slug
null
required
is_not_staff
string
required
hourly_rate
string
required
two_factor_auth_enabled
string
required
two_factor_auth_code
null
required
two_factor_auth_code_requested
null
required
email_signature
null
required
google_auth_secret
null
required
stripe_customer_id
null
required
stripe_obj
null
required
is_paid
string
required
is_answered
string
required
is_signed_document
string
required
session_token
string
required
Example
{
"message": "Data fetched successfully!",
"data": {
"staffid": "1",
"email": "[email protected]",
"firstname": "hilal",
"lastname": "khan",
"facebook": null,
"linkedin": null,
"phonenumber": "",
"skype": null,
"password": "$2a$08$fkEo5NXredNaKz3Mt4XB3Or9xvH4e3/aQlVpS6qQE2SIBAnH5HO7W",
"datecreated": "2024-07-24 12:46:34",
"profile_image": null,
"last_ip": "127.0.0.1",
"last_login": "2024-08-19 13:32:36",
"last_activity": "2024-08-19 17:05:06",
"last_password_change": null,
"new_pass_key": null,
"new_pass_key_requested": null,
"admin": "1",
"role": null,
"active": "1",
"default_language": null,
"direction": null,
"media_path_slug": null,
"is_not_staff": "0",
"hourly_rate": "0.00",
"two_factor_auth_enabled": "0",
"two_factor_auth_code": null,
"two_factor_auth_code_requested": null,
"email_signature": null,
"google_auth_secret": null,
"stripe_customer_id": null,
"stripe_obj": null,
"is_paid": "0",
"is_answered": "0",
"is_signed_document": "0",
"session_token": "ed47a9fbc06086ea62e27684648ddfdfe1b2dfd94847c1b9e583f5c197dbc362"
}
}
Last modified: 3 months ago