sgrEnviaPesquisaPFV2
Send professional profile to Normal Search.
PARAMETERS:
Field | Type | Req. | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdclient | integer | Yes | Client code, returned by the sgrListCompaniesPASUser method. |
cdpessoa | integer | Yes | Professional profile code, returned by the sgrConsultaPF method. |
emailreturn | string | No | E-mail to send the information on the completion of the survey. 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 |
---|---|
CPF not registered | CPF was not found. The professional must be registered first, and then sent to Search. |
Driver with Current Registration | The driver's registration is still current, so there is no need to send it to Search. |
The driver's registration has already been sent to Search | There is no need to send it again. |
It was not possible to send it to Search | Client does not have a contracted search service. If you are interested in including the service, ask your account manager. |
Error when Including Driver in Search | This error may be caused by an incorrect parameter, the field to be corrected will be indicated in the returnDataset property. This means you need to check the parameters and run the method again. It may also indicate a timeout or a dropped connection to the database. It is necessary to pass on the data entered, as well as the method name, issue time and customer code, to the following e-mail address: [email protected] so that the error can be validated. |
You must enter QtMinimaReferenciasPersonais personal references | QtMinimaReferenciasPersonais is the minimum number of personal references, which is set by the account manager. By default, the minimum number is three references. |
Driver with Employee Link to another company | Professional is already registered as an Employee with another company. In this case, the account manager must be asked to validate the registration. |
It is mandatory to inform the Driver's Relationship. | You must go back to the driver's record and include the professional's relationship so that the data is ready to be sent for research. |
Information:
If the query carried out by the sgrConsultaPF method brings up records, the driver searched for is already in the system. You then need to check the status of this record. The status of the record can be:
Situation | Description |
---|---|
NO SEARCH | This situation can mean two things: 1. the client has not contracted the search service. Therefore, the driver can be selected for a trip. 2. The client has contracted the search service, but the professional profile has not yet been sent to the search. In this case, the driver cannot yet be selected for a trip. To check the types of search, go back to the PROFESSIONAL PROFILE SEARCH option. |
IN SEARCH | The search request has already been sent to Opentech. You must wait for the deadlines set before the driver's search is carried out. |
EXPIRED | At least one search has already been carried out on the profile, but the validity of that search has expired. The driver cannot be selected for a trip unless they pass a new search. To check the types of search, go back to the PROFESSIONAL PROFILE SEARCH option. |
NOT INDICATED | The professional has passed the survey, but has not passed at least one of the criteria. The driver cannot be selected for a trip unless they pass a new survey. To check the types of search, go back to the PROFESSIONAL PROFILE SEARCH option. |
INDICATED | The driver has passed the evaluation and has been approved. Your record is ready to be used to generate AE's by the client. |