call api functions to staff model