活动api


协作系统-发送客服消息

<h1>上传媒体资源</h1> <h2><strong>请求URL:</strong></h2> <ul> <li> <p>前缀 TEST:<a href="https://guide-api-test.feihe.com">https://guide-api-test.feihe.com</a> UAT:<a href="https://guide-api-uat.feihe.com">https://guide-api-uat.feihe.com</a> PROD:<a href="https://guide-api.feihe.com">https://guide-api.feihe.com</a></p> </li> <li>地址 /wisdom-api/weixin/v1/sendCustomerMessage</li> </ul> <h2><strong>请求方式:</strong></h2> <p>POST</p> <h2><strong>请求头:</strong></h2> <ul> <li>system: NEW_MEMBER</li> </ul> <h2><strong>请求参数:</strong></h2> <pre><code class="language-json">{ &amp;quot;openId&amp;quot;: &amp;quot;oc63ewmuBYT11PkeC2IEsT0n2gggg&amp;quot;, &amp;quot;msg&amp;quot;: &amp;quot;客服消息&amp;quot; }</code></pre> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">openId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>微信openid</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>消息体</td> </tr> </tbody> </table> <h2>成功返回结果example</h2> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;errcode&amp;quot;: 0, &amp;quot;errmsg&amp;quot;: &amp;quot;ok&amp;quot; } }</code></pre> <h2>失败结果example</h2> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;操作成功&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;errcode&amp;quot;: 40003, &amp;quot;errmsg&amp;quot;: &amp;quot;invalid openid rid: 66f3bd4d-25a283a9-73c6a452&amp;quot; } }</code></pre> <h2><strong>返回结果:</strong></h2> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">data.errcode</td> <td style="text-align: left;">string</td> <td>微信错误code|</td> </tr> <tr> <td style="text-align: left;">errmsg</td> <td style="text-align: left;">string</td> <td>微信错误提示|</td> </tr> </tbody> </table>

页面列表

ITEM_HTML