Skip to main content

sgrListaUnidadesCliente

Returns a list of the company's units.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclientintegerYesClient code, returned by the sgrListCompaniesPASUser method.

METHOD RETURN:

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

FieldTypeDescription
CDCLIDESTintegerCustomer unit code
DSDESTINATARIOstringCustomer unit name
NRCGCCPFstringunit's CNPJ

ReturnDescription: This property will indicate if there are no units configured for the company.