Skip to main content

sgrGerarVeiculoV8

Vehicle registration

SoapAction

PARAMETERS:

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
CadastroVeiculoCompletoclassYesVehicle data, filled in the object Object CadastroVeiculoCompleto

Observation: To make it easier to understand the secondary methods, which must be called to return the codes required in the parameters listed above, an analogy between the secondary methods and the registration screen in Clipas NET will be presented below:

Figure 1: Complete vehicle registration screen in Clipas NET, Vehicle tab. In blue, the names of the parameters have been written. In red are the secondary methods.

Figure 2: Complete vehicle registration screen in Clipas NET, Owner tab.

Figure 3: Complete FP registration screen in Clipas NET, Tracker/Accessories tab.

METHOD RETURN:

ReturnDataset: If the parameters are entered correctly, the dataset will return:

FieldTypeDescription
CDVEICintegerCode of the vehicle registered in the execution of the method

ReturnDescription: If there is an error in the execution of the method, the object's property will display:

ErrorDescription
Vehicle could not be registeredIn this case, the Web Service must return the Dataset with the code and description of the errors that made registration impossible