voltar

API Referências: Atendimento | DefinirAtendenteAutomatico

post /api/Atendimento/DefinirAtendenteAutomatico?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Atendimento: 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: Atendimento | EnviarMensagem

post /api/Atendimento/EnviarMensagem?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Atendimento: varchar,
     AtendimentoFluxoMensagem: varchar,
     Empresa: varchar,
     Mensagem: nvarchar,
     Plataforma: int,
     Responsavel: 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: Atendimento | IdentificarSolicitantePorEmail

post /api/Atendimento/IdentificarSolicitantePorEmail?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Atendimento: varchar,
     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: Atendimento | IdentificarSolicitantePorTelefone

post /api/Atendimento/IdentificarSolicitantePorTelefone?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Atendimento: varchar,
     Empresa: varchar,
     Telefone: 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: Atendimento | ResponderMensagemBot

post /api/Atendimento/ResponderMensagemBot?token=[SEU-TOKEN-SECRETO]&json=[JSON]

Request

Querystring parameters names Type
token string required
json

{
     Atendimento: 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: Atendimento | Consultar

post /api/Atendimento/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,
          Atendente: uniqueidentifier,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: smalldatetime,
          Categoria: int,
          Concluido: bit,
          Email: string,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Iniciado: bit,
          InicioAtendimento: smalldatetime,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Pessoa: string,
          Plataforma: int,
          Privado: bit,
          ReferenteSolicitante: uniqueidentifier,
          TerminoAtendimento: smalldatetime,
          Titulo: 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: Atendimento | Excluir

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

post /api/Atendimento/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,
          Atendente: uniqueidentifier,
          Autonumeracao: int,
          AutonumeracaoEmpresa: int,
          Cadastro: smalldatetime,
          Categoria: int,
          Concluido: bit,
          Email: string,
          Empresa: uniqueidentifier,
          Hash: uniqueidentifier,
          Iniciado: bit,
          InicioAtendimento: smalldatetime,
          Notificavel: bit,
          ObservacoesAdicionais: text,
          Plataforma: int,
          Privado: bit,
          ReferenteSolicitante: uniqueidentifier,
          TerminoAtendimento: smalldatetime,
          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: Atendimento | Salvar

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

Request

Querystring parameters names Type
token string required
json

{
     AcessoLiberado: text,
     Atendente: uniqueidentifier,
     CamposAtualizados: nvarchar,
     Categoria: int,
     Concluido: bit,
     ConsultarPorCampo: varchar,
     Email: varchar,
     Empresa: varchar,
     Hash: varchar,
     HashAplicado: uniqueidentifier,
     Iniciado: bit,
     InicioAtendimento: smalldatetime,
     Modo: varchar,
     Notificavel: bit,
     ObservacoesAdicionais: text,
     Pessoa: varchar,
     Plataforma: int,
     Privado: bit,
     ReferenteSolicitante: uniqueidentifier,
     RetornarDataSet: bit,
     TerminoAtendimento: smalldatetime,
     Titulo: 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/atendimento?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