Skip to main content

sgrRetornaVeicV3

Returns the Vehicle data.

SoapAction

PARAMETERS

FieldTypeReq?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdPaisOrigemintegerYesVehicle licensing country code, returned by the sgrListaPais method.
nrplacastringYesVehicle license plate, in the format (7 characters).

METHOD RETURN:

ReturnDataset: If the access key entered is valid and the other parameters are correct, the dataset will return three tables: sgrVeic, sgrVeicTemp and sgrVeicAcess.

sgrVeic:

FieldTypeDescription
CDVEICintegerVehicle code
CDEMPRASTREAintegerTracking company code
CDPROPVEICintegerVehicle owner code
NRFLEETchar(7)Fleet number
CDMODVEICintegerVehicle model code
CDMARCAVEICintegerVehicle make code
CDTPCOMBintegerFuel type code
CDTPVEICintegerVehicle type code
CDTIPOCARintegerBody type code
CDCORintegerColor code
NRPLACAchar(8)License plate number
NRCHASSIstringVehicle chassis number
NRANOFABintegerVehicle year of manufacture
NRANOMODintegerVehicle model year
NRRENAVAMstringRENAVAM number
NRCERTstringCertificate number
DTTRANSFdatetimeDate of transfer
DTEMISdatetimeCertificate issue date
CDCIDLICENCIAintegerLicensing city code
VLCAPVOLmoneyLoad capacity (volume)
VLCAPPESOmoneyLoad capacity (weight)
VLODOMETERdecimalCurrent odometer value
CDENDERRATRstringTracker address
CDOPintegerChange operator code
DTINCLdatetimeDate the record was added
DTALTERdatetimeDate of last change to record
CDPAISORIGINintegerVehicle country of origin code
CDORGAEMISRGintegerCode of the Issuing Body of the owner's ID card
DTEXPEDdatetimeDate owner's ID issued
NRCGCCPFstringOwner's CNPJ/CPF number
NRIDENTstringOwner's ID number
CDPAISNACintegerOwner's country of nationality code
DTNASCdatetimeOwner's date of birth
DSNAMEstringOwner's name
DSPAIstringOwner's Father's Name
DSMAEstringOwner's Mother's Name
FLSEXOstringOwner's gender
NATURALITYintegerOwner's address city code
DSStREETstringOwner's address
DSBAIRROstringOwner's neighborhood
NRStREETstringowner's address number
DSCOMPLRUAstringOwner's address complement
NRCEPstringowner's zip code
NRFONE1stringOwner's phone number 1
NRFONE2stringOwner's phone number 2
NRFAXstringowner's fax
DSEMAILstringOwner's e-mail
CDPAISORIGEMPROPintegerVehicle owner's country of origin code
FLTIPOPESSOAstringType of Person (owner) Physical/Legal
DTVCTOCALIBRATIONdatetimeCalibration due date
VLCAPPALLETSrealPallet capacity
VLTARArealVehicle tare weight
DTVCTOMAPAdatetimeMAP expiration date
CDEMPRASTREA2integerTracking company code of the second tracker
CDENDERRASTR2stringSecond tracker number
DSMODVEICstringVehicle model Description
DSMARCAVEICstring Descriptionvehicle make
DSTPCOMBstringFuel type description
DSTPVEICstringDescription of vehicle type
DSTIPOCARstringBody type Description
DSCORstringVehicle color description
DSCIDADELICENCIAstringName of licensing city
VEHICLE ORIGIN COUNTRYstringName of the vehicle's country of origin
DSORGAOEMISRGstringName of ID issuing agency
DSNATIONALITYstringOwner's nationality
PAISORIGEMPROPstringName of owner's country of origin
DSEMPRESARASTRstringName of technology company
FLVINCULOstringCompany link
DTVCTOCAPACITACAOdatetimeTraining expiration date
NRMETAFINANCEIRAKMfloatFinancial goal value in kilometers
NRMETAFINANCEIRARSfloatFinancial target value in Reais
DSCIDADEPROPRIETARIOstringOwner's city name
CDOPERACAOintegerOperation code
DSOPERATIONstringOperation description
CDUNIDADERESPintegerResponsible unit code
DSUNIDADERESPstringName of responsible unit
NRCGCCPFALIENADOstringCNPJ of the seller of the vehicle
DSNOMEALIENADOstringName of the seller
NRRNTRCstringANTT registration number
DTVALIDADERNTRCdateANTT registration validity date
CDCIDintegerOwner's city code
NRDDD1stringPhone 1 DDD number
NRDD2stringPhone 2 DDD number
NRDDDFAXstringFAX DDD number
DTINITOLERANCIAdateInitial date on which the vehicle can be used for trips even without the temperature sensor.
DTFIMTOLERANCIAdateEnd date on which the vehicle can be used on journeys even without the temperature sensor.
OPALTERTOLERANCIAIntegerCode of the user who configured the AE emission tolerance even if the vehicle does not have the temperature sensor.
DTALTERTOLERANCIAdateDate on which the configuration was made for tolerance in the generation of AE for a vehicle without a temperature sensor.

sgrVeicTemp:

FieldTypeDescription
CDTPSENSTEMP1integerTemperature Sensor Type Code 1
VLTOLERASUP1integerUpper Temperature Tolerance Value 1
VLIDEALSUP1integerUpper Ideal Temperature Value 1
VLIDEALINF1integerLower Ideal Temperature Value 1
VLTOLERAINF1integerLower Temperature Tolerance Value 1
CDTPSENSTEMP2integerTemperature Sensor Type Code 2
VLTOLERASUP2integerUpper Temperature Tolerance Value 2
VLIDEALSUP2integerUpper Ideal Temperature Value 2
VLIDEALINF2integerLower Ideal Temperature Value 2
VLTOLERAINF2integerLower Temperature Tolerance Value 2
CDTPSENSTEMP3integerTemperature Sensor Type Code 3
VLTOLERASUP3integerUpper Temperature Tolerance Value 3
VLIDEALSUP3integerUpper Ideal Temperature Value 3
VLIDEALINF3integerLower Ideal Temperature Value 3
VLTOLERAINF3integerLower Temperature Tolerance Value 3
CDTPSENSTEMP4integerTemperature Sensor Type Code 4
VLTOLERASUP4integerUpper Temperature Tolerance Value 4
VLIDEALSUP4integerIdeal Upper Temperature Value 4
VLIDEALINF4integerLower Ideal Temperature Value 4
VLTOLERAINF4integerLower Temperature Tolerance Value 4
CDTPSENSTEMP5integerTemperature Sensor Type Code 5
VLTOLERASUP5integerUpper Temperature Tolerance Value 5
VLIDEALSUP5integerUpper Ideal Temperature Value 5
VLIDEALINF5integerLower Ideal Temperature Value 5
VLTOLERAINF5integerLower Temperature Tolerance Value 5
DTALTERdatetimeDate of last change in record
DTINCLdatetimeRecord inclusion date
CDOPintegerCode of the operator who made the change
DSNAMEACCESSchar(10)User name

sgrVeicAccess

FieldTypeDescription
CDVEICintegerVehicle code
CDTPACESSintegerAccessory type code
DSTPACESSstringAccessory Description

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

ErrorDescription
The vehicle has not yet been registered.You must follow the steps in CONSULTING AND REGISTERING VEHICLES.