I am trying to access PI WEB API but having problem as i am not getting Asset Server and Data server Link
You can get this behavior if you don't install the "PI Web API Core Services" during installation.
Could you go to Control Panel > Programs and Features > right-click on "PI Web API 2017 R2 SP1" in the list > Select Change > and when going through the installation confirm that you have the PI Web API Core service selected as part of the installation.
It is working now.
Retrieving data ...