sgrRetornaDataUltimaPosicaoVeiculoV3
Returns the vehicle's last position
PARAMETERS:
Field | Type | Required? | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
tracker | integer | Yes | Vehicle tracker code |
cdEmpRastrea | integer | Yes | Vehicle tracker company code |
METHOD RETURN:
ReturnDataset: If the parameters are entered correctly, the dataset will return:
Campo | Tipo | Descrição |
---|---|---|
dtposicao | string | Data da ultima posição |
vllat | decimal | Numero da latitude |
vllong | decimal | Numero da Longitude |
referencia | string | Nome do cliente |
cidade | string | Cidade |
codibge | inteiro | Codigo IBGE da cidade |