Skip to main content

sgrListaUltimaAEControleCarga

Returns the last shipment authorization generated with the cargo control number entered.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
nrcontrolloadstringYesField for free use by the customer (20 characters).

METHOD RETURN:

ReturnDataset: If the parameters entered are valid, the property will display:

FieldTypeDescription
CDVIAGintegerShipment Authorization Number

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

ErrorDescription
There are no authorizations generated for this company and cargo control number!