Skip to main content

sgrRelDesempenhoViagem

Trip performance 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.
dtiniciodatetimeYesStart date for the search.
dtfimdatetimeYesEnd date for the search.
cdtravelintegerNoBoarding authorization number.
cdtranspintegerNoCarrier company code. This code is returned by the sgrListaTransportadoras method.
nrplacastringNoVehicle license plate (7 characters).

METHOD RETURN:

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

FieldTypeDescription
DTREFINIdatetimeStart date
DTREFFIMdatetimeEnd date
CDVIAGintegerShipment authorization number
CDTRANSPintegerCarrier code
CARRIERstringCompany name
CIDADEORIGintegerCity of origin
CIDADEDESTintegerDestination city
CDPFJintegerCompany code
DSNAMEstringCustomer name
DTPREVINIdatetimeEstimated start date
DTPREVFIMdatetimeEstimated end date
DTINICIOdatetimeStart date
DTFIMdatetimeEnd date
DTPREVISTAdatetimeEstimated delivery date
HRINIWINDOWdatetimeWindow start time
HRFIMWINDOWdatetimeWindow end time
DT ARRIVALdatetimeArrival date
DT_UNLOADdatetimeUnload start date
DT_ENDDISCHARGEdatetimeDischarge end date
DISCHARGE TIMEintegerDischarge time (days)
DTSAIDACLIdatetimeExit date
NRPLACACAVALOchar(7)Horse license plate.
MOTORISTstringDriver's name
HR ARRIVALstringArrival time
CIDDESTINATIOintegerDestination city code
VLQTDEVOLintegerNumber of packages
VLQTDEPECASintegerNumber of pieces
OUT OF WINDOWintegerIndicates whether the arrival was made outside the window (1-YES, 0-NO)