Class APIConfig
Classe para definição de parâmetros da API
Inherited Members
Namespace: Unimake.Business.DFe
Assembly: Unimake.Business.DFe.dll
Syntax
public class APIConfig
Properties
ApiKey
Host - Header API
Declaration
public string ApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
B64
Confirmação da B64
Declaration
public bool B64 { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CodigoTom
Escolher a forma de tratar o retorno API
Declaration
public string CodigoTom { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentType
Content Type - Tipo do conteúdo
Declaration
public string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Cookie
Cookie - Header API
Declaration
public string Cookie { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GZipCompress
Verifica se o arquivo precisa ser em GZip
Declaration
public bool GZipCompress { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Host
Host - Header API
Declaration
public string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpContent
HttpContent - Usado para a comunicação web POST
Declaration
public HttpContent HttpContent { get; set; }
Property Value
| Type | Description |
|---|---|
| HttpContent |
LoginConexao
Utilizar os dados de login (usuário e senha)
Declaration
public bool LoginConexao { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
MetodoAPI
Método de solicitação da API
Declaration
public string MetodoAPI { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MunicipioSenha
Senha para loguin no sistema do município
Declaration
public string MunicipioSenha { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MunicipioUsuario
Usuario para loguin no sistema do município
Declaration
public string MunicipioUsuario { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PadraoNFSe
Padrão selecionado da API, necessário para tratar configurações exclusivas de cada API
Declaration
public PadraoNFSe PadraoNFSe { get; set; }
Property Value
| Type | Description |
|---|---|
| PadraoNFSe |
Proxy
Configuracões de proxy
Declaration
public IWebProxy Proxy { get; set; }
Property Value
| Type | Description |
|---|---|
| IWebProxy |
RequestURI
HttpAddress - Endereço da API
Declaration
public string RequestURI { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RequestURILogin
HttpAddress - Endereço da API para login, caso seja necessário
Declaration
public string RequestURILogin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ResponseMediaType
Escolher a forma de tratar o retorno API
Declaration
public string ResponseMediaType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Servico
Serviço selecionado, utilizado para resgatar a chave dentro do arquivo xml, necessário pois há tamanhos diferentes de chaves, conforme o serviço a ser executado
Declaration
public Servico Servico { get; set; }
Property Value
| Type | Description |
|---|---|
| Servico |
TagRetorno
Tag alvo retornada pela API com o conteúdo desejado
Declaration
public string TagRetorno { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Token
Token
Declaration
public string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UsaCertificadoDigital
Utiliza ou não o certificado digital
Declaration
public bool UsaCertificadoDigital { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
WebAction
Prefixo de envio para solicitação da API
Declaration
public string WebAction { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
WebSoapString
String de comunicação com a API
Declaration
public string WebSoapString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
chaveAcesso
Chave de acesso, resgatada pelo xml, necessário para facilitar a transição da informação pelas camadas da DLL
Declaration
public string chaveAcesso { get; set; }
Property Value
| Type | Description |
|---|---|
| string |