Skip to main content

sgrListaPontosRota

Returns a list of waypoints for a route.

SoapAction

PARAMETERS

FieldTypeRequired?Description
accesskeystringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.
cdrotaintegerYesRoute Code. This code is returned by the sgrListaRotas method.
cdcidorigemintegerNoOrigin city code. This code is returned by the sgrListaCidades method.
cdciddestinointegerNoDestination city code. This code is returned by the sgrListaCidades method.

METHOD RETURN:

ReturnDataset: If the access key provided is valid, the property will display:

FieldTypeDescription
CDTRECHOintegerSection code
CDAPOIOintegerSupport point code
DSFANTASIAstringSupport point name
CDCIDintegerCity code
NRFONE1char(12)Support point phone number 1
NRFONE2char(12)Support point phone number 2
NRFAXstringSupport point fax number
NRDDDsmallintCity area code
FLPARADAstringStop status (allowed or mandatory)
DSCIDADEstringCity name
DSNOMECIDstringCity name
DSSIGLAUFchar(2)State abbreviation
VLDISTTOTdecimalTotal distance
CDTIPOAPOIOintegerSupport point type code
DSTIPOAPOIOstringSupport point type
VLSEQintegerSupport point sequence
VLLATdecimalPoint latitude
VLLONGdecimalPoint longitude
SENTIDOstringPoint city
DSRUAstringPoint address street
NRNUMchar(6)Address number
DSCOMPLchar(50)Address complement
DSBAIRROstringSupport point neighborhood
NRCEPstringSupport point zip code
VLKMfloatPoint mileage
CDRODchar(7)]Highway

ReturnDescription: If there is an error executing the method, the property will display:

ErrorDescription
The requested route does not exist or there are no stopping points on the routeNo stopping point was found linked to the searched route. It is necessary to check whether the route code was entered correctly