Skip to main content

sgrVerificaViagemVeiculo

Check if there are any open AE's for the vehicle.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
nrplacastringYesVehicle license plate number (7 characters).

METHOD RETURN:

If the access key entered is valid and there is a trip associated with the vehicle, the ReturnDataset property of the sgrData object will display:

FieldTypeDescription
CDVIAGintegerBoarding authorization number
FLSITUATIONsmallintIndicates the status of the trip
DSSITUATIONstringSituation

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

ErrorDescription
There is no open trip for this vehicle.