Skip to main content

sgrRelPosicaoVeiculoV2

Vehicle Position Report.

SoapAction

PARAMETERS

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
CitybooleanNoDisplay the cities in the reference points.
PtoSupportbooleanNoDisplay the support points.
PtoRefbooleanNoDisplay customer matrices/branches.
LoadControlstringNoLoad control number. Send '' (blank) when it doesn't exist.
HorseListNoList of vehicles to be searched, of type sgrVehicle.
CartListNoList of carts to be searched, of type sgrVehicle.
FleetListNoList of fleets to be searched.
cdtranspintegerNoTransport company code. This code is returned by the sgrListaTransportadoras method.
dtStartdatetimeNoStart date for the search.
dtEnddatetimeNoEnd date for the search.

METHOD RETURN:

ReturnDataset: If the parameters are filled in correctly, the property will display:

FieldTypeDescription
CLIENTstringClient company name
CDMONITintegerMonitoring code
VEHICLEchar(7)Vehicle license plate
TRUCK1char(7)TRUCK1 license plate
DTULTPOSMONdatetimeDate of last monitored position
DRIVERstringDriver's name
DOCUMENTstringdriver's CPF
ORIGINDESTINATIONstringCity and state of origin / City and state of destination
REFERENCEstringPosition reference point
NRFLEETchar(7)Vehicle fleet number
FLTIPOMONITsmallintType of monitoring (1-PHONE, 2-SATELLITE, 3-RADIO, 4-REPOM)
VLULTPOSLATstringLatitude of last position
VLULTPOSLONGstringLongitude of last position