sgrRetornaPlacaVeiculo
Returns the vehicle license plate from the fleet number.
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. |
nrfrota | string | Yes | Vehicle fleet number. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
Field | Type | Description |
---|---|---|
NRPLACA | char(8) | Vehicle license plate |
NRFLEET | char(7) | Fleet number |
CDEMPRASTREA | integer | Tracking company code |
TRACKER | string | Tracker address |
DSEMPRASTREA | string | Tracking company name |
CDPROPVEIC | integer | Vehicle owner code |
PROPRIETARIO | string | Name of vehicle owner |
ReturnDescription: If there is an error when executing the method, the property will be displayed:
Error | Description |
---|---|
There is no vehicle with this fleet number registered! |