请求示例
<p>https://apigw.yun.pingan.com/rest/msg/uploadEmailAttachmentsAsStream</p>
<p>body请求:</p>
<table border="1" cellpadding="1" cellspacing="1" style="width:810px">
<tbody>
<tr>
<td style="background-color:#ededed; width:802px">
<p>{</p>
<p> "attachs":"[</p>
<p> {</p>
<p> \"requestId\":\"1560595905070\",</p>
<p> \"fileName\":\"123.txt\",</p>
<p> \"stream\":[84,119,57,65,53,80,56,88]</p>
<p> }</p>
<p> ]"</p>
<p>}</p>
</td>
</tr>
</tbody>
</table>
<p><strong>具体调用请参考<a href="https://yun.pingan.com/ssr/help/comm/YJTS/API.Overview">Demo示例</a></strong></p>
<p> </p>
<ul>
<li><strong>响应示例</strong></li>
</ul>
<table border="1" cellpadding="1" cellspacing="1" style="width:810px">
<tbody>
<tr>
<td style="background-color:#ededed; width:802px">{<br />
"code":"000000",<br />
"msg":"成功",<br />
"appid":"",<br />
"extend":"",<br />
"expiretime":"",<br />
"token":"",<br />
"batchNo":"mail2017070510243798072",<br />
"data":[<br />
{<br />
"code":"0",<br />
"msg":"成功",<br />
"requestID":"14992185957931",<br />
"fileName":"456789.txt",<br />
"fileRemoteId":"omcp/omcp-ftp/ftps:/pecp-core-ftp-ha-stg.app.paic.com.cn:43324/test/456789.txt"<br />
},<br />
{<br />
"code":"0",<br />
"msg":"成功",<br />
"requestID":"14992185957940",<br />
"fileName":"456789.jpg",<br />
"fileRemoteId":"omcp/omcp-ftp/ftps:/pecp-core-ftp-ha-stg.app.paic.com.cn:43324/test/456789.jpg"<br />
}<br />
]<br />
}</td>
</tr>
</tbody>
</table>
<p> </p>
<ul>
<li><strong>异常示例</strong></li>
</ul>
<table border="1" cellpadding="1" cellspacing="1" style="width:810px">
<tbody>
<tr>
<td style="background-color:#ededed; width:802px">{<br />
"code":"119022",<br />
"msg":"requestId列表含有两个或以上相同的元素",<br />
"appid":null,<br />
"extend":null,<br />
"expiretime":null,<br />
"token":null<br />
}</td>
</tr>
</tbody>
</table>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!