Skip to main content

sgrRetornaDataUltimaPosicaoVeiculoV3

Returns the vehicle's last 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.
trackerintegerYesVehicle tracker code
cdEmpRastreaintegerYesVehicle tracker company code

METHOD RETURN:

ReturnDataset: If the parameters are entered correctly, the dataset will return:

CampoTipoDescrição
dtposicaostringData da ultima posição
vllatdecimalNumero da latitude
vllongdecimalNumero da Longitude
referenciastringNome do cliente
cidadestringCidade
codibgeinteiroCodigo IBGE da cidade