auth (POST)
This endpoint provides the mandatory token that the user must provide every time a method is called, with the only exception being this method itself.
- Endpoint :
preview.ilsbsys.com/apirest_v1/auth
Fields
{
"usuario" : "example_user",
"password" : "example_password"
}
If you're using a client for these requests (such as Postman), the fields are named the same way.
Results
When consumed succesfully, the method returns a 12 character Token.
{
"status": "OK",
"result": {
"token": "123456789ABC"
}
}
Common Error Codes
6037
: Both Fields are empty6040
: Field 'usuario' is empty6041
: Field 'password' is empty