voltar

API Referências: Cliente | AplicarItem

post /api/Cliente/AplicarItem?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Codigo: varchar,
     Hash: varchar,
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | AtualizarEstadoFederal

post /api/Cliente/AtualizarEstadoFederal?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: AtualizarEstadoFederal não possui parâmetros. Logo, o parâmetro json pode ser enviado sem valor.
json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ClientesInativosListarRelatorioPrincipal

post /api/Cliente/ClientesInativosListarRelatorioPrincipal?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     Usuario: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ClientesTodosListarRelatorioPrincipal

post /api/Cliente/ClientesTodosListarRelatorioPrincipal?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     Usuario: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ComprarItem

post /api/Cliente/ComprarItem?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Codigo: varchar,
     Hash: varchar,
     IdCliente: varchar,
     IdEmpresa: varchar,
     Quantidade: int,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ConcederCreditos

post /api/Cliente/ConcederCreditos?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     CdTipo: varchar,
     DsDescricao: nvarchar,
     DsTitulo: nvarchar,
     IdCliente: varchar,
     IdReferente: varchar,
     NrCreditos: int,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ConsultarPorEmail

post /api/Cliente/ConsultarPorEmail?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     DsEmail: varchar,
     IdLoja: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Cliente: uniqueidentifier,
          Cliente: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | DefinirDataPerdaUltimoPagamento

post /api/Cliente/DefinirDataPerdaUltimoPagamento?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: DefinirDataPerdaUltimoPagamento não possui parâmetros. Logo, o parâmetro json pode ser enviado sem valor.
json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ListarBling

post /api/Cliente/ListarBling?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: ListarBling não possui parâmetros. Logo, o parâmetro json pode ser enviado sem valor.
json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          AutonumeracaoEmpresa: int,
          Bairro: string,
          Cep: string,
          Cidade: string,
          Cliente: uniqueidentifier,
          Cliente: string,
          Codigo: int,
          Complemento: string,
          CpfCnpj: string,
          Detalhes: string,
          Email: string,
          Empresa: uniqueidentifier,
          Endereco: string,
          Hash: uniqueidentifier,
          Hash: uniqueidentifier,
          IntegradoBling: bit,
          PessoaFisicaJuridica: string,
          Residencia: string,
          retornobling: string,
          Telefone: string,
          TelefoneCelular: string,
          TipoContribuinteIcms: string,
          TokenBling: string,
          Uf: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ListarRelatorioPrincipal

post /api/Cliente/ListarRelatorioPrincipal?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     Usuario: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Ativo: string,
          AtivoValor: bit,
          AutonumeracaoEmpresa: int,
          Bairro: string,
          Cadastro: string,
          CadastroValor: datetime,
          Cidade: string,
          CidadeEstado: string,
          Cliente: uniqueidentifier,
          Cnpj: string,
          Cpf: string,
          Email: string,
          EstadoFederal: string,
          Hash: uniqueidentifier,
          Nascimento: string,
          NascimentoValor: smalldatetime,
          PorcentagemDesconto: decimal(18,2),
          Rg: string,
          SegmentoValor: uniqueidentifier,
          Telefone: string,
          Titulo: string,
          Username: string,
          UsuarioResponsavel: string,
          UsuarioResponsavelImagem: string,
          UsuarioResponsavelValor: uniqueidentifier,
          ValorMonetarioDesconto: decimal(18,2),
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ObterDashboard

post /api/Cliente/ObterDashboard?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Categoria: int,
     Empresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          IconeValorSecundario1: string,
          IconeValorSecundario2: string,
          IconeValorSecundario3: string,
          IconeValorSecundario4: string,
          IconeValorSecundario5: string,
          IconeValorSecundario6: string,
          Legenda1: string,
          Legenda2: string,
          Legenda3: string,
          Legenda4: string,
          Legenda5: string,
          Legenda6: string,
          TextoBadge1: string,
          TextoBadge2: string,
          TextoBadge3: string,
          TextoBadge4: string,
          TextoBadge5: string,
          TextoBadge6: string,
          TipoBadge1: string,
          TipoBadge2: string,
          TipoBadge3: string,
          TipoBadge4: string,
          TipoBadge5: string,
          TipoBadge6: string,
          TipoBadgeValorSecundario1: string,
          TipoBadgeValorSecundario2: string,
          TipoBadgeValorSecundario3: string,
          TipoBadgeValorSecundario4: string,
          TipoBadgeValorSecundario5: string,
          TipoBadgeValorSecundario6: string,
          Titulo1: string,
          Titulo2: string,
          Titulo3: string,
          Titulo4: string,
          Titulo5: string,
          Titulo6: string,
          Valor1: string,
          Valor2: string,
          Valor3: string,
          Valor4: string,
          Valor5: string,
          Valor6: string,
          ValorSecundario1: string,
          ValorSecundario2: string,
          ValorSecundario3: string,
          ValorSecundario4: string,
          ValorSecundario5: string,
          ValorSecundario6: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Pesquisar

post /api/Cliente/Pesquisar?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Categoria: varchar,
     Codigo: varchar,
     Hashtag: varchar,
     IdCliente: varchar,
     IdEmpresa: varchar,
     Regra: varchar,
     Termo: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          AcessoLiberado: text,
          Alteracao: datetime,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Avatar: int,
          Bairro: string,
          Cadastro: datetime,
          Categoria: int,
          Cep: string,
          Cidade: string,
          Cliente: uniqueidentifier,
          Cnpj: string,
          CodigoCliente: bigint,
          Complemento: string,
          Contato: string,
          Cpf: string,
          Creditos: int,
          Detalhes: string,
          DivulgacaoDados: bit,
          Email: string,
          Empresa: uniqueidentifier,
          Endereco: string,
          EstadoFederal: uniqueidentifier,
          Excluido: bit,
          FacebookConectado: bit,
          FacebookId: string,
          Fax: string,
          Imagem: string,
          InscricaoEstadual: string,
          IntegradoBling: bit,
          KeyReinicioSenha: uniqueidentifier,
          Logado: bit,
          MotivoPerda: int,
          Msn: string,
          Nascimento: smalldatetime,
          Nivel: int,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Oportunidade: uniqueidentifier,
          PagSeguroHashCartao: string,
          Pais: uniqueidentifier,
          Passaporte: string,
          Perda: smalldatetime,
          PessoaFisicaJuridica: int,
          PlanoComercial: uniqueidentifier,
          PontosNivel: int,
          PontosNivelTemporada: int,
          PorcentagemDesconto: decimal(18,2),
          Privado: bit,
          Projeto: string,
          Ramal: string,
          ReceberNewsletterLoja: bit,
          ReceberNewsletterParceiros: bit,
          RegistroProfissional: string,
          ReinicioSenha: smalldatetime,
          Residencia: string,
          RetornoBling: string,
          Rg: string,
          Segmento: uniqueidentifier,
          Senha: string,
          SubNivel: int,
          Telefone: string,
          TelefoneCelular: string,
          TelefoneComercial: string,
          Timestamp: timestamp,
          Titulo: string,
          UltimaVerificacaoLogado: smalldatetime,
          UltimoLogin: smalldatetime,
          UrlTemplate: string,
          Username: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: uniqueidentifier,
          UsuarioResponsavel: uniqueidentifier,
          ValorMonetarioDesconto: decimal(18,2),
          VirtualClienteDependente: text,
          VirtualHistorico: text,
          ZelarPrivacidadeDadosPublicos: bit,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | PorEmail

post /api/Cliente/PorEmail?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     DsEmail: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Ativo: bit,
          Cliente: string,
          Cliente: uniqueidentifier,
          Email: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ReiniciarSenha

post /api/Cliente/ReiniciarSenha?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     Key: varchar,
     Senha: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Email: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | RemoverFavorito

post /api/Cliente/RemoverFavorito?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdCliente: varchar,
     IdClienteRemover: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | SolicitarReinicioSenha

post /api/Cliente/SolicitarReinicioSenha?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Email: varchar,
     Empresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ValidarPreCadastro

post /api/Cliente/ValidarPreCadastro?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Codigo: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | VerificarAmizade

post /api/Cliente/VerificarAmizade?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdAmigo: varchar,
     IdCliente: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Consultar

post /api/Cliente/Consultar?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Hash: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Rg: string,
          AcessoLiberado: text,
          Alteracao: datetime,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Avatar: int,
          Bairro: string,
          Cadastro: datetime,
          Categoria: int,
          Cep: string,
          Cidade: string,
          Cnpj: string,
          Complemento: string,
          Contato: string,
          Cpf: string,
          Creditos: int,
          Detalhes: string,
          DivulgacaoDados: bit,
          Email: string,
          Empresa: uniqueidentifier,
          Endereco: string,
          EstadoFederal: uniqueidentifier,
          Excluido: bit,
          FacebookConectado: bit,
          FacebookId: string,
          Fax: string,
          Hash: uniqueidentifier,
          Imagem: string,
          InscricaoEstadual: string,
          IntegradoBling: bit,
          Logado: bit,
          MotivoPerda: int,
          Msn: string,
          Nascimento: smalldatetime,
          Nivel: int,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Oportunidade: uniqueidentifier,
          PagSeguroHashCartao: string,
          Pais: uniqueidentifier,
          Passaporte: string,
          Perda: smalldatetime,
          PessoaFisicaJuridica: int,
          PlanoComercial: uniqueidentifier,
          PlanoComercialDescricao: string,
          PontosNivel: int,
          PontosNivelTemporada: int,
          PorcentagemDesconto: decimal(18,2),
          Privado: bit,
          Projeto: string,
          Ramal: string,
          ReceberNewsletterLoja: bit,
          ReceberNewsletterParceiros: bit,
          RegistroProfissional: string,
          Residencia: string,
          RetornoBling: string,
          Segmento: uniqueidentifier,
          SegmentoDescricao: string,
          SubNivel: int,
          Telefone: string,
          TelefoneCelular: string,
          TelefoneComercial: string,
          Titulo: string,
          UltimaVerificacaoLogado: smalldatetime,
          UltimoLogin: smalldatetime,
          UrlTemplate: string,
          Username: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioAlteracaoDescricao: string,
          UsuarioAlteracaoEmail: string,
          UsuarioCriacao: uniqueidentifier,
          UsuarioCriacaoDescricao: string,
          UsuarioCriacaoEmail: string,
          UsuarioResponsavel: uniqueidentifier,
          ValorMonetarioDesconto: decimal(18,2),
          VirtualClienteDependente: text,
          VirtualHistorico: text,
          ZelarPrivacidadeDadosPublicos: bit,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Excluir

post /api/Cliente/Excluir?token=[SEU-TOKEN-SECRETO]&Hash=[Hash]

Request

Querystring parameters names Type
token string required
Hash guid required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Listar

post /api/Cliente/Listar?token=[SEU-TOKEN-SECRETO]

Request

Querystring parameters names Type
token string required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Rg: string,
          AcessoLiberado: text,
          Alteracao: datetime,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Avatar: int,
          Cadastro: datetime,
          Categoria: int,
          Cep: string,
          Cnpj: string,
          Complemento: string,
          Cpf: string,
          Creditos: int,
          Detalhes: string,
          DivulgacaoDados: bit,
          Email: string,
          Empresa: uniqueidentifier,
          Endereco: string,
          EstadoFederal: uniqueidentifier,
          Excluido: bit,
          FacebookConectado: bit,
          FacebookId: string,
          Fax: string,
          Hash: uniqueidentifier,
          InscricaoEstadual: string,
          IntegradoBling: bit,
          Logado: bit,
          Msn: string,
          Nascimento: smalldatetime,
          Nivel: int,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Oportunidade: uniqueidentifier,
          PagSeguroHashCartao: string,
          Pais: uniqueidentifier,
          Passaporte: string,
          Perda: smalldatetime,
          PlanoComercial: uniqueidentifier,
          PontosNivel: int,
          PontosNivelTemporada: int,
          PorcentagemDesconto: decimal(18,2),
          Privado: bit,
          Ramal: string,
          ReceberNewsletterLoja: bit,
          ReceberNewsletterParceiros: bit,
          RegistroProfissional: string,
          Residencia: string,
          RetornoBling: string,
          Segmento: uniqueidentifier,
          SubNivel: int,
          Telefone: string,
          TelefoneCelular: string,
          TelefoneComercial: string,
          Titulo: string,
          UltimaVerificacaoLogado: smalldatetime,
          UltimoLogin: smalldatetime,
          UrlTemplate: string,
          Username: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: uniqueidentifier,
          UsuarioResponsavel: uniqueidentifier,
          ValorMonetarioDesconto: decimal(18,2),
          VirtualClienteDependente: text,
          VirtualHistorico: text,
          ZelarPrivacidadeDadosPublicos: bit,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Salvar

post /api/Cliente/Salvar?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     Ativo: bit,
     Avatar: int,
     Bairro: varchar,
     CamposAtualizados: nvarchar,
     Categoria: int,
     Cep: varchar,
     Cidade: varchar,
     Cnpj: varchar,
     Complemento: varchar,
     ConsultarPorCampo: varchar,
     Contato: varchar,
     Cpf: varchar,
     Creditos: int,
     Detalhes: varchar,
     DivulgacaoDados: bit,
     Email: varchar,
     Empresa: varchar,
     Endereco: varchar,
     EstadoFederal: uniqueidentifier,
     Excluido: bit,
     FacebookConectado: bit,
     FacebookId: varchar,
     Fax: varchar,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     Imagem: varchar,
     InscricaoEstadual: varchar,
     IntegradoBling: bit,
     Logado: bit,
     Modo: varchar,
     MotivoPerda: int,
     Msn: varchar,
     Nascimento: smalldatetime,
     Nivel: int,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Oportunidade: uniqueidentifier,
     PagSeguroHashCartao: varchar,
     Pais: uniqueidentifier,
     Passaporte: varchar,
     Perda: smalldatetime,
     PessoaFisicaJuridica: int,
     PlanoComercial: uniqueidentifier,
     PontosNivel: int,
     PontosNivelTemporada: int,
     PorcentagemDesconto: decimal,
     Privado: bit,
     Projeto: varchar,
     Ramal: varchar,
     ReceberNewsletterLoja: bit,
     ReceberNewsletterParceiros: bit,
     RegistroProfissional: varchar,
     Residencia: varchar,
     RetornarDataSet: bit,
     RetornoBling: varchar,
     Rg: varchar,
     Segmento: uniqueidentifier,
     SubNivel: int,
     Telefone: varchar,
     TelefoneCelular: varchar,
     TelefoneComercial: varchar,
     Titulo: varchar,
     UltimaVerificacaoLogado: smalldatetime,
     UltimoLogin: smalldatetime,
     UrlTemplate: varchar,
     Username: varchar,
     UsuarioAlteracao: uniqueidentifier,
     UsuarioCriacao: uniqueidentifier,
     UsuarioResponsavel: uniqueidentifier,
     ValorConsultaPorCampo: varchar,
     ValorMonetarioDesconto: decimal,
     VirtualClienteDependente: text,
     VirtualHistorico: text,
     ZelarPrivacidadeDadosPublicos: bit,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json Consultar: https://api.tempbox.com.br/referencias/cliente?key=Consultar

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | AmigosFavoritos

post /api/Cliente/AmigosFavoritos?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Clube: string,
          ClubeHash: uniqueidentifier,
          ClubeImagem: string,
          ClubePais: string,
          ClubePaisSigla: string,
          Hash: uniqueidentifier,
          Imagem: string,
          Titulo: string,
          UrlAmigavel: string,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | AssinaturaCobrancas

post /api/Cliente/AssinaturaCobrancas?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Data: smalldatetime,
          Hash: uniqueidentifier,
          Incidencia: smalldatetime,
          InicioPlano: smalldatetime,
          LinkPagamento: string,
          Pago: bit,
          PlanoComercial: string,
          PlanoComercialCodigo: string,
          TerminoPlano: smalldatetime,
          Titulo: string,
          Valor: decimal(18,2),
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Conta

post /api/Cliente/Conta?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Cliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Data: smalldatetime,
          Hash: uniqueidentifier,
          Referente: string,
          Tipo: string,
          Titulo: string,
          Valor: int,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Destinatarios

post /api/Cliente/Destinatarios?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Titulo: string,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Favoritos

post /api/Cliente/Favoritos?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     CdTipo: varchar,
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Hash: uniqueidentifier,
          Hash: uniqueidentifier,
          Tabela: string,
          Titulo: string,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | Itens

post /api/Cliente/Itens?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     CdCategoria: varchar,
     CdSubcategoria: varchar,
     ComInventario: varchar,
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json null

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | ListarReinicioSenha

post /api/Cliente/ListarReinicioSenha?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
     Key: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Key: uniqueidentifier,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | PagamentosRealizados

post /api/Cliente/PagamentosRealizados?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdCliente: varchar,
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Data: smalldatetime,
          Hash: uniqueidentifier,
          Incidencia: smalldatetime,
          InicioPlano: smalldatetime,
          PlanoComercial: string,
          TerminoPlano: smalldatetime,
          Tipo: string,
          Titulo: string,
          Valor: decimal(18,2),
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | RankingNivel

post /api/Cliente/RankingNivel?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Avatar: int,
          Cliente: string,
          Clube: string,
          ClubeImagem: string,
          ClubePais: string,
          ClubeSiglaPais: string,
          Hash: uniqueidentifier,
          Imagem: string,
          Nivel: int,
          Pais: string,
          Pontos: int,
          Posicao: bigint,
          SiglaPais: string,
          UrlAmigavel: string,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | RankingPontosTemporada

post /api/Cliente/RankingPontosTemporada?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          Avatar: int,
          Cliente: string,
          Clube: string,
          ClubeImagem: string,
          ClubePais: string,
          ClubeSiglaPais: string,
          Hash: uniqueidentifier,
          Imagem: string,
          Nivel: int,
          Pais: string,
          Pontos: int,
          Posicao: bigint,
          SiglaPais: string,
          UrlAmigavel: string,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token

API Referências: Cliente | UltimosLogados

post /api/Cliente/UltimosLogados?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
     Minutos: int,
}

json required

Response


HttpResponse: OK
Property Type Default response
Status string ok
Code int 200
Success boolean true
Data

array json
{
     [
          ClubeCamisaJogo1: string,
          ClubeHash: uniqueidentifier,
          ClubeImagem: string,
          ClubeTitulo: string,
          ClubeUrlAmigavel: string,
          Hash: uniqueidentifier,
          Username: string,
     ]
}

HttpResponse: Error
Property Type Default response
Status string error
Code int 500
Success boolean false
Data array json null

HttpResponse: Unauthorized
Property Type Default response
Status string error
Code int 401
Success boolean false
Data array json null
Message string Invalid token