GET api/user/{uid}

Get User Basic Information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

User ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

User info object with account balance, if User not exist, will return null

User Info
NameDescriptionTypeAdditional information
user_uid

ID of User

integer

None.

display_name

Display Name of the User

string

None.

fb_picture

URL of User's Facebook Profile Picture

string

None.

account_balance

Account Balance of the User

decimal number

None.

user_create_date

User Create Date

date

None.

user_last_login_date

User Last Login Date

date

None.

disabled

Flag for Disable User

boolean

None.

rating

decimal number

None.

total_buy

integer

None.

total_sell

integer

None.

total_post

integer

None.

total_comment

integer

None.

total_be_commented

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "user_uid": 1,
  "display_name": "sample string 2",
  "fb_picture": "sample string 3",
  "account_balance": 4.1,
  "user_create_date": "2018-01-23T02:00:11.6642968+08:00",
  "user_last_login_date": "2018-01-23T02:00:11.6642968+08:00",
  "disabled": true,
  "rating": 7.1,
  "total_buy": 8,
  "total_sell": 9,
  "total_post": 10,
  "total_comment": 11,
  "total_be_commented": 12
}