Skip to main content

sgrListaInformacoesEventosV2

Lists information on the events generated.

SoapAction

PARAMETERS

FieldTypeReq.?Description
accesskeystringYesKey returned by the sgrLogin method.
nrClienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
idintegerNoIntegration document code. Returns the registered documents from the searched code.

METHOD RETURN:

ReturnDataset: If the access key entered is valid, the dataset will display:

FieldTypeDescription
idintegerEvent code
dsTipostringEvent description
dtIncldatetimeEvent inclusion date
cdCliintegerCustomer code
flSituacaosmallintEvent status
cdViagintegerAE number
nrCnpjDestinatariostringCNPJ of the recipient
nrDocumentochar(20)Document number
nrControleCliente1stringCustomer control 1
nrControleCliente2stringCustomer control 2
nrControleCliente3stringCustomer control 3
nrFrotachar(7)Vehicle fleet number

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

ErrorDescription
Customer code parameter not providedAll required fields must be filled in for the search to be performed correctly.
No records found.