This space is dedicated to SAP users - administrators and programmers who want to integrate PTV Developer (native), the PTV xServers or the SAP Hana Spatial Services (HSS). Topics which require specific SAP based knowhow or which deal with SAP based mechanisms will be collected here.
today I was in a call with an xServer "rookie" who just starts with the APIs. He asked me how to create a mapping interface based on Visual Business but unfortunately I am not familiar with SAP in detail. He showed this SAP page and the PTV based document which is based on xMap1.
He expected me to tell him a simple REST URL scheme such as
but I am not sure whether this scheme is what he would need. Can anyone guide us through this?
Best regards,
Bernd
Bernd Welter Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
@MISTERX, Could you please provide your inputs for the following questions?
1. For an On Premise (Local Server) installation of PTV, Do we need to pass the "xtok" parameter as a part of the "REST API URL"? (I assume this is not needed, Please correct me if am wrong)
2. Will the below proposed URL work for SAP TM application as well where an Interactive map is usually rendered for performing Freight planning and for viewing actual routes between different geo-coordinates?
I assume values for {LOD} ,{X} and {Y} are determined dynamically by SAP when it generates a call to PTV server. Kindly let us know if we need to specify default values for these parameters in the Map configuration step?
Note: Again this question is for an On Premise (Local Server) installation.
3.If the local installation has a "Https" connection with the server can we replace "Http" connection with "Https" in the Rest API URL?
#1 You got it right: On-Premises-xServers do not need xtok (aka token).
#2 Yes, SAP TM provides a map-container in the planning cockpit and will work as well with xMap2 via REST and the values for {LOD}, {X} und {Y} will be determined dynamically by SAP.
#3 On-Premises-xServer (aka local installation) run normally with HTTP, only. From my point of view, there are no reasons to work with HTTPS. But anyhow, there is no difference in the request-URL besides with or without S (aka Secure).
Mr. X
Integration PTV <> SAP
Senior Consultant
________________________________________________ Optimism is only a lack of data!