Get all staff in an organization
GET PublicApi/{rewriteUrl}/{language}/StaffV3/{id}/GetStaffFromOrganization
?page={page}
&perPage={perPage}
A staff is a person that can be assigned to events such as: activities, private lessons, bookings or contracts. The endpoint returns a list of staff members ordered by id.
Request Information
URI Parameters
PARAMETERS | ||
---|---|---|
rewriteUrl (string) |
Unique, url-friendly organization token. Part of base url |
Required |
language (string) |
Language in which the localizable values should be returned. Part of base url. Value is either 'fr' or 'en' |
Required |
id (string) |
Id of the item before the /{id} in the url |
Required |
page (integer) |
Result page number that appears first. Default value is 1 |
Optional |
perPage (integer) |
Number of results per page. Default value is 200 |
Optional |
Body Parameters
None.
Response Information
Resource Description
PARAMETERS | ||
---|---|---|
Tags () |
Object containing the id and name of a tag. Tags are used to group and retrieve activities, such as 'morning' or 'George Smith' |
|
Id (integer) |
Resource id |
|
FirstName (string) |
First name of the person |
|
LastName (string) |
Last name of the person |
|
FullName (string) |
First and last name with a space in between |
|
Gender (Gender) |
Object containing the gender values NotSpecified, Male, Female and PreferNotToSay |
|
DateOfBirth (date) |
Format is 9999-12-31 |
|
Email (string) |
Email address |
|
Address (GeoAddressApiModelV3) |
Object containing the address (door number, street name, city, state/province, country, zip/postal code, latitude and longitude) |
|
Telephone (string) |
Telephone number |
|
TelephoneMobile (string) |
Mobile telephone number |
|
TelephoneWork (string) |
Work telephone number |
|
TelephoneWorkExtension (string) |
Work telephone number extension |