Consult CNPJ with ADVPL (Protheus)
Consult CNPJ in Protheus using the CNPJ.ws API with ADVPL
Integration of CNPJ.ws with Totvs Protheus ERP
#include 'totvs.ch'
#include 'protheus.ch'
class CNPJws
data lVerb as Logical
data cURL as String
data cToken as String
data cErro as String
data cRet as String
data oRet as String
data aHeaders as Array
data lRet as Logical
method new() CONSTRUCTOR
method consoleLog(cMsg,lErro)
method setError(oRest)
method consultarCNPJ(cCNPJ)
method getResponse()
method getError()
endClassLast updated
Was this helpful?