开放平台API - 软件2.0

提供第三方获取相关资料


工种信息

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>工种信息列表接口</li> <li>更新频率/分钟</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://IP地址:端口号/openApi/TypeworkInformation/</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST JSON</li> </ul> <h5>请求参数</h5> <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;">api_key</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>认证凭证: D90884F36D11C287619F742A0C8CB3FA503AEB5B</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>{ &amp;quot;api_key&amp;quot;: &amp;quot;D90884F36D11C287619F742A0C8CB3FA503AEB5B&amp;quot; }</code></pre> <h5>返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 200, &amp;quot;msg&amp;quot;: &amp;quot;请求成功&amp;quot;, &amp;quot;data&amp;quot;: [ {             &amp;quot;typeworkCode&amp;quot;: 10,             &amp;quot;typeworkName&amp;quot;: &amp;quot;支护工&amp;quot;         },         {             &amp;quot;typeworkCode&amp;quot;: 12,             &amp;quot;typeworkName&amp;quot;: &amp;quot;装载工&amp;quot;         } ] }</code></pre> <h5>返回参数说明</h5> <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;">int</td> <td>返回状态:200成功,404失败</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>返回描述</td> </tr> <tr> <td style="text-align: left;">typeworkCode</td> <td style="text-align: left;">int</td> <td>工种编号</td> </tr> <tr> <td style="text-align: left;">typeworkName</td> <td style="text-align: left;">string</td> <td>工种名称</td> </tr> </tbody> </table>

页面列表

ITEM_HTML