Request
curl -i -k \
-H "Accept: application/json" \
-H 'Authorization: WSSE profile="UsernameToken"' \
-H 'X-WSSE: UsernameToken Username="Dmitry Fedyuk", PasswordDigest="xKM9h5XaP6IdX5+EUGZM7YdDjOA=", Nonce="Y2MwNzMxNjQ2ODBhNmU2Zg==", Created="2017-06-02T13:24:30+03:00"' \
https://localhost.com:848/app_dev.php/api/rest/latest/users
Response
Headers
HTTP/1.1 200 OK
Server: nginx/1.9.1
Date: Fri, 02 Jun 2017 10:26:50 GMT
Content-Type: application/json
Content-Length: 600
Connection: keep-alive
X-Powered-By: PHP/7.1.4
Cache-Control: max-age=0, no-store
pragma: no-cache
expires: -1
Body
[
{
"phone": null,
"title": null,
"googleId": null,
"id": 1,
"username": "Dmitry Fedyuk",
"email": "admin@mage2.pro",
"namePrefix": null,
"firstName": "Dmitry",
"middleName": null,
"lastName": "Fedyuk",
"nameSuffix": null,
"birthday": null,
"enabled": true,
"lastLogin": "2017-06-01T21:13:38+00:00",
"createdAt": "2017-05-28T06:30:18+00:00",
"updatedAt": "2017-05-28T06:58:42+00:00",
"loginCount": 24,
"passwordChangedAt": null,
"groups": [],
"owner": {"id": 1, "name": "Main"},
"emails": [],
"businessUnits": [{"id": 1, "name": "Main"}],
"roles": [{"id": 3, "role": "ROLE_ADMINISTRATOR", "label": "Administrator"}],
"organization": "Mage2.PRO",
"avatar": null
}
]