Skip to main content

sgrRetornaPF

Returns the professional profile data (Opentech register).

SoapAction

PARAMETERS

FieldTypeReqDescription
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdCountryOriginintegerYesCountry of origin code, returned by the sgrListCountry method.
nrDocumentostringYesProfessional's document number (CPF).
cdcliintegerYesClient code, returned by the sgrListaEmpresasUsuario method.

METHOD RETURN:

ReturnDataset: If the parameters are correct, the property will be composed of the following tables: sgrPessoaFisica, sgrRefPessoais, sgrRefBancaria and sgrFoto.

sgrPessoaFisica:

FieldTypeDescription
CDPFJintegerProfessional profile code
CDUFCNHintegerCNH issuing UF code
NRCNHstringCNH number
DSCATCNHstringCNH category
NRREGISCNHstringCNH registration number
DTEMISCNHdatetimeCNH issue date
DTVCTOCNHdatetimeCNH expiration date
DTVCTOMOOPdatetimeMOPP expiration date
FLTIPOPESSOAintegerType of Person
NRCGCCPFstringCPF number
DSNOMEstringName
SURNAMEstringProfessional's surname
DSStreetstringAddress
DSBAIRROstringAddress Neighborhood
NRRUAstringAddress Number
DSCOMPLRUAstringAddress Complement
NRCEPstringZip Code
CDCIDintegerCity code
NRFONE1stringPhone number 1
NRFONE2stringPhone number 2
NRFAXstringFax number
DSEMAILstringE-mail
NRIDENTstringID number
CDORGAEMISRGintegerID Issuing Body Code
DTEXPEDdatetimeDate of issue of ID card
CDPROFISintegerProfession code
DTNASCdatetimeDate of birth
FLSEXOchar(1)Sex
DSPAIstringFather's name
DSMAEstringMother's name
CDESTCIVILintegerMarital Status Code
DSCONJUJEstringSpouse's Name
FLSITRESIDintegerResidence Status
NRANORESIDintegerNumber of years of residence at address
NRMESRESIDintegerNumber of months living at address
CDPAISNACintegerCountry of Nationality Code
DSPAISNATIONALITYstringName of country of nationality
NATURALITYintegerCity of birth code
DSCIDADENATURALITYstringName of city of birth
FLVINCULOstringPF's relationship with the company
VLLATfloatLatitude of address
VLLONGfloatLongitude of address
CDOPintegerOpentech internal use
DSESTADOCNHstringCNH issuing state
DSNOMECURTOstringName of the CNH issuing body
DSPROFISstringIndividual's profession
DSESTCIVILstringMarital status
DSSITRESIDstringResidence status
CIDADEENDERECOstringCity of residence
DSORGAOEMISSRGstringName of ID issuing body
DTVCTOASOdatetimeASO expiration date
DTVCTORECdatetimeRecycling due date
DTVCTOPSIdatetimePsychotechnic due date
NRMOPPstringMOPP number
CDENTIDADEMOPPintegerMOPP registration entity code
DSENTIDADEMOPPstringName of MOPP registration entity
NRMATRICULACLIENTstringCompany registration number (employee)
DTCONTRATACAOCLIENTEdatetimeDate the individual was hired by the company
CDOPERACAOintegerIndividual's operation code in the company
DSOPERATIONstringOperation description
CDUNIDADERESPintegerCode of the unit responsible for the individual
DSUNIDADERESPstringUnit Description
NRRNTRCstringANTT registration number
DTVALIDADERNTRCdateANTT registration validity date
nrDD1stringphone DDD 1
nrDD2stringDDD of phone 2
nrDDDFaxstringFAX DDD

sgrRefPersonnel

FieldTypeDescription
CDREFPESintegerPersonal reference code
DSNAMEstringPersonal reference name
DSBAIRROstringName of personal reference's address neighborhood
DSRUAstringPersonal reference's address
NRSTREETstringaddress number
DSCOMPLRUAstringAddress complement
NRCEPstringZIP code of address
CDTIPORELACintegerRelationship type
CDCIDintegerPersonal reference address city code
NRFONE1stringPhone number 1 of the personal reference
NRFONE2stringPhone number 2 of the personal reference
DTINCLUSIONstringPersonal reference's inclusion date
DSCITYstringCity of reference
DSTIPORELACstringRelationship type description
nrDD1stringDDD number of phone number 1 of the personal reference
nrDD2stringDDD number of phone 2 of personal reference

sgrRefBanking

FieldTypeDescription
CDCONTABANCOintegerAccount code
NRBANKstringBank number
NRAGENCYstringBranch number
NRCCstringCurrent account number
CDBANCOintegerBank code
DSBANCOstringBank name

sgrPhoto:

FieldTypeDescription
CDPFJintegerProfessional profile code
CDOPintegerOperator code (Opentech internal use)
BLFOTOblobPhoto

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

ErrorDescription
The CPF or CNPJ entered is invalid The document format entered is invalid.You must enter it again.
CPF Not RegisteredFollow the steps in the DRIVER CONSULTATION AND REGISTRATION