Adding api example for numeric