voltar

API Referências: Compromisso | CompromissoPassadosListarRelatorioPrincipal

post /api/Compromisso/CompromissoPassadosListarRelatorioPrincipal?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
{
     [
          _IdCliente: uniqueidentifier,
          _IdReferente: uniqueidentifier,
          _IdReferenteSubDescricao: string,
          _IdReferenteUrl: string,
          _IdUsuario: uniqueidentifier,
          _RfTipoCompromisso: string,
          _StRealizado: bit,
          Alteracao: smalldatetime,
          AutonumeracaoEmpresa: int,
          Cliente: string,
          Compromisso: uniqueidentifier,
          Descricao: string,
          Email: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Termino: smalldatetime,
          TipoCompromisso: string,
          Titulo: string,
          Usuario: 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: Compromisso | CompromissoTodosListarRelatorioPrincipal

post /api/Compromisso/CompromissoTodosListarRelatorioPrincipal?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
{
     [
          _IdCliente: uniqueidentifier,
          _IdReferente: uniqueidentifier,
          _IdReferenteSubDescricao: string,
          _IdReferenteUrl: string,
          _IdUsuario: uniqueidentifier,
          _RfTipoCompromisso: string,
          _StRealizado: bit,
          Alteracao: smalldatetime,
          AutonumeracaoEmpresa: int,
          Cliente: string,
          Compromisso: uniqueidentifier,
          Descricao: string,
          Email: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Termino: smalldatetime,
          TipoCompromisso: string,
          Titulo: string,
          Usuario: 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: Compromisso | CompromissoTodosProximosListarRelatorioPrincipal

post /api/Compromisso/CompromissoTodosProximosListarRelatorioPrincipal?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
{
     [
          _IdCliente: uniqueidentifier,
          _IdReferente: uniqueidentifier,
          _IdReferenteSubDescricao: string,
          _IdReferenteUrl: string,
          _IdUsuario: uniqueidentifier,
          _RfTipoCompromisso: string,
          _StRealizado: bit,
          Alteracao: smalldatetime,
          AutonumeracaoEmpresa: int,
          Cliente: string,
          Compromisso: uniqueidentifier,
          Descricao: string,
          Email: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Termino: smalldatetime,
          TipoCompromisso: string,
          Titulo: string,
          Usuario: 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: Compromisso | DatasHorariosOcupados

post /api/Compromisso/DatasHorariosOcupados?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     DataEscolhida: datetime,
     IdEmpresa: varchar,
     IdResponsavel: varchar,
}

json required

Response


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

array json
{
     [
          Agendamentos: int,
          Horario: string,
          Inicio: smalldatetime,
          InicioSemHora: date,
     ]
}

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: Compromisso | GerarRecorrencia

post /api/Compromisso/GerarRecorrencia?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

Obs: GerarRecorrencia 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: Compromisso | ListarDatas

post /api/Compromisso/ListarDatas?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
     IdReferente: varchar,
     IdUsuario: varchar,
}

json required

Response


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

array json
{
     [
          Data: smalldatetime,
     ]
}

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: Compromisso | ListarHorarios

post /api/Compromisso/ListarHorarios?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Data: datetime,
     IdEmpresa: varchar,
     IdResponsavel: varchar,
}

json required

Response


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

array json
{
     [
          Horario: 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: Compromisso | ListarPorReferente

post /api/Compromisso/ListarPorReferente?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Empresa: varchar,
     Referente: 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: datetime,
          Compromisso: uniqueidentifier,
          Data: smalldatetime,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Momento: string,
          Realizado: bit,
          Responsavel: string,
          ResponsavelHash: uniqueidentifier,
          Status: string,
          StatusLabel: string,
          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: Compromisso | ListarRelatorioPrincipal

post /api/Compromisso/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,
          Cliente: string,
          ClienteValor: uniqueidentifier,
          Compromisso: uniqueidentifier,
          Descricao: string,
          Email: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          RealizadoValor: bit,
          Termino: smalldatetime,
          TipoCompromisso: string,
          TipoCompromissoValor: string,
          Titulo: string,
          Usuario: string,
          UsuarioValor: 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: Compromisso | MeusCompromissosListarRelatorioPrincipal

post /api/Compromisso/MeusCompromissosListarRelatorioPrincipal?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
{
     [
          _IdCliente: uniqueidentifier,
          _IdReferente: uniqueidentifier,
          _IdReferenteSubDescricao: string,
          _IdReferenteUrl: string,
          _IdUsuario: uniqueidentifier,
          _RfTipoCompromisso: string,
          _StRealizado: bit,
          Alteracao: smalldatetime,
          AutonumeracaoEmpresa: int,
          Cliente: string,
          Compromisso: uniqueidentifier,
          Descricao: string,
          Email: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Termino: smalldatetime,
          TipoCompromisso: string,
          Titulo: string,
          Usuario: 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: Compromisso | Consultar

post /api/Compromisso/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,
          CategoriaCompromisso: uniqueidentifier,
          Cliente: uniqueidentifier,
          CustomInfo: string,
          Descricao: string,
          Email: string,
          Empresa: uniqueidentifier,
          Frequencia: int,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Lembrete: bit,
          LembreteDashboard: bit,
          MinutosLembrete: int,
          NotificadoAviso: bit,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Ocupado: bit,
          Periodicidade: int,
          Pessoa: string,
          Privado: bit,
          Realizado: bit,
          Recorrencia: uniqueidentifier,
          Referente: uniqueidentifier,
          ReferenteCompromisso: uniqueidentifier,
          ReferenteDescricao: string,
          ReferenteTipo: string,
          Telefone: string,
          Termino: smalldatetime,
          TipoCompromisso: string,
          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: Compromisso | Excluir

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

post /api/Compromisso/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,
          CategoriaCompromisso: uniqueidentifier,
          Cliente: uniqueidentifier,
          CustomInfo: string,
          Descricao: string,
          Email: string,
          Empresa: uniqueidentifier,
          Frequencia: int,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Lembrete: bit,
          LembreteDashboard: bit,
          MinutosLembrete: int,
          NotificadoAviso: bit,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Ocupado: bit,
          Periodicidade: int,
          Privado: bit,
          Realizado: bit,
          Recorrencia: uniqueidentifier,
          Referente: uniqueidentifier,
          ReferenteCompromisso: uniqueidentifier,
          Telefone: string,
          Termino: smalldatetime,
          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: Compromisso | Salvar

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

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     CamposAtualizados: nvarchar,
     Categoria: int,
     CategoriaCompromisso: uniqueidentifier,
     Cliente: uniqueidentifier,
     ConsultarPorCampo: varchar,
     CustomInfo: nvarchar,
     Descricao: varchar,
     Email: varchar,
     Empresa: varchar,
     Frequencia: int,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     Inicio: smalldatetime,
     Lembrete: bit,
     LembreteDashboard: bit,
     MinutosLembrete: int,
     Modo: varchar,
     NotificadoAviso: bit,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Ocupado: bit,
     Periodicidade: int,
     Pessoa: varchar,
     Privado: bit,
     Realizado: bit,
     Recorrencia: uniqueidentifier,
     Referente: uniqueidentifier,
     ReferenteCompromisso: uniqueidentifier,
     RetornarDataSet: bit,
     Telefone: varchar,
     Termino: smalldatetime,
     TipoCompromisso: varchar,
     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/compromisso?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: Compromisso | CursoListarArquivos

post /api/Compromisso/CursoListarArquivos?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Compromisso: varchar,
     IdEmpresa: varchar,
     Responsavel: 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: Compromisso | ListarCompromissosCurso

post /api/Compromisso/ListarCompromissosCurso?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Curso: varchar,
     IdEmpresa: varchar,
     Responsavel: varchar,
}

json required

Response


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

array json
{
     [
          Cliente: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Responsavel: string,
          Termino: smalldatetime,
          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: Compromisso | ListarCursoPorResponsavel

post /api/Compromisso/ListarCursoPorResponsavel?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
     Responsavel: varchar,
}

json required

Response


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

array json
{
     [
          Hash: 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: Compromisso | ListarPorCliente

post /api/Compromisso/ListarPorCliente?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
{
     [
          Descricao: string,
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Responsavel: string,
          Termino: smalldatetime,
          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: Compromisso | ListarPorResponsavel

post /api/Compromisso/ListarPorResponsavel?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     IdEmpresa: varchar,
     Responsavel: varchar,
}

json required

Response


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

array json
{
     [
          Hash: uniqueidentifier,
          Inicio: smalldatetime,
          Periodo: string,
          Realizado: string,
          Referente: string,
          Responsavel: string,
          Termino: smalldatetime,
          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: Compromisso | ListarUsuariosAgenda

post /api/Compromisso/ListarUsuariosAgenda?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
{
     [
          Hash: 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