School set api call