sgrListaAlvosClienteInstrucao
List the client targets where tracking instructions are allowed.
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 the parameters are valid, the dataset will display:
| Field | Type | Description |
|---|---|---|
| DSRETORNO | string | Target name |
| DSRETORNOVALUE | integer | Target code |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There was an error listing the targets. Please try again! | This error may be caused by an incorrect parameter; the field to be corrected will be indicated in the returnDataset property. Therefore, it is necessary to check the parameters and run the method again. It may also indicate a timeout or a connection failure with the database. It is necessary to forward the information provided, as well as the method name, the time of issue and the client code to the e-mail: [email protected] so that the error can be validated. |
| No targets linked to the client were found. |