POST public/v3/OpenAppSubApp/UploadSubAppIcon?attachmentStr={attachmentStr}&iconsetID={iconsetID}&subAppNo={subAppNo}&attachType={attachType}

上传应用图标,文件格式必须为png

Request

URI Params

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

string

Required

iconsetID

图标集ID

integer

Required

subAppNo

应用编号No

string

Required

attachType

文件扩展名

string

Required

Body Params

None.

Api Parameter Descriptions

参数描述参数说明参数源
attachmentStr

FromUri
iconsetID

图标集ID

FromUri
subAppNo

应用编号No

FromUri
attachType

文件扩展名

FromUri

Response

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

AttachmentApiModel

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": {
    "AttachType": 1,
    "Name": "sample string 1",
    "Url": "sample string 2",
    "ThumbUrl": "sample string 3",
    "Length": 4,
    "Height": 5,
    "Width": 6,
    "SHeight": 7,
    "SWidth": 8
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}