Skip to main content

sgrRetornaDestPorCodCli

Returns the customer's recipient information.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdCliExtstringYesExternal customer code.

METHOD RETURN:

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

FieldTypeDescription
NRCGCCPFstringCNPJ of destination company
DSNOMEstringTarget company name
CDCIDintegerCity code
DSRUAstringCompany address
NRRUAchar(6)Address number
DSBAIRROstringCompany neighborhood
NRCEPchar(8)Company zip code
VLLATrealLatitude of address
VLLONGrealLongitude of address