Login UserCompany
POST/auth/login
login de usuarios de company
Request
- application/json
- multipart/form-data
Body
Login de Usuario. Para todos los tipos de usuario será el mismo. Usuarios de Testing:
- Staff: admin@user.com, ad@ad.ad
- Company: cia@user.com
- Truckers: trucker@user.com
Todos los usuarios de testing tienen la misma contraseña: Test1234
Body
Login de Usuario. Para todos los tipos de usuario será el mismo. Usuarios de Testing:
- Staff: admin@user.com, ad@ad.ad
- Company: cia@user.com
- Truckers: trucker@user.com
Todos los usuarios de testing tienen la misma contraseña: Test1234
Possible values: non-empty
Possible values: non-empty
Responses
- 200
- 400
- 401
- 403
- 404
- 406
- 500
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
{
"data": "string",
"status": 0
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}
Example response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
, [ALREADY_EXIST
, ALREADY_FAV
, CODE_EXPIRED
, DATA_WRONG
, DB_ERROR
, DUPLICATED_DATA
, ERROR_SAVING
, FORM_DATA_NOT_VALID
, NO_TOKEN
, NOT_FOUND
, PASSWORD_NOT_VALID
, PROP_PRIVATE
, SMTP_SEND_FAILED
, TOKEN_NOT_VALID
, USER_ALREADY_EXIST
, USER_NOT_ALLOWED
, USER_NOT_FOUND
, USER_RELOGIN
, USER_WITHOUT_PASSWORD
]
Possible values: [200
, 201
, 202
, 204
, 301
, 400
, 401
, 403
, 404
, 405
, 406
, 408
, 418
, 500
, 501
, 503
]
Codigo Error Http
{
"message": "USER_WITHOUT_PASSWORD",
"status": 200
}