sgrListaEmbarcadores
Returns the list of shippers used by the company.
PARAMETERS
| Field | Type | Req.? | Description |
|---|---|---|---|
| accesskey | 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 informed correctly, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDEMBARCADOR | integer | Shipper code |
| NRCGCCPF | string | Shipper's CPF/CNPJ |
| DSEMBARCADOR | string | Shipper's name |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no Shippers linked to the company! |