Skip to main content

sgrListaTransportadorasTotal

Returns a list of all the carriers used by the company, not just those linked to the user.

SoapAction

PARAMETERS

FieldTypeRequired?Description
chaveacessostringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.

METHOD RETURN:

ReturnDataset: If the parameters are correct, the property will display:

FieldTypeDescription
CDTRANSPintegerCarrier Code
DSTRANSPORTADORAstringCarrier Name

ReturnDescription: If there is an error executing the method, the property will display:

ErrorDescription
There are no Carriers linked to the company!