Search staffs by conditions

Search staffs by conditions

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Scope

staffs-directory:read

Query Params
int32
1 to 2147483647
Defaults to 1

Desired page

int32
1 to 50
Defaults to 50

Limit the number of prompts per page

string
length between 0 and 9999

Name of staff

string
length between 0 and 512

Search term to filter staffs by name or email.

string
length between 0 and 9999

Manager of staff

string
length between 0 and 9999

Speciality of staff

string
length between 0 and 9999

Job title of staff

string
length between 0 and 9999

External id of staff

string
length between 0 and 9999

Industry of staff

string
length between 0 and 9999

Gender of staff

string
length between 0 and 9999

Status of staff

string
length between 0 and 9999

Language of staff

string
length between 0 and 9999

Visit type name of staff

string
length between 0 and 150

The id of the location. Accepts multiple ids as a comma-separated list, in which case staff
associated with any of the given ids are returned.

string
length between 0 and 150

The name of the location which staff in

string
length between 0 and 150

The type of the location which staff in

string
length between 0 and 20

The zip-code of the location which staff in

string
length between 0 and 100

The city of the location which staff in

string
length between 0 and 100

The country name of location which staff in

string
length between 0 and 100

The region name (country subdivision) of location which staff in

string
length between 0 and 150

The id of the service. Accepts multiple ids as a comma-separated list, in which case staff
associated with any of the given ids are returned.

string
length between 0 and 9999

The name of the service provided by staff

string
length between 0 and 9999

The type of the service provided by staff

double
-90 to 90
  • Latitude and longitude are used together with distance. The search parameters include latitude and longitude to retrieve a list of all staffs within a certain radius.
  • Currently, these three parameters can only be used when the Feature Flag is enabled.
double
-180 to 180
  • Latitude and longitude are used together with distance. The search parameters include latitude and longitude to retrieve a list of all staffs within a certain radius.
  • Currently, these three parameters can only be used when the Feature Flag is enabled.
double
≥ 0
  • Latitude and longitude are used together with distance. The search parameters include latitude and longitude to retrieve a list of all staffs within a certain radius.
  • Distance is measured in meters.
  • If no distance is provided, the default distance configured in Industries-settings will be used.
  • Currently, these three parameters can only be used when the Feature Flag is enabled.
string
length between 0 and 9999
Defaults to name

Order by field, should be one of -> name, external_id, manager, speciality, job_title, date_of_hire, created_at, updated_at

string
length between 0 and 9999
Defaults to DESC

Sort field, should be one of -> DESC, ASC

string
length between 1 and 255

Filters staffs by the values of their custom fields, in the format custom_field=<field_name>:<value>.
The parameter is optional and can be repeated, which is how AND and OR conditions are expressed:

  • Repeating the same field name matches any of its values (OR).
    ?custom_field=visit_category:wellness&custom_field=visit_category:acute_sick
    returns the staffs whose visit_category is either wellness or acute_sick.
  • Using different field names requires all of them to match (AND).
    ?custom_field=visit_category:wellness&custom_field=has_parking:true
    returns only the staffs that are in the wellness category and have parking.
  • The two can be combined.
    ?custom_field=visit_category:wellness&custom_field=visit_category:acute_sick&custom_field=has_parking:true
    returns the staffs whose visit_category is wellness or acute_sick, and that also have parking.

Omitting the parameter leaves the results unfiltered.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json