Discussions
Enumerators in API
almost 6 years ago by Quinn Wildman
Using the employees/:id endpoint I can see the pay type and employee type of an employee as an integer. Looking at the UI, I can easily determine what the values mean. However, is there an enumerator I can call which describes what they mean, instead of having to look at the UI and just figuring it out?
I'm looking for something that effectively returns something like:
0 None
1 Full Time
2 Part Time
3 Seasonal
4 Temporary
5 Contractor
6 Volunteer
0 None
1 Hourly
2 Salary
3 Commission
4 Exception Hourly
5 Daily
6 Weekly
7 Monthly
8 Piece Race
9 Contract
10 Pro Rata