GET All Staff
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
GET
https://{{subdomain}}.daftra.com/api2
Staff
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://.daftra.com/api2/staff' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful",
"data": [
{
"Staff": {
"id": 512,
"added_by": 0,
"role_id": 1,
"name": "",
"home_phone": "string",
"business_Phone": "string",
"mobile": "string",
"fax": "string",
"country_code": "str",
"address1": "string",
"address2": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"notes": "string",
"email_address": "user@example.com",
"last_login": "2018-05-10 00:42:00",
"active": true,
"deleted": true,
"created": "2018-05-10 00:42:00",
"follow_up_status": null,
"hourly_rate": null,
"hourly_rate_currency_code": "USD",
"default_store_id": 0,
"default_treasury_id": 0,
"language_code": "string",
"maximum_general_discount": null
}
}
],
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}
Request
Path Params
format
stringÂ
required
Query Params
limit
integerÂ
optional
>= 1<= 1000
Default:
20
page
integerÂ
optional
>= 1
Default:
1
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}