Skip to main content

ssgrAdicionaRefPessoais

Adds personal references to the professional's record.

SoapAction

PARAMETERS:

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclientintegerYesClient code, returned by the sgrListCompaniesPASUser method.
cdpessoaintegerYesProfessional profile code, returned by the sgrConsultaPF method
ReferencesListYesList of personal references. Array of type sgrRefPersonal.

METHOD RETURN:

ReturnDataset: If the parameters are correct, the reference is included and the dataset will display:

FieldTypeDescription
CDPFJintegerCode of the professional profile to which the reference was associated

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

ErrorDescription
CPF not registeredThe customer code entered was not found. The sgrConsultaPF method must be used to find the correct code.
Personal references could not be registeredFor this, the Web Service must return the dataset with the errors that made registration impossible. You need to check the data and try again.