voltar

API Referências: RegraNotificacaoOpts | Consultar

post /api/RegraNotificacaoOpts/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,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          Categoria: int,
          Empresa: uniqueidentifier,
          Evento1: bit,
          Evento2: bit,
          Evento3: bit,
          Evento4: bit,
          Evento5: bit,
          Formulario: uniqueidentifier,
          Hash: uniqueidentifier,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          Titulo: string,
          Usuario: uniqueidentifier,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioAlteracaoDescricao: string,
          UsuarioAlteracaoEmail: string,
          UsuarioCriacao: uniqueidentifier,
          UsuarioCriacaoDescricao: string,
          UsuarioCriacaoEmail: 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: RegraNotificacaoOpts | Excluir

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

post /api/RegraNotificacaoOpts/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,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          Categoria: int,
          Empresa: uniqueidentifier,
          Evento1: bit,
          Evento2: bit,
          Evento3: bit,
          Evento4: bit,
          Evento5: bit,
          Formulario: uniqueidentifier,
          Hash: uniqueidentifier,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          Titulo: string,
          Usuario: uniqueidentifier,
          UsuarioAlteracao: uniqueidentifier,
          UsuarioCriacao: 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: RegraNotificacaoOpts | Salvar

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

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     CamposAtualizados: nvarchar,
     Categoria: int,
     ConsultarPorCampo: varchar,
     Empresa: varchar,
     Evento1: bit,
     Evento2: bit,
     Evento3: bit,
     Evento4: bit,
     Evento5: bit,
     Formulario: uniqueidentifier,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     Modo: varchar,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Privado: bit,
     RetornarDataSet: bit,
     Titulo: varchar,
     Usuario: uniqueidentifier,
     UsuarioAlteracao: uniqueidentifier,
     UsuarioCriacao: uniqueidentifier,
     ValorConsultaPorCampo: varchar,
}

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/regranotificacaoopts?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: RegraNotificacaoOpts | ListarRelatorioPrincipal

post /api/RegraNotificacaoOpts/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
{
     [
          AutonumeracaoEmpresa: int,
          Evento1: bit,
          Evento2: bit,
          Evento4: bit,
          Formulario: string,
          Hash: uniqueidentifier,
          RegraNotificacaoOpts: 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