Skip to main content

sgrGerarPessoaFisicaV4

It registers individuals when there is a need to send a profile for research.

SoapAction

PARAMETERS:

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclientintegerYesClient code, returned by the sgrListCompaniesPASUser method.
cdpaisorigemintegerYesEmployee's nationality code, returned by the sgrListPais method.
numDocOrgExpintegerYesID card issuing country. Code returned by the sgrListaOrgaoEmissorRG method, only when the country of origin is Brazil (cdpaisorigem=1), inform -1 in other cases.
numDocUFintegerYesCode of the state where the CNH was issued. This code is returned by the sgrListaUF method.
strDocVinculostringYesProfessional profile link code. This code is returned by the sgrListaTiposVinculoPF.
dtDocEmissaostringYesDocument issue date (CPF). Format 'YYYY-MM-DD'.
dtDocMOOPstringNoMOPP expiration date. Format 'YYYY-MM-DD'. Enter '1900-01-01' when it doesn't exist.
dtDocEmissaoCNHstringNo*CNH issue date. Enter '1900-01-01' when it does not exist. * Mandatory when the professional is a driver.
dtDocVencCNHstringNo*CNH expiration date. Enter '1900-01-01' when it does not exist. * Required when the professional is a driver.
strDocCPFstringYesDocument number (CPF). Enter only the digits.
strDocRGstringYesID number. Enter only the digits.
strDocNrCNHstringNo*CNH number. Send “” (blank) when it doesn't exist. * Required when the professional is a driver.
strDocCategoriastringNo*Driver's license category. Send “” (blank) when it doesn't exist. * Mandatory when the professional is a driver.
strDocNrRegistrostringNo*Driver's license registration number. Send “” (blank) when it doesn't exist. * Required when the professional is a driver.
numDpProfissaointegerYesProfession code. Returned by the sgrListProfession method.
numDpEstCivilintegerYesMarital status code, returned by the sgrListaEstadoCivil method.
numDpSitResidenciaintegerYesResidential status code. This code is returned by the sgrListaTiposSituacaoResidencia method.
numDpNrYearintegerYesLength of residence (years).
numDpNrMonthsintegerYesLength of residence (months).
numDpNationalityintegerYesNationality code. This code is returned by the sgrListNationality method.
numDpNaturalityintegerYesNaturality code. This code is returned by the sgrListCities method.
dtDpBirthstringYesProfessional's date of birth. Format 'YYYY-MM-DD'.
strDpNamestringYesProfessional's name [50 characters]
strDpNamestringNoProfessional's surname. Send “” (blank) when it doesn't exist.
strDpFatherstringYesFather's name. Send “Not informed” when it doesn't exist.
strDpMaestringYesMother's name.
strDpSpousestringNoSpouse's name. Send “” (blank) when it doesn't exist.
strDpSexstringYesSex of professional. Can be 'F' or 'M'.
numEndCityintegerYesCity of residence code. This code is returned by the sgrListCities method.
strEndStreetstringYesStreet of residence.
strEndBairrostringYesNeighborhood of residence.
strEndNumberstringYesResidence number.
strEndComplementstringNoAddress complement. Send “” (blank) when it doesn't exist.
strEndCEPstringNoAddress zip code. Send “” (blank) when it doesn't exist.
strEndDD1stringYesDDD of phone 1.
strEndPhone1stringYesPhone number 1.
strEndDD2stringNo*DDD of phone 2. * Mandatory if strEndPhone2 is filled
strEndPhone2stringNoPhone number 2. Send “” (blank) when it doesn't exist.
strEndDDDFaxstringNo*Fax DDD. * Mandatory if strEndFax is filled in.
strEndFaxstringNoFax number. Send “” (blank) when it doesn't exist.
strEndEmailstringNoE-mail address. Send “” (blank) when it doesn't exist.
strPFTypestringNoType of Person. Always send “” (blank).
nrMOPPstringNoProfessional's MOPP number. Send “” (blank) when it doesn't exist.
nrMatriculaClientestringNoEnrollment number (employee) at the client [30 characters]. Send “” (blank) when it doesn't exist.
cdEntidadeMOPPintegerNoMOPP registration entity code. This code is returned by the sgrListMOPPEntities method. Send -1 when no MOPP exists.
dtContratacaoClientestringNoDate the professional was hired. Format 'YYYY-MM-DD'. Send “” (blank) when it doesn't exist.
dtVctoAsostringNoASO expiration date. Format 'YYYY-MM-DD'. Send “” (blank) when it doesn't exist.
dtVctoRecstringNoRecycling expiration date. Format 'YYYY-MM-DD'. Send “” (blank) when it doesn't exist.
dtVctoPsistringNoPsychotechnic expiration date. Format 'YYYY-MM-DD'. Send “” (blank) when it doesn't exist.
ReferencesListYesList containing the professional's Personal References, of type sgrRefPersonal. The minimum number of personal references required varies according to the client's settings. If you have any doubts about this setting, contact your account manager.
strNrRadioStringNoRadio number for contacting the driver.

Observation: To make it easier to understand the secondary methods that must be called to return the codes required in the parameters listed above, the following is an analogy between the secondary methods and the registration screen in Clipas NET. The Web Service and Clipas NET do not necessarily have to contain the same fields. In blue, the names of the parameters have been written. In red are the secondary methods.

Figure 1: Complete cadastre of PF no Clipas NET, aba Documents.

Figure 2: Complete PF registration screen in Clipas NET, Personal Ref tab.

Figure 3: Complete PF registration screen in Clipas NET, Personal data tab

Figure 4: Complete FP registration screen in Clipas NET, Address tab.

RETURN METHOD:

ReturnDataset: If the parameters are correctly entered, the ReturnDataset property will be displayed:

FieldTypeDescription
CDPFJintegerCode of the professional profile 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
Could not register professional profileIn this case, the Web Service must return the dataset with the errors that made registration impossible.

If you need to provide more personal references, you can use the sgrAdicionaRefPessoais