Personnel Rules and Regulations - Rule 5 - Appointments - Department of Citywide Administrative Services (nyc.gov)
This should answer a lot of questions.