I am new to javascript api and need some directions and sample code to call a remote webservice api to get the data and then create markers with labels on the map.
Esri has all sorts of examples for pulling in data from a REST web service, this one talks about working with styling: https://developers.arcgis.com/javascript/latest/style-a-feature-layer/