Type: POST
Author: Shang Pan,flame
Content-Type: application/json; charset=utf-8
Description: 企业作品转模版
Body-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
opfid | string | true | 开放平台ID |
nonce | string | true | 6位随机字串不能为空 |
timestamp | string | true | 签名时间戳 |
signature | string | true | 签名 |
uid | string | true | 第三方平台的用户id |
appId | string | true | 作品ID |
Request-body:
{ "opfid": "71", "nonce": "hz77e8", "timestamp": "2021-08-19 14:47:59", "signature": "z91wp3", "appId": "71" } |
Response-fields:
Field | Type | Description |
---|---|---|
code | string | 状态码 |
errorCode | string | 错误状态码 |
msg | string | 状态描述 |
data | object | 数据 |
└─orgtplId | string | * 企业模板id |
└─orgtplOrg | string | *orgid |
└─orgtplApp | string | *作品ID |
└─orgtplUser | string | *用户id |
└─orgtplType | string | *CARD_TEMPLATE("C", "卡片模版"), |
└─orgtplTitle | string | *作品名称 |
└─orgtplDesc | string | *作品摘要描述 |
└─orgtplFile | string | *作品封面图,文件ID |
└─orgtplFilepath | string | *首页截图 |
└─orgtplSort | int32 | *排序方式 |
└─orgtplData | string | *orgtplData |
└─orgtplRemark | string | *orgtplRemark |
└─orgtplUsecount | int32 | *orgtplUsecount |
└─orgtplLasttime | string | *orgtplLasttime |
└─orgtplState | string | * UP("U", "上架"), |
└─orgtplStatetime | string | *转模板时间 |
└─orgtplCt | string | *转模板时间 |
└─orgtplUt | string | *转模板时间 |
└─orgtplSpecies | string | * 作品类型,1:场景作品,2:一页作品,3:一视作品,重构后一页作品只有一个页面,多个页面自动跳场景里面 |
└─orgtplExt | string | *orgtplExt |
└─appVersion | int32 | * 作品版本(0:老作品,1:老作品转新作品,2:新作品,3:小程序) |
└─pluginId | int64 | * 插件id |
└─pluginClassifyId | int32 | *插件 |
└─pluginPlayWayKey | string | *pluginPlayWayKey |
└─pluginPlayWayType | string | * 玩法json |
└─tplclass | string | * 分类 |
└─tplscene | string | * 场景 |
└─tpltheme | string | * 主题 |
└─tplStyle | string | * 风格 |
Response-example:
{ "code": "21339", "errorCode": "21339", "msg": "bmnq86", "data": { "orgtplId": "71", "orgtplOrg": "1lv8fb", "orgtplApp": "xn0bwy", "orgtplUser": "5xm7xq", "orgtplType": "d26p7h", "orgtplTitle": "5sw0ee", "orgtplDesc": "4mnejo", "orgtplFile": "6qvwmv", "orgtplFilepath": "ec8sxx", "orgtplSort": 97, "orgtplData": "fgd3n3", "orgtplRemark": "z2d3hk", "orgtplUsecount": 368, "orgtplLasttime": "2021-08-19 14:48:00", "orgtplState": "nyqou0", "orgtplStatetime": "2021-08-19 14:48:00", "orgtplCt": "2021-08-19 14:48:00", "orgtplUt": "2021-08-19 14:48:00", "orgtplSpecies": "u9ueit", "orgtplExt": "62rup0", "appVersion": 563, "pluginId": 381, "pluginClassifyId": 386, "pluginPlayWayKey": "qqlq8z", "pluginPlayWayType": "8ixytt", "tplclass": "1ibnfx", "tplscene": "eyfy4t", "tpltheme": "dct7wi", "tplStyle": "xj4rxf" } } |