sensor type API call implementation