POST api/admin/user/{uid}/status

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uid

integer

Required

Body Parameters

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.

Request 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:05:20.6453405+08:00",
  "user_last_login_date": "2018-01-23T02:05:20.6453405+08:00",
  "disabled": true,
  "rating": 7.1,
  "total_buy": 8,
  "total_sell": 9,
  "total_post": 10,
  "total_comment": 11,
  "total_be_commented": 12
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'YSHUserDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.