WMind Api

API WMind - Portal Online Wincode

Acessos Net

Serviços disponíveis para manutenção de acessos.

Consultar

GET

List of records:

Parameters
  • acesso_tipo (varchar(1)) (optional)
  • acesso_codigo (varchar(200)) (optional)
  • acesso_password (varchar(255), md5()) (optional)
Response
  • 200 (array)
    • count_total (int) - Total number of records
    • count (int) - Total number of returned records
    • offset (int) - Returned records offset
    • rows (array) - Array of results
  • 404 (array)
    • status (int) 404
    • error (int) 404
    • message (array)
      • error (string)
        • Não foram encontrados registos.
  • 400 (array)
    • status (int) 400
    • error (int) 400
    • message (array)
      • error (string)
        • Ocorreu um erro ao processar o pedido.
  • 401 (array)
    • status (bolean) false
    • error (string)
      • Dados de autenticação inválidos
      • Pedido inseguro, utilize https

Atualizar

PUT

Specific record:

Parameters
  • acesso_password (vachar(255), md5()) (optional)
  • acesso_ultimo (datetime(Y-m-d H:i:s)) (optional)
  • acesso_total (int) (optional)
  • acesso_bloqueado (varchar(1)) (optional)
  • acesso_penultimo (datetime(Y-m-d H:i:s)) (optional)
Response
  • 200 - Successful update
    • status (int)
    • error (bolean)
    • message (string)
  • 404 (array)
    • status (int) 404
    • error (int) 404
    • message (array)
      • error (string)
        • Ocorreu um erro.
  • 401 (array)
    • status (bolean) false
    • error (string)
      • Dados de autenticação inválidos
      • Pedido inseguro, utilize https

Inserir

POST

Specific record:

Parameters
  • acesso_tipo (vachar(1)) (mandatory)
  • acesso_codigo (varchar(200)) (mandatory)
  • acesso_password (varchar(255)) md5() (mandatory)
Response
  • 200 - Successful update
    • status (int)
    • insertId (int)
    • error (bolean)
    • message (string)
  • 404 (array)
    • status (int) 404
    • error (int) 404
    • message (array)
      • error (string)
        • Ocorreu um erro.
  • 401 (array)
    • status (bolean) false
    • error (string)
      • Dados de autenticação inválidos
      • Pedido inseguro, utilize https