voltar

API Referências: Empresa | Consultar

post /api/Empresa/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
{
     [
          AcessoLiberado: text,
          Alteracao: datetime,
          ArquivoLogotipo: string,
          ArquivoLogotipoInstitucional: string,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          CadastroLivre: bit,
          Categoria: int,
          Cliente: uniqueidentifier,
          Dominio: string,
          EmailLogin: bit,
          Empresa: string,
          EmpresaGestora: uniqueidentifier,
          EmpresaMaster: bit,
          EnvioEmailsAtivo: bit,
          EstiloSkin: int,
          Hash: uniqueidentifier,
          ImagemIconePersonalizado: string,
          ImagemReduzido: string,
          Inicializado: bit,
          IntegradoFtp: bit,
          LimiteUso: datetime,
          LogVisita: bit,
          MaximoUsuariosAtivos: int,
          MaximoUsuariosCadastrados: int,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          ProcessoAutenticacao: bit,
          ServerFtpIp: string,
          ServerFtpPastaPadrao: string,
          ServerFtpSenha: string,
          ServerFtpUsuario: string,
          SiteExportado: bit,
          SitePublicado: bit,
          SmtpEmailRemetente: string,
          SmtpNomeRemetente: string,
          SmtpPorta: string,
          SmtpSenha: string,
          SmtpServer: string,
          SmtpUsuario: string,
          Template: string,
          TermosCondicoes: bit,
          Titulo: string,
          TituloCustomizadoSistema: string,
          Url: string,
          UrlApi: string,
          UrlMenuLateral: string,
          UrlMenuLateralNovasEmpresas: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioAlteracaoDescricao: string,
          UsuarioAlteracaoEmail: string,
          UsuarioCriacao: uniqueidentifier,
          UsuarioCriacaoDescricao: string,
          UsuarioCriacaoEmail: string,
          ValorCredito: decimal(18,2),
          VirtualEmpresaModulo: 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: Empresa | Excluir

post /api/Empresa/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: Empresa | Listar

post /api/Empresa/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
{
     [
          AcessoLiberado: text,
          Alteracao: datetime,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          CadastroLivre: bit,
          Categoria: int,
          Cliente: uniqueidentifier,
          Dominio: string,
          EmailLogin: bit,
          EmpresaGestora: uniqueidentifier,
          EmpresaMaster: bit,
          EnvioEmailsAtivo: bit,
          EstiloSkin: int,
          Hash: uniqueidentifier,
          Inicializado: bit,
          LimiteUso: datetime,
          LogVisita: bit,
          MaximoUsuariosAtivos: int,
          MaximoUsuariosCadastrados: int,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          ProcessoAutenticacao: bit,
          SiteExportado: bit,
          SitePublicado: bit,
          SmtpEmailRemetente: string,
          SmtpNomeRemetente: string,
          SmtpPorta: string,
          SmtpServer: string,
          SmtpUsuario: string,
          Template: string,
          TermosCondicoes: bit,
          TituloCustomizadoSistema: string,
          Url: string,
          UrlApi: string,
          UrlMenuLateral: string,
          UrlMenuLateralNovasEmpresas: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: uniqueidentifier,
          ValorCredito: decimal(18,2),
          VirtualEmpresaModulo: text,
     ]
}

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: Empresa | Salvar

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

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     ArquivoLogotipo: varchar,
     ArquivoLogotipoInstitucional: varchar,
     Ativo: bit,
     CadastroLivre: bit,
     CamposAtualizados: nvarchar,
     Categoria: int,
     Cliente: uniqueidentifier,
     ConsultarPorCampo: varchar,
     Dominio: varchar,
     EmailLogin: bit,
     Empresa: varchar,
     EmpresaGestora: uniqueidentifier,
     EmpresaMaster: bit,
     EnvioEmailsAtivo: bit,
     EstiloSkin: int,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     ImagemIconePersonalizado: varchar,
     ImagemReduzido: varchar,
     Inicializado: bit,
     IntegradoFtp: bit,
     LimiteUso: datetime,
     LogVisita: bit,
     MaximoUsuariosAtivos: int,
     MaximoUsuariosCadastrados: int,
     Modo: varchar,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Privado: bit,
     ProcessoAutenticacao: bit,
     RetornarDataSet: bit,
     ServerFtpIp: varchar,
     ServerFtpPastaPadrao: varchar,
     ServerFtpSenha: varchar,
     ServerFtpUsuario: varchar,
     SiteExportado: bit,
     SitePublicado: bit,
     SmtpEmailRemetente: varchar,
     SmtpNomeRemetente: varchar,
     SmtpPorta: varchar,
     SmtpSenha: varchar,
     SmtpServer: varchar,
     SmtpUsuario: varchar,
     Template: varchar,
     TermosCondicoes: bit,
     Titulo: varchar,
     TituloCustomizadoSistema: varchar,
     Url: varchar,
     UrlApi: varchar,
     UrlMenuLateral: varchar,
     UrlMenuLateralNovasEmpresas: varchar,
     UsuarioAlteracao: uniqueidentifier,
     UsuarioCriacao: uniqueidentifier,
     ValorConsultaPorCampo: varchar,
     ValorCredito: decimal,
     VirtualEmpresaModulo: text,
}

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/empresa?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: Empresa | ConsultarToken

post /api/Empresa/ConsultarToken?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     somente_modo_seguro: bit,
     token: varchar,
}

json required

Response


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

array json
{
     [
          Empresa: 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: Empresa | CriarSequencia

post /api/Empresa/CriarSequencia?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 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: Empresa | ExchangeToken

post /api/Empresa/ExchangeToken?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     token: varchar,
     url_solicitante: varchar,
}

json required

Response


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

array json
{
     [
          TokenApi: string,
          Url: 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: Empresa | IdentificarGestoraPorUrl

post /api/Empresa/IdentificarGestoraPorUrl?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     url: 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,
          ArquivoLogotipo: string,
          ArquivoLogotipoInstitucional: string,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          CadastroLivre: bit,
          Categoria: int,
          Cliente: uniqueidentifier,
          Dominio: string,
          EmailLogin: bit,
          Empresa: uniqueidentifier,
          Empresa: string,
          EmpresaGestora: uniqueidentifier,
          EmpresaMaster: bit,
          EnvioEmailsAtivo: bit,
          EstiloSkin: int,
          ImagemIconePersonalizado: string,
          ImagemReduzido: string,
          Inicializado: bit,
          IntegradoFtp: bit,
          LimiteUso: datetime,
          LogVisita: bit,
          MaximoUsuariosAtivos: int,
          MaximoUsuariosCadastrados: int,
          MensagemReenvioSenhaUsuario: uniqueidentifier,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          ProcessoAutenticacao: bit,
          SenhaInicialUsuarios: string,
          ServerFtpIp: string,
          ServerFtpPastaPadrao: string,
          ServerFtpSenha: string,
          ServerFtpUsuario: string,
          SiteExportado: bit,
          SitePublicado: bit,
          SmtpEmailRemetente: string,
          SmtpNomeRemetente: string,
          SmtpPorta: string,
          SmtpSenha: string,
          SmtpServer: string,
          SmtpUsuario: string,
          Template: string,
          TermosCondicoes: bit,
          Timestamp: timestamp,
          Titulo: string,
          TituloCustomizadoSistema: string,
          TokenApi: string,
          Url: string,
          UrlApi: string,
          UrlMenuLateral: string,
          UrlMenuLateralNovasEmpresas: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: uniqueidentifier,
          ValorCredito: decimal(18,2),
          VirtualEmpresaModulo: text,
     ]
}

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: Empresa | IdentificarPorUrl

post /api/Empresa/IdentificarPorUrl?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     url: 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,
          ArquivoLogotipo: string,
          ArquivoLogotipoInstitucional: string,
          Ativo: bit,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          CadastroLivre: bit,
          Categoria: int,
          Cliente: uniqueidentifier,
          Dominio: string,
          EmailLogin: bit,
          Empresa: uniqueidentifier,
          Empresa: string,
          EmpresaGestora: uniqueidentifier,
          EmpresaGestoraHash: uniqueidentifier,
          EmpresaGestoraTitulo: string,
          EmpresaMaster: bit,
          EnvioEmailsAtivo: bit,
          EstiloSkin: int,
          ImagemIconePersonalizado: string,
          ImagemReduzido: string,
          Inicializado: bit,
          IntegradoFtp: bit,
          LimiteUso: datetime,
          LogVisita: bit,
          MaximoUsuariosAtivos: int,
          MaximoUsuariosCadastrados: int,
          MensagemReenvioSenhaUsuario: uniqueidentifier,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          ProcessoAutenticacao: bit,
          SenhaInicialUsuarios: string,
          ServerFtpIp: string,
          ServerFtpPastaPadrao: string,
          ServerFtpSenha: string,
          ServerFtpUsuario: string,
          SiteExportado: bit,
          SitePublicado: bit,
          SmtpEmailRemetente: string,
          SmtpNomeRemetente: string,
          SmtpPorta: string,
          SmtpSenha: string,
          SmtpServer: string,
          SmtpUsuario: string,
          Template: string,
          TermosCondicoes: bit,
          Timestamp: timestamp,
          Titulo: string,
          TituloCustomizadoSistema: string,
          TokenApi: string,
          Url: string,
          UrlApi: string,
          UrlMenuLateral: string,
          UrlMenuLateralNovasEmpresas: string,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: uniqueidentifier,
          ValorCredito: decimal(18,2),
          VirtualEmpresaModulo: text,
     ]
}

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: Empresa | Listar

post /api/Empresa/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
{
     [
          Ativo: bit,
          Empresa: uniqueidentifier,
          Empresa: string,
          EmpresaTituloDetalhado: string,
          Url: 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: Empresa | ListarModulosLiberados

post /api/Empresa/ListarModulosLiberados?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     EmpresaCliente: varchar,
}

json required

Response


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

array json
{
     [
          Categoria: int,
          EmpresaCliente: uniqueidentifier,
          Modulo: uniqueidentifier,
          Titulo: 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: Empresa | ListarParaExportar

post /api/Empresa/ListarParaExportar?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: ListarParaExportar 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
{
     [
          Ativo: bit,
          Cliente: uniqueidentifier,
          ClienteGenerico: int,
          Empresa: uniqueidentifier,
          Empresa: string,
          EmpresaTituloDetalhado: string,
          PaginasCompiladas: int,
          SiteResumido: string,
          Url: 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: Empresa | ListarRelatorioPrincipal

post /api/Empresa/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
{
     [
          ArquivoLogotipoInstitucional: string,
          Ativo: string,
          AtivoValor: bit,
          Cliente: string,
          ClienteValor: uniqueidentifier,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Titulo: string,
          Url: 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: Empresa | LogDiretorios

post /api/Empresa/LogDiretorios?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: LogDiretorios 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
{
     [
          Empresa: 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: Empresa | MarcarSiteExportado

post /api/Empresa/MarcarSiteExportado?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Exportado: bit,
     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: Empresa | Matar

post /api/Empresa/Matar?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: Matar 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: Empresa | NormalizarCadastrosGenericos

post /api/Empresa/NormalizarCadastrosGenericos?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     entidades: varchar,
     gerar_nomes: bit,
     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: Empresa | NormalizarEmailsMensagens

post /api/Empresa/NormalizarEmailsMensagens?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 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: Empresa | NormalizarWorkflows

post /api/Empresa/NormalizarWorkflows?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     CdAbreviacaoTecnica: 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: Empresa | ReinicializarAcesssosPorUsuario

post /api/Empresa/ReinicializarAcesssosPorUsuario?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdUsuario: 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: Empresa | RelatorioEmpresasInativasListarRelatorioPrincipal

post /api/Empresa/RelatorioEmpresasInativasListarRelatorioPrincipal?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
{
     [
          ArquivoLogotipoInstitucional: string,
          Ativo: bit,
          Ativo: string,
          AtivoValor: bit,
          Cliente: string,
          Empresa: uniqueidentifier,
          Empresa: string,
          EstiloSkin: int,
          Hash: uniqueidentifier,
          SmtpServer: string,
          SmtpUsuario: string,
          Template: string,
          Url: 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: Empresa | RelatorioEmpresasUsuariosListarRelatorioPrincipal

post /api/Empresa/RelatorioEmpresasUsuariosListarRelatorioPrincipal?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: Empresa | RemoverPastasVazias

post /api/Empresa/RemoverPastasVazias?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: RemoverPastasVazias 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
{
     [
          Empresa: 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: Empresa | Todas

post /api/Empresa/Todas?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: Todas 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