Skip to main content

sgrRetornaQuilometragemVeiculo

Returns the mileage traveled by a vehicle

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
nrplacastringYesVehicle license plate, in the format (7 characters).
dtinidatetimeYesStart date for the search.
dtfimdatetimeYesEnd date for the search.

METHOD RETURN:

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

FieldTypeDescription
TRAVELstringBoarding authorization number
VLKMPERCORRIDOrealMileage traveled (in meters) on the trip by the vehicle entered. If there is a change of horse during the trip, in order to obtain the total mileage covered during the trip, the amount calculated for each of them must be added together.