voltar

API Referências: Depoimento | BuscarPorCodigo

post /api/Depoimento/BuscarPorCodigo?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
{
     [
          AcessoLiberado: text,
          Alteracao: datetime,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: datetime,
          Depoimento: uniqueidentifier,
          Empresa: uniqueidentifier,
          Imagem: string,
          Pessoa: string,
          Privado: bit,
          Publicado: bit,
          Timestamp: timestamp,
          Titulo: string,
          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: Depoimento | ListarRelatorioPrincipal

post /api/Depoimento/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,
          Cadastro: string,
          CadastroValor: datetime,
          Depoimento: uniqueidentifier,
          Hash: uniqueidentifier,
          Imagem: string,
          Pessoa: string,
          Publicado: string,
          PublicadoValor: bit,
          ReferenteRegistro: string,
          Singular: string,
          Titulo: string,
          UrlPaginaForm: 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: Depoimento | Pesquisar

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

Request

Querystring parameters names Type
token string required
json

{
     Codigo: varchar,
     IdEmpresa: varchar,
     IdReferenteRegistro: 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,
          Depoimento: uniqueidentifier,
          DescricaoAdicional: string,
          Empresa: uniqueidentifier,
          Imagem: string,
          Pessoa: string,
          Privado: bit,
          Publicado: bit,
          Timestamp: timestamp,
          Titulo: string,
          UrlLinkExterno: string,
          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: Depoimento | Consultar

post /api/Depoimento/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,
          DescricaoAdicional: string,
          Email: string,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          HashtagsReferenciaInterna: string,
          Imagem: string,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Pessoa: string,
          Privado: bit,
          Publicado: bit,
          ReferenteRegistro: uniqueidentifier,
          ReferenteRegistroDescricao: string,
          ReferenteRegistroTipo: string,
          Telefone: string,
          Titulo: string,
          UrlLinkExterno: string,
          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: Depoimento | Excluir

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

post /api/Depoimento/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,
          DescricaoAdicional: string,
          Email: string,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          HashtagsReferenciaInterna: string,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Privado: bit,
          Publicado: bit,
          ReferenteRegistro: uniqueidentifier,
          Telefone: string,
          Titulo: string,
          UrlLinkExterno: string,
          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: Depoimento | Salvar

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

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     CamposAtualizados: nvarchar,
     Categoria: int,
     ConsultarPorCampo: varchar,
     DescricaoAdicional: varchar,
     Email: varchar,
     Empresa: varchar,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     HashtagsReferenciaInterna: varchar,
     Imagem: varchar,
     Modo: varchar,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Pessoa: varchar,
     Privado: bit,
     Publicado: bit,
     ReferenteRegistro: uniqueidentifier,
     RetornarDataSet: bit,
     Telefone: varchar,
     Titulo: varchar,
     UrlLinkExterno: varchar,
     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/depoimento?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: Depoimento | ListarDepoimentos

post /api/Depoimento/ListarDepoimentos?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
{
     [
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Depoimento: uniqueidentifier,
          DescricaoAdicional: string,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Imagem: string,
          InformacaoAdicional: string,
          Pessoa: string,
          Titulo: string,
          UrlLinkExterno: 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