sgrListaTransportadorasTotal
Returns a list of all the carriers used by the company, not just those linked to the user.
PARAMETERS
| Field | Type | Required? | 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 correct, the property will display:
| Field | Type | Description |
|---|---|---|
| CDTRANSP | integer | Carrier Code |
| DSTRANSPORTADORA | string | Carrier Name |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no Carriers linked to the company! |