Part time workers via API

Is there a way of pulling a specific report/data set via the API that identifies which members of staff are part time and which are full time?

I am trying to separate out the two types of user via power query in excel so that I do the aggregation in excel. Any help will be greatly appreciated!

Cheers.