OMS接口文档

OMS接口文档


组织门店查询

<p><strong>简要描述:</strong> </p> <ul> <li>组织门店查询</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://IP:端口/user/getOrgsAndStores?terminalType=1&amp;token=123456</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li> <p>GET </p> <p><strong>返回示例</strong></p> </li> </ul> <pre><code>{"code":200,"message":"获取组织门店成功","data":{"yhtTenantId":"exvm2sfh","code":"testjinyi","isOpenUdh":false,"gender":0,"yxyUserId":"228382febd9f40859207cc91b1d2b39a","mobile":"13888888888","industry":1,"yxyTenantId":"e8e67b3c311446aebb14f2ecf9060281","name":"testjinyi","userType":0,"id":1225908696092928,"pubts":"2019-10-29 14:52:36","email":"liyyf2@yonyou.com","yhtUserId":"5d841855-c719-473a-914f-62a860f4ff61","tenant":1225908695929088,"stopstatus":false,"regStatus":"2","token":"3c0ea8acd11a43a6bb7ef8afac78952e","loginTime":"2019-11-26 20:16:07","sensDataAuths":{},"appId":null,"leftTime":217,"isOpenTenant":true,"userOrgs":[{"org":1225908717523200,"id":1225908719390976,"isdefault":true,"org_name":"集成测试公司","user":1225908696092928,"org_code":"ywdy0001"},{"org":1403448178708736,"id":1402462629105922,"isdefault":false,"org_name":"0919001","user":1225908696092928,"org_code":"0919001"}],"orgId":1225908717523200,"path":"1225908717523200|","userShops":[],"userExpresss":[],"omsClientUrl":"http://omsdemoserver.yonyouup.com"}}</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