sgrListaProfissao
Returns a list of registered professions.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| accesskey | string | Yes | Key returned by the sgrLogin method. |
METHOD RETURN:
ReturnDataset: If the access key provided is valid, the property will display:
| Field | Type | Description |
|---|---|---|
| CDPROFIS | integer | Profession code |
| DSPROFIS | string | Profession name |
| FLMOTORISTA | smallint | Indicates whether the profession is driver (or similar) |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no registered Professions! |