billingws.gpstracking.pe Open in urlscan Pro
137.184.186.246  Public Scan

URL: https://billingws.gpstracking.pe/
Submission: On August 12 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Toggle navigation
x
 * Operator
 * Autenticar operador
   /api/auth/operator


RECAUDO BACKEND


ESPECIFICACIÓN DE SERVICIOS

1.0.0 
 * Compare all with predecessor
 * 
 * show up to version:
 * 1.0.0
 * 0.0.0





OPERATOR


OPERATOR | AUTENTICAR OPERADOR

0.0.0 
 * compare changes to:
 * 0.0.0


post

http://localhost:9001/v1/api/auth/operator

Copy
 * Json-body:

{
    "doc_number": "1234567"
}

Copy


REQUEST BODY

Field Type Description doc_number String

Nro de documento o padron


SUCCESS 200

Field Type Description status Boolean

Respuesta del servicio

msg String

Mensaje de servicio

data Object

Datos de repuesta

  user Object

Datos de usuario

    name String

Nombre

    lastname String

Apellido

    doc_number String

Nro de documento

    status_id Integer

Estado

  token String

Token de usuario

  ticket_init String

Serie de ticket

 * Success-Response:

{
    "status": true,
    "msg": "Autenticacion exitosa",
    "data": {
        "user": {
            "name": "Fernando",
            "lastname": "Cortez",
            "doc_number": "1234567",
            "status_id": 1
        },
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJzZXJpZV9pZCI6NywibmFtZSI6IkZlcm5hbmRvIiwicHJvZ3JhbWF0aW9uX2lkIjoxLCJpYXQiOjE2OTE3NzE4MTA2MDd9.thyM9KPBtu1J-RW5ERcj_0f18KI6vnX-LktK4dZnto0",
        "ticket_init": 10000020001
    }
}

Copy
 * Error-Response:

{
    "error": "UserNotFound"
}

Copy


Generated with apidoc 1.1.0 - Fri Aug 11 2023 17:48:26 GMT-0500 (Peru Standard
Time)