The Swedish Mapping, Cadastral, and Land Registration Authority creates and maintains the national terrain model, which is regularly updated. In many areas, it provides the best available elevation data. The authority offers the web service "Elevation Direct", which returns elevation values for specific points or breakpoints along a line or polygon.
I would like to integrate my code to fetch elevation data from the "Elevation Direct" service with the Elevation framework in ArcGIS Pro. I envision adding it as a custom source that can be selected from the "Mode" dropdown in the "Elevation" group on the "Edit" ribbon tab. This way, when I create new features, they will automatically receive Z-coordinates directly from this source/service.
I am looking for guidance on how to integrate this workflow into ArcGIS Pro.
I'm fairly certain that "Surface" setting you see there is relative to whatever surface data is present in your Pro project. If that Authority publishes a DEM, you can set that as your surface layer in the project, if you're in a 3D scene.
Yes, you are right it could be a solution. However, in this case the authority does not publish DEM or any other format ArcGIS can consume and use as a surface layer. The authority service is a REST - based web service secured by OAuth2.