深圳鼎润捷通供应链有限公司


获取标签

<p>获取标签</p> <h5>简要描述</h5> <ul> <li>无</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{host}}/api/open/label</code></li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th>字段名</th> <th>示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>apikey</td> <td>6519827339</td> <td>是</td> <td>string</td> <td>apikey</td> </tr> <tr> <td>timestamp</td> <td>1724288542</td> <td>是</td> <td>string</td> <td>时间戳</td> </tr> <tr> <td>sign</td> <td>5aa5dcb415a0947b661d92aee98d4837</td> <td>是</td> <td>string</td> <td>签名</td> </tr> <tr> <td>accept</td> <td>application/json</td> <td>是</td> <td>string</td> <td>accept</td> </tr> <tr> <td>content-type</td> <td>application/json;charset=UTF-8</td> <td>是</td> <td>string</td> <td>content-type</td> </tr> <tr> <td>lang</td> <td>en-us</td> <td>是</td> <td>string</td> <td>lang</td> </tr> </tbody> </table> <h5>请求参数示例</h5> <pre><code>{ &amp;quot;no&amp;quot;: &amp;quot;DR305578411454219&amp;quot; }</code></pre> <h5>请求json字段说明</h5> <table> <thead> <tr> <th>字段名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>no</td> <td>是</td> <td>string</td> <td>单号,订单运单号或者客户单号</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: &amp;quot;标签获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1730452067, &amp;quot;data&amp;quot;: { &amp;quot;label_url&amp;quot;: &amp;quot;https://www.d-rain.cn/1.pdf&amp;quot; }, &amp;quot;log_id&amp;quot;: &amp;quot;8f932642e96f32c69ce7d88e09eb0fef&amp;quot; }</code></pre> <h5>成功返回示例的参数说明</h5> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>1:成功 ,0: 失败</td> </tr> <tr> <td>msg</td> <td>string</td> <td>提示信息</td> </tr> <tr> <td>time</td> <td>string</td> <td>无</td> </tr> <tr> <td>data</td> <td>object</td> <td>无</td> </tr> <tr> <td>label_url</td> <td>string</td> <td>标签地址</td> </tr> <tr> <td>log_id</td> <td>string</td> <td>日志ID</td> </tr> </tbody> </table> <h5>失败返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;标签尚未生成&amp;quot;, &amp;quot;time&amp;quot;: 1730452020, &amp;quot;data&amp;quot;: null, &amp;quot;log_id&amp;quot;: &amp;quot;80684e6b370357d03ebaff9d9b3194ce&amp;quot; }</code></pre> <h5>失败返回示例的参数说明</h5> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>1:成功 ,0: 失败</td> </tr> <tr> <td>msg</td> <td>string</td> <td>提示信息</td> </tr> <tr> <td>data</td> <td>array</td> <td>数据</td> </tr> <tr> <td>track_id</td> <td>string</td> <td>日志ID</td> </tr> </tbody> </table> <h5>备注</h5>

页面列表

ITEM_HTML