POST api/hotel/curx/user/account?username={username}&password={password}&type={type}

用户账户信息(账户信用度)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

用户名

string

Required

password

密码

string

Required

type

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

用户账户信息(账户信用度)

ReturnResultOfAsHotelUserAccountRSContract
NameDescriptionTypeAdditional information
data

AsHotelUserAccountRSContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "creditlimit": 1,
    "grandlimit": 2,
    "usedlimit": 3.0,
    "orgcredits": 4,
    "agentid": 5,
    "username": "sample string 6",
    "realname": "sample string 7",
    "email": "sample string 8",
    "phone": "sample string 9",
    "groupname": "sample string 10",
    "department": "sample string 11",
    "jobtitle": "sample string 12",
    "companyname": "sample string 13",
    "istestaccount": true,
    "companycode": "sample string 15"
  },
  "code": 1,
  "message": "sample string 2"
}