POST city/v3/OnlineMediateWW/SaveWXUserInfo

保存微信用户扩展信息

Request

URI Params

None.

Body Params

ResidentWWModel
字段名字段说明字段类型附加信息
Id

主键

integer

None.

OpenId

OpenID

string

None.

Name

姓名

string

None.

MobilePhone

手机

string

None.

IDCard

证件号码

string

None.

RID

常住地编号

integer

None.

RNames

常住地地址

string

None.

HeadPortrait

头像

string

None.

CTime

创建时间

string

None.

VerifyCode

验证码

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "1",
  "OpenId": "sample string 2",
  "Name": "sample string 3",
  "MobilePhone": "sample string 4",
  "IDCard": "sample string 5",
  "RID": "6",
  "RNames": "sample string 7",
  "HeadPortrait": "sample string 8",
  "CTime": "sample string 9",
  "VerifyCode": "sample string 10"
}

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 'ResidentWWModel'.

Response

APITResultOfIEnumerableOfUserMemberModel
字段名字段说明字段类型附加信息
Data

Collection of UserMemberModel

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": [
    {
      "RoleTypeDesc": "sample string 1",
      "GName": "sample string 2",
      "UMID": "3",
      "UserId": "sample string 4",
      "MobilePhone": "sample string 5",
      "Name": "sample string 6",
      "GID": "7",
      "CorpId": "sample string 8",
      "RL": 0,
      "ORL": 0,
      "BusinessType": 0,
      "UT": 1,
      "ProvinceId": "9",
      "ProvinceName": "sample string 10",
      "CityId": "11",
      "CityName": "sample string 12",
      "CountyId": "13",
      "CountyName": "sample string 14",
      "TownId": "15",
      "TownName": "sample string 16",
      "VillageId": "17",
      "VillageName": "sample string 18",
      "OrgID": "19",
      "OrgName": "sample string 20",
      "RoleType": 0,
      "WXUserInfo": {
        "Id": "1",
        "OpenId": "sample string 2",
        "Name": "sample string 3",
        "MobilePhone": "sample string 4",
        "IDCard": "sample string 5",
        "RID": "6",
        "RNames": "sample string 7",
        "HeadPortrait": "sample string 8",
        "CTime": "sample string 9",
        "VerifyCode": "sample string 10"
      },
      "Dutys": [
        100001,
        100001
      ],
      "RoleIds": [
        "1",
        "2"
      ]
    },
    {
      "RoleTypeDesc": "sample string 1",
      "GName": "sample string 2",
      "UMID": "3",
      "UserId": "sample string 4",
      "MobilePhone": "sample string 5",
      "Name": "sample string 6",
      "GID": "7",
      "CorpId": "sample string 8",
      "RL": 0,
      "ORL": 0,
      "BusinessType": 0,
      "UT": 1,
      "ProvinceId": "9",
      "ProvinceName": "sample string 10",
      "CityId": "11",
      "CityName": "sample string 12",
      "CountyId": "13",
      "CountyName": "sample string 14",
      "TownId": "15",
      "TownName": "sample string 16",
      "VillageId": "17",
      "VillageName": "sample string 18",
      "OrgID": "19",
      "OrgName": "sample string 20",
      "RoleType": 0,
      "WXUserInfo": {
        "Id": "1",
        "OpenId": "sample string 2",
        "Name": "sample string 3",
        "MobilePhone": "sample string 4",
        "IDCard": "sample string 5",
        "RID": "6",
        "RNames": "sample string 7",
        "HeadPortrait": "sample string 8",
        "CTime": "sample string 9",
        "VerifyCode": "sample string 10"
      },
      "Dutys": [
        100001,
        100001
      ],
      "RoleIds": [
        "1",
        "2"
      ]
    }
  ],
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}