Skip to main content

sgrRetornaPlacaVeiculo

Returns the vehicle license plate from the fleet number.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
nrfrotastringYesVehicle fleet number.

METHOD RETURN:

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

FieldTypeDescription
NRPLACAchar(8)Vehicle license plate
NRFLEETchar(7)Fleet number
CDEMPRASTREAintegerTracking company code
TRACKERstringTracker address
DSEMPRASTREAstringTracking company name
CDPROPVEICintegerVehicle owner code
PROPRIETARIOstringName of vehicle owner

ReturnDescription: If there is an error when executing the method, the property will be displayed:

ErrorDescription
There is no vehicle with this fleet number registered!