获取企业主题列表

Example

请求方式 POST

https://global.talk-cloud.net/api/company/v1/getThemeList

参数名 必选 类型 说明
Tk-authkey String 企业Key
Content-Type String multipart/form-data;
参数名称 类型 描述
result Int code码.可根据result是否是0来判断是否成功 0:表示成功 -1表示失败 若调用失败,会返回错误码,具体看公共错误码信息。
list arrayObj 数据
list.roomthemeid string ID
list.name string 主题名称
list.type string 主题类型 0:背景色;1:背景图;
list.icontype string 图标类型 0:浅色图标;1:深色图标;
list.imgurl string 图片地址
list.color string 颜色色值
list.status string 状态 0:删除;1:正常;
list.versiontype string
msg String 返回信息

返回示例

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
    "result": 0,
    "list": [
        {
            "roomthemeid": "2",
            "name": "Black",
            "type": "0",
            "icontype": "0",
            "imgurl": "",
            "color": "#242530",
            "status": "1",
            "versiontype": "0"
        },
        {
            "roomthemeid": "1",
            "name": "Purple",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/purple.png",
            "color": "",
            "status": "1",
            "versiontype": "0"
        },
        {
            "roomthemeid": "3",
            "name": "Orange",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/Orange.png",
            "color": "",
            "status": "1",
            "versiontype": "0"
        },
        {
            "roomthemeid": "4",
            "name": "Gradient blue",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/midnightblue.png",
            "color": "",
            "status": "1",
            "versiontype": "1"
        },
        {
            "roomthemeid": "6",
            "name": "Polka-dot green",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/greencircle.png",
            "color": "",
            "status": "1",
            "versiontype": "1"
        },
        {
            "roomthemeid": "7",
            "name": "Polar Bear",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/rabbitandbear.png",
            "color": "",
            "status": "1",
            "versiontype": "1"
        },
        {
            "roomthemeid": "8",
            "name": "Pink",
            "type": "1",
            "icontype": "0",
            "imgurl": "https://tk-hwdemocdn.talk-cloud.net/roomtheme/default/pinkworld.png",
            "color": "",
            "status": "1",
            "versiontype": "1"
        },
        {
            "roomthemeid": "179",
            "name": "自定义1",
            "type": "0",
            "icontype": "0",
            "imgurl": "",
            "color": "#2c35bd",
            "status": "1",
            "versiontype": "2"
        }
    ],
    "msg": ""
}

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号