User List
You can get user list with this request.
You need to use access token that you've got
Authentication
section in this request.
Request
Syntax:
GET /api/legale/users HTTP/1.1
Host: ServiceURL
Authorization: Bearer token
Response
Success:
{
"success": true,
"data": [
{
"email": "user1@gmail.com",
"name": "John Doe",
"RUT": "11.222.333-9",
},
{
"email": "user2@gmail.com",
"name": "Beckham",
"RUT": "11.222.333-8",
}
],
"debug": ""
}
Error:
{
"success": false,
"data": [],
"debug": "No User"
}
Other errors are following typical Restful API rules.