Skip to main content

sgrRelHistViagem

Travel History 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.
cdVeicintegerYesVehicle code, returned by the sgrConsultaVeic method.
cdCarreta1integerNoCart code, returned by the sgrConsultaVeic. method
cdViagintegerNoShipment authorization number
nrControlCargostringNoField for free use by the client. Send '' (blank) when it doesn't exist.
CitybooleanNoDisplay the cities in the reference points.
PtoSupportbooleanNoDisplay the support points.
PtoRefbooleanNoDisplay customer matrices/branches.
DtStartdatetimeYesStart date for the search.
DtEnddatetimeYesEnd date for the search.
cdtranspintegerNoTransport company code. This code is returned by the sgrListaTransportadoras method.

METHOD RETURN:

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

FieldTypeDescription
CDCLIintegerCustomer code
CLIENTstringClient name
CDMONITintegerMonitoring code
NRPLACACAVALOchar(7)Horse license plate
NRPLACACARRETAchar(7)License plate of trailer.
DTPOSdatetimePosition date
VLLATfloatLatitude
VLLONGfloatLongitude
FLIGNATIONsmallintIgnition status
IGNITIONsmallintIgnition status (Description)
DISTANCEstringDistances from desired points (depends on what was selected in the City, PtoSupport and PtoRef parameters)