Skip to main content

sgrListaCidadesCliente

Returns a list of cities used in the client's routes.

SoapAction

PARAMETERS

FieldTypeReq.?Description
accesskeystringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.
typestringNoEnter “d” or “D” for destination cities, and “o” or “O” for origin cities. By default, the method returns the origin cities.

METHOD RETURN:*

ReturnDataset: If the access key entered is valid, the dataset will display:

FieldTypeDescription
CDCIDintegerCity Code
DSCIDADEstringCity Name
DSUFstringState Acronym
CDIBGEintegerIBGE City Code

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

ErrorDescription
There are no cities available!