Skip to main content

sgrAtualizarOperacaoVeiculoMotorista

Update the operation used by the vehicle/driver.

SoapAction

PARAMETERS

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
flTypestringYesUpdate type (“M” for driver and “V” for vehicle).
cdpaisorigemintegerYesCode of the vehicle/driver's country of origin, returned by the sgrListaPais method.
nrPlacanrDocMotoriststringYesLicense plate or document number (CPF).
cdoperacaointegerYesOperation code. This code is returned by the sgrListaOperacoesCliente method.

METHOD RETURN:

If the parameters are valid, the driver/vehicle operation is updated and returns ReturnDescription = OK.

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

ErrorDescription
The vehicle/driver is not registered.Follow the steps in CONSULT AND REGISTER DRIVER or CONSULT AND REGISTER VEHICLE.