OMS接口文档

OMS接口文档


原单打开

<p><strong>简要描述:</strong> </p> <ul> <li>原单打开</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://localhost:8080/billoperation/doaction?terminalType=1&amp;token=1234</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <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;">billnum</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>单据编码 ec_tradeorder</td> </tr> <tr> <td style="text-align: left;">action</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>操作类型 sourcetradeopen</td> </tr> <tr> <td style="text-align: left;">ids</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>原单id,多个id使用“,”分隔</td> </tr> <tr> <td style="text-align: left;">partParam</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Map</td> <td>订单-时间戳关系映射</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ "billnum": "ec_tradeorder", "action": "sourcetradeopen", "ids": "1916261579559168,1916261570072832,1916261562454272", "partParam": { "1916261579559168": "2020-09-16 16:56:36", "1916261570072832": "2020-09-16 16:56:36", "1916261562454272": "2020-09-16 16:56:36" } }</code></pre> <p><strong>返回示例</strong></p> <pre><code>{ "code": 200, "message": "[ {\"code\":\"1\",\"isShowMsg\":true, \"externalMap\":{},\"failCount\":\"0\", \"sucIdAndPubts\":{\"1916261579559168\":1600247509000}, \"successCount\":\"1\",\"isExcuteAction\":true, \"actionName\":\"原单打开\"}, {\"code\":\"1\",\"isShowMsg\":true, \"externalMap\":{},\"failCount\":\"0\", \"sucIdAndPubts\":{\"1916261570072832\":1600247509000}, \"successCount\":\"1\",\"isExcuteAction\":true, \"actionName\":\"原单打开\"}, {\"code\":\"1\",\"isShowMsg\":true, \"externalMap\":{},\"failCount\":\"0\", \"sucIdAndPubts\":{\"1916261562454272\":1600247509000}, \"successCount\":\"1\",\"isExcuteAction\":true, \"actionName\":\"原单打开\"} ]" }</code></pre> <p><strong>返回参数说明</strong> </p> <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;">code</td> <td style="text-align: left;">string</td> <td>200:成功;其他:失败</td> </tr> <tr> <td style="text-align: left;">message</td> <td style="text-align: left;">string</td> <td>消息</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML