sgrEnviaPesquisaExpressaVeic
Send a vehicle for research.
PARAMETERS:
Field | Type | Required? | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
cdveic | integer | Yes | Vehicle code, returned by the sgrConsultaVeic method. |
emailreturn | string | No | E-mail to send the information at the end of the search. Send “” (blank) if it doesn't exist. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the record will be sent to search and the dataset will display it:
Field | Type | Description |
---|---|---|
CDSOLICSURVEY | integer | Search request code |
ReturnDescription: If there is an error in the execution of the method, the property will be displayed:
Error | Description |
---|---|
License plate not registered | The license plate has not been located. The vehicle must first be registered before it can be sent for research. |
Error when sending to search | Client does not have the contracted search service. If you are interested in including the service, ask your account manager. |
Vehicle with Current Registration | The vehicle's registration is still current, there is no need to send it to Search. |
Vehicle with Provisional Release | The vehicle is within the stipulated provisional release period. You must wait for this period to expire before requesting a search. |
Vehicle with Search in Progress | The vehicle's registration has already been sent for search, there is no need to send it again. |
| Client does not have a contracted express search. The client does not use the express search, so a normal search must be requested.
If the customer opts for the normal search, the following method is used to send the vehicle registration to this stage sgrEnviaPesquisaVeicV2: