sgrListaDestinatarios
Returns a list of recipients used by the company.
PARAMETERS
| Field | Type | Req.? | Description |
|---|---|---|---|
| chaveacesso | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Client code, returned by the sgrListaEmpresasPASUsuario method. |
METHOD RETURN:
ReturnDataset: If parameters are informed correctly, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDCLIDEST | integer | Recipient code |
| DSDESTINATARIO | string | Recipient name |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no recipients linked to the company! |