A3ERP API
English
English
  • Quick Start
    • Initial configuration
    • Installation
  • Versions
  • Documentation
    • API Reference
      • Api
      • Validation
      • Email
      • Master
        • Parameters
      • Document
        • Parameters
      • Various
      • Stock movements
      • Stock Reserves
      • Expeditions
      • Links
      • Stock
      • Portfolio
      • Prices
      • Stored Procedures
      • View
      • Listing
      • FastReport
      • Download Files
      • List Linked Folders
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. Documentation
  2. API Reference

Email

Sending email through the API

AnteriorValidationSiguienteMaster

Última actualización hace 2 años

¿Te fue útil?

Password management

Recover user password

get

When this call is made, it will check if the inserted email exists among the different types of registered users, if so, it will generate a new password, save it as a password for the user and send it by email to the indicated address.

Example:

https://server:5555/api/email/recuperapass/prueba@jnc.es

Parámetros de ruta
emailstringRequerido

Recovery email.

Respuestas
200
OK
get
GET /api/email/recuperapass/{email} HTTP/1.1
Host: server:<port>
Accept: */*
200

OK

Sin contenido

Change user password

get

When this call is made, it will check if the inserted email exists among the different types of registered users and the password matches the password of that email, in which case it will save the new password as the password for the user.

Example:

https://server:5555/api/email/actualizapass/prueba@jnc.es/passantigua/nuevapass

Parámetros de ruta
emailstringRequerido

User's email address

passstringRequerido

User password

newpassstringRequerido

New user password

Parámetros de encabezado
AuthorizationstringRequerido

Bearer + JWT_token

Respuestas
200
OK
get
GET /api/email/actualizapass/{email}/{pass}/{newpass} HTTP/1.1
Host: server:<port>
Authorization: text
Accept: */*
200

OK

Sin contenido

  • Password management
  • GETRecover user password
  • GETChange user password