GET api/Staff/GetStaff
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StaffModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Person | PersonModel |
None. |
|
| BranchNumber | string |
None. |
|
| BranchName | string |
None. |
|
| PositionTitle | string |
None. |
|
| Salary | decimal number |
None. |
|
| Organization | string |
None. |
|
| BusinessTitle | string |
None. |
|
| Department | string |
None. |
|
| IsRemote | boolean |
None. |
|
| NTLoginId | string |
None. |
|
| IsCurrent | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| CurrentSalaryStartDate | date |
None. |
|
| CurrentJobTitleStartDate | date |
None. |
|
| StaffLeadershipLevel | string |
None. |
|
| StaffPrimaryFunction | string |
None. |
|
| StaffRole | string |
None. |
|
| StaffStatus | string |
None. |
|
| StaffType | string |
None. |
|
| IsBranchAdmin | boolean |
None. |
|
| IsTpyAdmin | boolean |
None. |
|
| IsCeo | boolean |
None. |
|
| IsExchangeAdmin | boolean |
None. |
|
| IsResourceDirector | boolean |
None. |
|
| IsRosteredStaff | boolean |
None. |
|
| IsExchangeUser | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Person": {
"Title": "sample string 1",
"FirstName": "sample string 2",
"MiddleInitial": "sample string 3",
"LastName": "sample string 4",
"Suffix": "sample string 5",
"Nickname": "sample string 6",
"SSOName": "sample string 7",
"EmailAddress": "sample string 8",
"BirthDate": "2025-11-29T09:10:02.1723194-06:00",
"LastFourDigitsOfSSN": "sample string 9",
"YusaHrId": "sample string 10",
"Gender": "sample string 11",
"Ethnicity": "sample string 12",
"OriginalHireDate": "2025-11-29T09:10:02.1733211-06:00",
"BusinessPhone": "sample string 13",
"FaxNumber": "sample string 14"
},
"BranchNumber": "sample string 1",
"BranchName": "sample string 2",
"PositionTitle": "sample string 3",
"Salary": 1.0,
"Organization": "sample string 4",
"BusinessTitle": "sample string 5",
"Department": "sample string 6",
"IsRemote": true,
"NTLoginId": "sample string 8",
"IsCurrent": true,
"StartDate": "2025-11-29T09:10:02.175321-06:00",
"EndDate": "2025-11-29T09:10:02.175321-06:00",
"CurrentSalaryStartDate": "2025-11-29T09:10:02.175321-06:00",
"CurrentJobTitleStartDate": "2025-11-29T09:10:02.175321-06:00",
"StaffLeadershipLevel": "sample string 10",
"StaffPrimaryFunction": "sample string 11",
"StaffRole": "sample string 12",
"StaffStatus": "sample string 13",
"StaffType": "sample string 14",
"IsBranchAdmin": true,
"IsTpyAdmin": true,
"IsCeo": true,
"IsExchangeAdmin": true,
"IsResourceDirector": true,
"IsRosteredStaff": true,
"IsExchangeUser": true
},
{
"Person": {
"Title": "sample string 1",
"FirstName": "sample string 2",
"MiddleInitial": "sample string 3",
"LastName": "sample string 4",
"Suffix": "sample string 5",
"Nickname": "sample string 6",
"SSOName": "sample string 7",
"EmailAddress": "sample string 8",
"BirthDate": "2025-11-29T09:10:02.1723194-06:00",
"LastFourDigitsOfSSN": "sample string 9",
"YusaHrId": "sample string 10",
"Gender": "sample string 11",
"Ethnicity": "sample string 12",
"OriginalHireDate": "2025-11-29T09:10:02.1733211-06:00",
"BusinessPhone": "sample string 13",
"FaxNumber": "sample string 14"
},
"BranchNumber": "sample string 1",
"BranchName": "sample string 2",
"PositionTitle": "sample string 3",
"Salary": 1.0,
"Organization": "sample string 4",
"BusinessTitle": "sample string 5",
"Department": "sample string 6",
"IsRemote": true,
"NTLoginId": "sample string 8",
"IsCurrent": true,
"StartDate": "2025-11-29T09:10:02.175321-06:00",
"EndDate": "2025-11-29T09:10:02.175321-06:00",
"CurrentSalaryStartDate": "2025-11-29T09:10:02.175321-06:00",
"CurrentJobTitleStartDate": "2025-11-29T09:10:02.175321-06:00",
"StaffLeadershipLevel": "sample string 10",
"StaffPrimaryFunction": "sample string 11",
"StaffRole": "sample string 12",
"StaffStatus": "sample string 13",
"StaffType": "sample string 14",
"IsBranchAdmin": true,
"IsTpyAdmin": true,
"IsCeo": true,
"IsExchangeAdmin": true,
"IsResourceDirector": true,
"IsRosteredStaff": true,
"IsExchangeUser": true
}
]
application/xml, text/xml
Sample:
<ArrayOfStaffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YMCAAPI.Data.Models">
<StaffModel>
<BranchName>sample string 2</BranchName>
<BranchNumber>sample string 1</BranchNumber>
<BusinessTitle>sample string 5</BusinessTitle>
<CurrentJobTitleStartDate>2025-11-29T09:10:02.175321-06:00</CurrentJobTitleStartDate>
<CurrentSalaryStartDate>2025-11-29T09:10:02.175321-06:00</CurrentSalaryStartDate>
<Department>sample string 6</Department>
<EndDate>2025-11-29T09:10:02.175321-06:00</EndDate>
<IsBranchAdmin>true</IsBranchAdmin>
<IsCeo>true</IsCeo>
<IsCurrent>true</IsCurrent>
<IsExchangeAdmin>true</IsExchangeAdmin>
<IsExchangeUser>true</IsExchangeUser>
<IsRemote>true</IsRemote>
<IsResourceDirector>true</IsResourceDirector>
<IsRosteredStaff>true</IsRosteredStaff>
<IsTpyAdmin>true</IsTpyAdmin>
<NTLoginId>sample string 8</NTLoginId>
<Organization>sample string 4</Organization>
<Person>
<BirthDate>2025-11-29T09:10:02.1723194-06:00</BirthDate>
<BusinessPhone>sample string 13</BusinessPhone>
<EmailAddress>sample string 8</EmailAddress>
<Ethnicity>sample string 12</Ethnicity>
<FaxNumber>sample string 14</FaxNumber>
<FirstName>sample string 2</FirstName>
<Gender>sample string 11</Gender>
<LastFourDigitsOfSSN>sample string 9</LastFourDigitsOfSSN>
<LastName>sample string 4</LastName>
<MiddleInitial>sample string 3</MiddleInitial>
<Nickname>sample string 6</Nickname>
<OriginalHireDate>2025-11-29T09:10:02.1733211-06:00</OriginalHireDate>
<SSOName>sample string 7</SSOName>
<Suffix>sample string 5</Suffix>
<Title>sample string 1</Title>
<YusaHrId>sample string 10</YusaHrId>
</Person>
<PositionTitle>sample string 3</PositionTitle>
<Salary>1</Salary>
<StaffLeadershipLevel>sample string 10</StaffLeadershipLevel>
<StaffPrimaryFunction>sample string 11</StaffPrimaryFunction>
<StaffRole>sample string 12</StaffRole>
<StaffStatus>sample string 13</StaffStatus>
<StaffType>sample string 14</StaffType>
<StartDate>2025-11-29T09:10:02.175321-06:00</StartDate>
</StaffModel>
<StaffModel>
<BranchName>sample string 2</BranchName>
<BranchNumber>sample string 1</BranchNumber>
<BusinessTitle>sample string 5</BusinessTitle>
<CurrentJobTitleStartDate>2025-11-29T09:10:02.175321-06:00</CurrentJobTitleStartDate>
<CurrentSalaryStartDate>2025-11-29T09:10:02.175321-06:00</CurrentSalaryStartDate>
<Department>sample string 6</Department>
<EndDate>2025-11-29T09:10:02.175321-06:00</EndDate>
<IsBranchAdmin>true</IsBranchAdmin>
<IsCeo>true</IsCeo>
<IsCurrent>true</IsCurrent>
<IsExchangeAdmin>true</IsExchangeAdmin>
<IsExchangeUser>true</IsExchangeUser>
<IsRemote>true</IsRemote>
<IsResourceDirector>true</IsResourceDirector>
<IsRosteredStaff>true</IsRosteredStaff>
<IsTpyAdmin>true</IsTpyAdmin>
<NTLoginId>sample string 8</NTLoginId>
<Organization>sample string 4</Organization>
<Person>
<BirthDate>2025-11-29T09:10:02.1723194-06:00</BirthDate>
<BusinessPhone>sample string 13</BusinessPhone>
<EmailAddress>sample string 8</EmailAddress>
<Ethnicity>sample string 12</Ethnicity>
<FaxNumber>sample string 14</FaxNumber>
<FirstName>sample string 2</FirstName>
<Gender>sample string 11</Gender>
<LastFourDigitsOfSSN>sample string 9</LastFourDigitsOfSSN>
<LastName>sample string 4</LastName>
<MiddleInitial>sample string 3</MiddleInitial>
<Nickname>sample string 6</Nickname>
<OriginalHireDate>2025-11-29T09:10:02.1733211-06:00</OriginalHireDate>
<SSOName>sample string 7</SSOName>
<Suffix>sample string 5</Suffix>
<Title>sample string 1</Title>
<YusaHrId>sample string 10</YusaHrId>
</Person>
<PositionTitle>sample string 3</PositionTitle>
<Salary>1</Salary>
<StaffLeadershipLevel>sample string 10</StaffLeadershipLevel>
<StaffPrimaryFunction>sample string 11</StaffPrimaryFunction>
<StaffRole>sample string 12</StaffRole>
<StaffStatus>sample string 13</StaffStatus>
<StaffType>sample string 14</StaffType>
<StartDate>2025-11-29T09:10:02.175321-06:00</StartDate>
</StaffModel>
</ArrayOfStaffModel>