adding endpoint to request building/{id} for the API