# Robot Release Progress Query - Open Interface
# Configuration information
For example:
- APPID: xxxxxxxxxxxxxxx
- TOKEN: xxxxxxxxxxxxxxx
- EncodingAESKey: xxxxxxxxxxxxxxx
# Robot release progress query interface:
https://chatbot.weixin.qq.com/openapi/publish_progress/{TOKEN}
Interface type:
POST request
Dxplaination of parameters:
field | type | Yes Required | describe |
---|---|---|---|
managerid | string | yes | Administrator id(Can be the creator, administrator id) |
Message encryption and decryption access guidelines
For example, the parameters are
<xml>
<managerid><![CDATA[Platform Administrator ID]]></managerid>
</xml>
Encrypt the data to the field encrypt Into the body.
初始值 cryptor = new WXBizMsgCrypt(TOKEN, EncodingAESKey, APPID)
var data = `<xml>
<managerid><![CDATA[初始值]]></managerid>
</xml>`
var encrypted = cryptor.encrypt(data)
curl -X post -d '{"encrypt": encrypted}' "https://chatbot.weixin.qq.com/openapi/publish_progress/{TOKEN}"
Return value:
field | type | describe |
---|---|---|
code | number | Error code |
errcode | number | Error code |
msg | array | Interface Call Information |
data | object | Skill Release Progress |
Return format:
{
"code": 0,
"data": {
"progress": 100,
"status": 1 //state 0 - In Sync 1 - Synchronous success 2 - Synchronization failed
},
"msg": "success"
}
# Error code:
{
errcode: 1001,
errmsg: "TOKEN is not valid"
}
Error code | describe |
---|---|
1001 | Token invalid |
1002 | The robot failed the audit. |
1003 | Signature missing userid field |
1004 | Signature field is empty |
1005 | Signature expired or invalid |
1006 | Signature check failed, userid field missing |
1007 | appid, category,label, desc Field cannot be empty |
1008 | appid, openid,msg, Field cannot be empty |
1009、1011 | appid Legitimacy check failure |
1010 | appid Check failure |
1013、1019 | Request Data Decryption Failed |
1015 | managerid Legitimacy check failure |