Skip to main content

sgrRetornaPosicaoFrota

Returns the Fleet position.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
dtposicaodatetimeYesDate for search.
currentpositionintegerYesSend 1 to return the vehicle's current position, or 0 to keep the filter date (dtposition).

METHOD RETURN:

ReturnDataset: If the parameters are correct, the property will display:

FieldTypeDescription
NRPLACACAVALOchar(7)License plate
CDVIAGintegerBoarding authorization number
FLEETstringVehicle fleet code
DTPOSICAOdatetimePosition date
POSICAOstringVehicle position
VLLATrealLatitude of registered position
VLLONGrealLongitude of registered position