Skip to main content

sgrListaProfissao

Returns a list of registered professions.

SoapAction

PARAMETERS

FieldTypeRequired?Description
accesskeystringYesKey returned by the sgrLogin method.

METHOD RETURN:

ReturnDataset: If the access key provided is valid, the property will display:

FieldTypeDescription
CDPROFISintegerProfession code
DSPROFISstringProfession name
FLMOTORISTAsmallintIndicates whether the profession is driver (or similar)

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

ErrorDescription
There are no registered Professions!