POST public/v3/SubApp/SaveUserSubAppAndCatgs

保存当前用户的已选应用列表和分组排序(首页应用)

Request

URI Params

None.

Body Params

保存应用和分组的model

SubAppSaveUnionApiModel
字段名字段说明字段类型附加信息
Categorys

应用分组列表

Collection of SubAppCatgApiModel

None.

SubApps

应用列表

Collection of SubAppApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Categorys": [
    {
      "CatgID": 1,
      "Name": "sample string 2",
      "EntrType": 1,
      "IsShowName": true,
      "SNO": 4,
      "IsFold": true,
      "Icon": "sample string 6"
    },
    {
      "CatgID": 1,
      "Name": "sample string 2",
      "EntrType": 1,
      "IsShowName": true,
      "SNO": 4,
      "IsFold": true,
      "Icon": "sample string 6"
    }
  ],
  "SubApps": [
    {
      "SubAppID": 1,
      "Name": "sample string 2",
      "Icon": "sample string 3",
      "EntrType": 1,
      "SNO": 4,
      "ActType": 1,
      "Action": "sample string 5",
      "CNO": 6,
      "GID": 7,
      "AppVer": "sample string 8",
      "ElemType": 0,
      "ElemSize": 11,
      "ContType": 0,
      "Category": {
        "CatgID": 1,
        "Name": "sample string 2",
        "EntrType": 1,
        "IsShowName": true,
        "SNO": 4,
        "IsFold": true,
        "Icon": "sample string 6"
      }
    },
    {
      "SubAppID": 1,
      "Name": "sample string 2",
      "Icon": "sample string 3",
      "EntrType": 1,
      "SNO": 4,
      "ActType": 1,
      "Action": "sample string 5",
      "CNO": 6,
      "GID": 7,
      "AppVer": "sample string 8",
      "ElemType": 0,
      "ElemSize": 11,
      "ContType": 0,
      "Category": {
        "CatgID": 1,
        "Name": "sample string 2",
        "EntrType": 1,
        "IsShowName": true,
        "SNO": 4,
        "IsFold": true,
        "Icon": "sample string 6"
      }
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Api Parameter Descriptions

参数描述参数说明参数源
unionApiModel

保存应用和分组的model

FromBody

Response

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

Collection of SubAppApiModel

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": [
    {
      "SubAppID": 1,
      "Name": "sample string 2",
      "Icon": "sample string 3",
      "EntrType": 1,
      "SNO": 4,
      "ActType": 1,
      "Action": "sample string 5",
      "CNO": 6,
      "GID": 7,
      "AppVer": "sample string 8",
      "ElemType": 0,
      "ElemSize": 11,
      "ContType": 0,
      "Category": {
        "CatgID": 1,
        "Name": "sample string 2",
        "EntrType": 1,
        "IsShowName": true,
        "SNO": 4,
        "IsFold": true,
        "Icon": "sample string 6"
      }
    },
    {
      "SubAppID": 1,
      "Name": "sample string 2",
      "Icon": "sample string 3",
      "EntrType": 1,
      "SNO": 4,
      "ActType": 1,
      "Action": "sample string 5",
      "CNO": 6,
      "GID": 7,
      "AppVer": "sample string 8",
      "ElemType": 0,
      "ElemSize": 11,
      "ContType": 0,
      "Category": {
        "CatgID": 1,
        "Name": "sample string 2",
        "EntrType": 1,
        "IsShowName": true,
        "SNO": 4,
        "IsFold": true,
        "Icon": "sample string 6"
      }
    }
  ],
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}