POST base/v3/User/SetUserAddressBook?isFirstUpload={isFirstUpload}

新增/修改用户终端通讯录信息

Request

URI Params

字段名字段说明字段类型附加信息
isFirstUpload

是否首次上传

boolean

Required

Body Params

用户当前设备通讯录列表

Collection of UserAddressBookApiModel
字段名字段说明字段类型附加信息
Tel

用户通讯录联系人电话

string

None.

Name

联系人称呼

string

None.

ST

当前用户与通讯录联系人的关系

BookStatus

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Tel": "sample string 1",
    "Name": "sample string 2",
    "ST": 0
  },
  {
    "Tel": "sample string 1",
    "Name": "sample string 2",
    "ST": 0
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response

APIResult
字段名字段说明字段类型附加信息
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:
{
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}