UserProfile API

apirest.userprofile_serializers.UserProfileSerializer

Read:

CURL Usage:

curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/users/

Response:

{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "user": "http://127.0.0.1:8000/rest-api/users/2/",
      "address": "",
      "balance": "50.25000",
      "call_rate": "0.00000",
      "sms_rate": "0.00000",
      "usersource": {
        "url": "http://127.0.0.1:8000/rest-api/users/2/",
        "username": "joeroper",
        "last_name": "",
        "first_name": "",
        "email": "sales@star2billing.com",
        "balance": 0.0,
        "call_rate": 0.0,
        "sms_rate": 0.0
      }
    }
  ]
}