@linkl/link-openapi-skills 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +70 -2
  3. package/bin/cli.js +125 -0
  4. package/openapi/basic-data.json +432 -0
  5. package/openapi/general-service.json +106 -0
  6. package/openapi/international-logistics.json +3439 -0
  7. package/openapi/last-mile-order.json +1643 -0
  8. package/openapi/settlement-service.json +603 -0
  9. package/openapi/user-service.json +289 -0
  10. package/package.json +18 -3
  11. package/skills/link-basic-data/SKILL.md +22 -0
  12. package/skills/link-basic-data/references/api-reference.md +22 -0
  13. package/skills/link-general-service/SKILL.md +22 -0
  14. package/skills/link-general-service/references/api-reference.md +12 -0
  15. package/skills/link-international-logistics/SKILL.md +22 -0
  16. package/skills/link-international-logistics/references/api-reference.md +62 -0
  17. package/skills/link-last-mile-order/SKILL.md +22 -0
  18. package/skills/link-last-mile-order/references/api-reference.md +37 -0
  19. package/skills/link-openapi-integration/SKILL.md +41 -0
  20. package/skills/link-openapi-integration/references/API-INVENTORY.md +33 -0
  21. package/skills/link-openapi-integration/references/basic-data.md +9 -0
  22. package/skills/link-openapi-integration/references/general-service.md +7 -0
  23. package/skills/link-openapi-integration/references/international-logistics.md +17 -0
  24. package/skills/link-openapi-integration/references/last-mile-order.md +12 -0
  25. package/skills/link-openapi-integration/references/settlement-service.md +9 -0
  26. package/skills/link-openapi-integration/references/user-service.md +9 -0
  27. package/skills/link-settlement-service/SKILL.md +22 -0
  28. package/skills/link-settlement-service/references/api-reference.md +22 -0
  29. package/skills/link-user-service/SKILL.md +22 -0
  30. package/skills/link-user-service/references/api-reference.md +22 -0
@@ -0,0 +1,289 @@
1
+ {
2
+ "openapi": "3.0.1",
3
+ "info": {
4
+ "title": "链路ERP开放平台",
5
+ "description": "userservice",
6
+ "contact": {
7
+ "name": "link",
8
+ "url": "https://www.linkl.com.cn"
9
+ },
10
+ "version": "1.0"
11
+ },
12
+ "servers": [
13
+ {
14
+ "url": "https://www.linkl.com.cn"
15
+ }
16
+ ],
17
+ "paths": {
18
+ "/openapi/oauthLogin": {
19
+ "post": {
20
+ "tags": [
21
+ "API列表"
22
+ ],
23
+ "summary": "oauth登录",
24
+ "description": "仅用于第三方登录",
25
+ "operationId": "oauthLogin",
26
+ "requestBody": {
27
+ "content": {
28
+ "application/json": {
29
+ "schema": {
30
+ "$ref": "#/components/schemas/CLURO_OpenApiOauthLoginRequest"
31
+ }
32
+ }
33
+ },
34
+ "required": true
35
+ },
36
+ "responses": {
37
+ "200": {
38
+ "description": "OK",
39
+ "content": {
40
+ "*/*": {
41
+ "schema": {
42
+ "$ref": "#/components/schemas/CLCMRLURO_OpenApiOauthLoginResponse"
43
+ }
44
+ }
45
+ }
46
+ }
47
+ },
48
+ "x-order": 1,
49
+ "parameters": [
50
+ {
51
+ "name": "linkToken",
52
+ "in": "header",
53
+ "required": true,
54
+ "description": "接口访问凭证,请按接口要求填写。",
55
+ "schema": {
56
+ "type": "string"
57
+ }
58
+ }
59
+ ]
60
+ }
61
+ },
62
+ "/openapi/getReceiveWarehouse": {
63
+ "post": {
64
+ "tags": [
65
+ "API列表"
66
+ ],
67
+ "summary": "获取收货仓库",
68
+ "operationId": "getReceiveWarehouse",
69
+ "requestBody": {
70
+ "content": {
71
+ "application/json": {
72
+ "schema": {
73
+ "$ref": "#/components/schemas/CLURO_OpenApiReceiveWarehouseRequest"
74
+ }
75
+ }
76
+ },
77
+ "required": true
78
+ },
79
+ "responses": {
80
+ "200": {
81
+ "description": "OK",
82
+ "content": {
83
+ "*/*": {
84
+ "schema": {
85
+ "$ref": "#/components/schemas/CLCMRULLURO_OpenApiWarehouseResponse"
86
+ }
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "x-order": 2,
92
+ "parameters": [
93
+ {
94
+ "name": "linkToken",
95
+ "in": "header",
96
+ "required": true,
97
+ "description": "接口访问凭证,请按接口要求填写。",
98
+ "schema": {
99
+ "type": "string"
100
+ }
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ "/openapi/getOwmsWarehouse": {
106
+ "post": {
107
+ "tags": [
108
+ "API列表"
109
+ ],
110
+ "summary": "获取海外仓仓库",
111
+ "operationId": "getOwmsWarehouse",
112
+ "requestBody": {
113
+ "content": {
114
+ "application/json": {
115
+ "schema": {
116
+ "$ref": "#/components/schemas/CLURO_OpenApiOwmsWarehouseRequest"
117
+ }
118
+ }
119
+ },
120
+ "required": true
121
+ },
122
+ "responses": {
123
+ "200": {
124
+ "description": "OK",
125
+ "content": {
126
+ "*/*": {
127
+ "schema": {
128
+ "$ref": "#/components/schemas/CLCMRULLURO_OpenApiWarehouseResponse"
129
+ }
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "x-order": 3,
135
+ "parameters": [
136
+ {
137
+ "name": "linkToken",
138
+ "in": "header",
139
+ "required": true,
140
+ "description": "接口访问凭证,请按接口要求填写。",
141
+ "schema": {
142
+ "type": "string"
143
+ }
144
+ }
145
+ ]
146
+ }
147
+ }
148
+ },
149
+ "components": {
150
+ "schemas": {
151
+ "CLURO_OpenApiOauthLoginRequest": {
152
+ "required": [
153
+ "password",
154
+ "userName"
155
+ ],
156
+ "type": "object",
157
+ "properties": {
158
+ "userName": {
159
+ "type": "string",
160
+ "description": "用户名"
161
+ },
162
+ "password": {
163
+ "type": "string",
164
+ "description": "密码"
165
+ }
166
+ },
167
+ "description": "OAuth登录请求",
168
+ "title": "OAuth登录请求"
169
+ },
170
+ "CLCMRLURO_OpenApiOauthLoginResponse": {
171
+ "type": "object",
172
+ "properties": {
173
+ "code": {
174
+ "type": "integer",
175
+ "description": "返回码(0:成功 其他:失败),业务code需大于1000",
176
+ "format": "int32"
177
+ },
178
+ "data": {
179
+ "$ref": "#/components/schemas/CLURO_OpenApiOauthLoginResponse"
180
+ },
181
+ "msg": {
182
+ "type": "string",
183
+ "description": "错误消息"
184
+ }
185
+ },
186
+ "description": "Result",
187
+ "title": "Result"
188
+ },
189
+ "CLURO_OpenApiOauthLoginResponse": {
190
+ "type": "object",
191
+ "properties": {
192
+ "redirectUrl": {
193
+ "type": "string",
194
+ "description": "重定向地址"
195
+ }
196
+ },
197
+ "description": "单点登录登录响应",
198
+ "title": "单点登录登录响应"
199
+ },
200
+ "CLURO_OpenApiReceiveWarehouseRequest": {
201
+ "type": "object",
202
+ "description": "收件仓库请求",
203
+ "title": "收件仓库请求"
204
+ },
205
+ "CLCMRULLURO_OpenApiWarehouseResponse": {
206
+ "type": "object",
207
+ "properties": {
208
+ "code": {
209
+ "type": "integer",
210
+ "description": "返回码(0:成功 其他:失败),业务code需大于1000",
211
+ "format": "int32"
212
+ },
213
+ "data": {
214
+ "type": "array",
215
+ "description": "数据结果",
216
+ "items": {
217
+ "$ref": "#/components/schemas/CLURO_OpenApiWarehouseResponse"
218
+ }
219
+ },
220
+ "msg": {
221
+ "type": "string",
222
+ "description": "错误消息"
223
+ }
224
+ },
225
+ "description": "Result",
226
+ "title": "Result"
227
+ },
228
+ "CLURO_OpenApiWarehouseResponse": {
229
+ "type": "object",
230
+ "properties": {
231
+ "code": {
232
+ "type": "string",
233
+ "description": "仓库代码"
234
+ },
235
+ "name": {
236
+ "type": "string",
237
+ "description": "仓库名称"
238
+ },
239
+ "phone": {
240
+ "type": "string",
241
+ "description": "电话"
242
+ },
243
+ "address": {
244
+ "type": "string",
245
+ "description": "地址"
246
+ },
247
+ "contactName": {
248
+ "type": "string",
249
+ "description": "联系人"
250
+ }
251
+ },
252
+ "description": "仓库响应",
253
+ "title": "仓库响应"
254
+ },
255
+ "CLURO_OpenApiOwmsWarehouseRequest": {
256
+ "type": "object",
257
+ "description": "海外仓仓库请求",
258
+ "title": "海外仓仓库请求"
259
+ }
260
+ }
261
+ },
262
+ "x-openapi": {
263
+ "x-setting": {
264
+ "customCode": 200,
265
+ "language": "zh-CN",
266
+ "enableSwaggerModels": false,
267
+ "swaggerModelName": "Swagger Models",
268
+ "enableReloadCacheParameter": false,
269
+ "enableAfterScript": true,
270
+ "enableDocumentManage": false,
271
+ "enableVersion": false,
272
+ "enableRequestCache": true,
273
+ "enableFilterMultipartApis": false,
274
+ "enableFilterMultipartApiMethodType": "POST",
275
+ "enableHost": false,
276
+ "enableHostText": "",
277
+ "enableDynamicParameter": false,
278
+ "enableDebug": false,
279
+ "enableFooter": true,
280
+ "enableFooterCustom": false,
281
+ "enableSearch": true,
282
+ "enableOpenApi": true,
283
+ "enableHomeCustom": false,
284
+ "enableGroup": true,
285
+ "enableResponseCode": true
286
+ },
287
+ "x-markdownFiles": []
288
+ }
289
+ }
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "@linkl/link-openapi-skills",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "description": "LINK OpenAPI Agent Skills",
5
+ "type": "module",
6
+ "bin": {
7
+ "link-openapi-skills": "./bin/cli.js"
8
+ },
9
+ "files": [
10
+ "bin/",
11
+ "skills/",
12
+ "openapi/",
13
+ "README.md"
14
+ ],
15
+ "engines": {
16
+ "node": ">=18"
17
+ },
18
+ "publishConfig": {
19
+ "access": "public"
20
+ }
6
21
  }
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: link-basic-data
3
+ description: >
4
+ 链路 ERP 基础数据 API:偏远验证、地址验证、城市邮编查询。
5
+ 当用户需要调用该模块接口、生成 Java 接入代码或排查接口问题时使用。
6
+ ---
7
+
8
+ # LINK 基础数据 Skill
9
+
10
+ ## 使用规则
11
+ - 先阅读 `references/api-reference.md`,再选择接口。
12
+ - 真实请求字段、必填项、枚举和响应结构必须以官方 OpenAPI 定义为准,不得猜测。
13
+ - 所有接口使用服务端配置注入的 `linkToken` Header;不要把 Token 作为模型参数。
14
+ - 部分请求体中的 `customerKey` 是业务字段,不等同于 `linkToken`。
15
+ - 检查响应业务码,不要只凭 HTTP 200 判断成功。
16
+ - 创建、取消、删除、上传、打印、推送等有副作用的操作,必须确认用户意图。
17
+ - 非幂等请求失败后不得盲目重试;先检查业务结果。
18
+
19
+ ## Java 代码规范
20
+ - Java 17+、Jackson、Lombok。
21
+ - 密钥从环境变量、密钥管理服务或租户凭证库读取。
22
+ - 金额、重量、尺寸等数值按 OpenAPI 类型处理,避免不必要的浮点精度损失。
@@ -0,0 +1,22 @@
1
+ # LINK 基础数据 API 参考
2
+
3
+ - OpenAPI:`3.0.1`
4
+ - Server:`https://www.linkl.com.cn`
5
+ - 接口数:3
6
+
7
+ > 本文件从对应 Swagger JSON 提取。请求字段和响应结构应以随包 OpenAPI 原文件为准。
8
+
9
+ ## 偏远验证
10
+
11
+ - operationId:`validateRemote`
12
+ - 请求:`POST /openapi/validateRemote`
13
+
14
+ ## 地址验证
15
+
16
+ - operationId:`validateAddress`
17
+ - 请求:`POST /openapi/validateAddress`
18
+
19
+ ## 城市邮编查询
20
+
21
+ - operationId:`cityPostCodeSearch`
22
+ - 请求:`POST /openapi/cityPostCodeSearch`
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: link-general-service
3
+ description: >
4
+ 链路 ERP 综合服务 API:业务数据推送。
5
+ 当用户需要调用该模块接口、生成 Java 接入代码或排查接口问题时使用。
6
+ ---
7
+
8
+ # LINK 综合服务 Skill
9
+
10
+ ## 使用规则
11
+ - 先阅读 `references/api-reference.md`,再选择接口。
12
+ - 真实请求字段、必填项、枚举和响应结构必须以官方 OpenAPI 定义为准,不得猜测。
13
+ - 所有接口使用服务端配置注入的 `linkToken` Header;不要把 Token 作为模型参数。
14
+ - 部分请求体中的 `customerKey` 是业务字段,不等同于 `linkToken`。
15
+ - 检查响应业务码,不要只凭 HTTP 200 判断成功。
16
+ - 创建、取消、删除、上传、打印、推送等有副作用的操作,必须确认用户意图。
17
+ - 非幂等请求失败后不得盲目重试;先检查业务结果。
18
+
19
+ ## Java 代码规范
20
+ - Java 17+、Jackson、Lombok。
21
+ - 密钥从环境变量、密钥管理服务或租户凭证库读取。
22
+ - 金额、重量、尺寸等数值按 OpenAPI 类型处理,避免不必要的浮点精度损失。
@@ -0,0 +1,12 @@
1
+ # LINK 综合服务 API 参考
2
+
3
+ - OpenAPI:`3.0.1`
4
+ - Server:`https://www.linkl.com.cn`
5
+ - 接口数:1
6
+
7
+ > 本文件从对应 Swagger JSON 提取。请求字段和响应结构应以随包 OpenAPI 原文件为准。
8
+
9
+ ## 推送数据
10
+
11
+ - operationId:`pushPost`
12
+ - 请求:`POST /openapi/push`
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: link-international-logistics
3
+ description: >
4
+ 链路 ERP 国际物流 API:专线下单、快递下单、运单详情、物流轨迹、单号/文件上传、打印、订单删除及推送。
5
+ 当用户需要调用该模块接口、生成 Java 接入代码或排查接口问题时使用。
6
+ ---
7
+
8
+ # LINK 国际物流 Skill
9
+
10
+ ## 使用规则
11
+ - 先阅读 `references/api-reference.md`,再选择接口。
12
+ - 真实请求字段、必填项、枚举和响应结构必须以官方 OpenAPI 定义为准,不得猜测。
13
+ - 所有接口使用服务端配置注入的 `linkToken` Header;不要把 Token 作为模型参数。
14
+ - 部分请求体中的 `customerKey` 是业务字段,不等同于 `linkToken`。
15
+ - 检查响应业务码,不要只凭 HTTP 200 判断成功。
16
+ - 创建、取消、删除、上传、打印、推送等有副作用的操作,必须确认用户意图。
17
+ - 非幂等请求失败后不得盲目重试;先检查业务结果。
18
+
19
+ ## Java 代码规范
20
+ - Java 17+、Jackson、Lombok。
21
+ - 密钥从环境变量、密钥管理服务或租户凭证库读取。
22
+ - 金额、重量、尺寸等数值按 OpenAPI 类型处理,避免不必要的浮点精度损失。
@@ -0,0 +1,62 @@
1
+ # LINK 国际物流 API 参考
2
+
3
+ - OpenAPI:`3.0.1`
4
+ - Server:`https://www.linkl.com.cn`
5
+ - 接口数:11
6
+
7
+ > 本文件从对应 Swagger JSON 提取。请求字段和响应结构应以随包 OpenAPI 原文件为准。
8
+
9
+ ## 上传单号
10
+
11
+ - operationId:`uploadNo`
12
+ - 请求:`POST /openapi/uploadNo`
13
+
14
+ ## 上传文件
15
+
16
+ - operationId:`uploadFile`
17
+ - 请求:`POST /openapi/uploadFile`
18
+
19
+ ## 专线下单
20
+
21
+ - operationId:`specialLineOrder`
22
+ - 请求:`POST /openapi/specialLineOrder`
23
+
24
+ ## 查询轨迹
25
+
26
+ - operationId:`queryTracks`
27
+ - 请求:`POST /openapi/queryTracks`
28
+
29
+ ## 推送数据
30
+
31
+ - operationId:`pushPost`
32
+ - 请求:`POST /openapi/push`
33
+
34
+ ## 打印文件
35
+
36
+ - operationId:`print`
37
+ - 请求:`POST /openapi/print`
38
+
39
+ ## 运单详情
40
+
41
+ - operationId:`orderDetail`
42
+ - 请求:`POST /openapi/orderDetail`
43
+
44
+ ## 快递下单
45
+
46
+ - operationId:`expressOrder`
47
+ - 请求:`POST /openapi/expressOrder`
48
+
49
+ ## dws文件上传
50
+
51
+ - operationId:`dwsUploadFile`
52
+ - 请求:`POST /openapi/dwsUploadFile`
53
+
54
+ ## dws上传数据
55
+
56
+ - operationId:`dwsUploadDataPost`
57
+ - 请求:`POST /openapi/dwsUploadData`
58
+
59
+ ## 删除订单
60
+
61
+ - operationId:`deleteOrder`
62
+ - 请求:`POST /openapi/deleteOrder`
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: link-last-mile-order
3
+ description: >
4
+ 链路 ERP 尾派制单 API:尾程下单、运费试算、根据试算结果下单、订单详情、取消及打印。
5
+ 当用户需要调用该模块接口、生成 Java 接入代码或排查接口问题时使用。
6
+ ---
7
+
8
+ # LINK 尾派制单 Skill
9
+
10
+ ## 使用规则
11
+ - 先阅读 `references/api-reference.md`,再选择接口。
12
+ - 真实请求字段、必填项、枚举和响应结构必须以官方 OpenAPI 定义为准,不得猜测。
13
+ - 所有接口使用服务端配置注入的 `linkToken` Header;不要把 Token 作为模型参数。
14
+ - 部分请求体中的 `customerKey` 是业务字段,不等同于 `linkToken`。
15
+ - 检查响应业务码,不要只凭 HTTP 200 判断成功。
16
+ - 创建、取消、删除、上传、打印、推送等有副作用的操作,必须确认用户意图。
17
+ - 非幂等请求失败后不得盲目重试;先检查业务结果。
18
+
19
+ ## Java 代码规范
20
+ - Java 17+、Jackson、Lombok。
21
+ - 密钥从环境变量、密钥管理服务或租户凭证库读取。
22
+ - 金额、重量、尺寸等数值按 OpenAPI 类型处理,避免不必要的浮点精度损失。
@@ -0,0 +1,37 @@
1
+ # LINK 尾派制单 API 参考
2
+
3
+ - OpenAPI:`3.0.1`
4
+ - Server:`https://www.linkl.com.cn`
5
+ - 接口数:6
6
+
7
+ > 本文件从对应 Swagger JSON 提取。请求字段和响应结构应以随包 OpenAPI 原文件为准。
8
+
9
+ ## 打印文件
10
+
11
+ - operationId:`print`
12
+ - 请求:`POST /openapi/print`
13
+
14
+ ## 下单
15
+
16
+ - operationId:`order`
17
+ - 请求:`POST /openapi/order`
18
+
19
+ ## 运单详情
20
+
21
+ - operationId:`orderDetail`
22
+ - 请求:`POST /openapi/orderDetail`
23
+
24
+ ## 根据试算id下单
25
+
26
+ - operationId:`orderByCalPrice`
27
+ - 请求:`POST /openapi/orderByCalPrice`
28
+
29
+ ## 取消运单
30
+
31
+ - operationId:`cancel`
32
+ - 请求:`POST /openapi/cancel`
33
+
34
+ ## 运费试算
35
+
36
+ - operationId:`calPrice`
37
+ - 请求:`POST /openapi/calPrice`
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: link-openapi-integration
3
+ description: >
4
+ LINK 链路 ERP 物流开放平台接入技能。用于根据 LINK OpenAPI 规范选择接口、
5
+ 解释认证、生成 Java 请求代码、使用 LINK MCP 工具、处理物流订单和轨迹,
6
+ 以及排查接口错误。用户提到 LINK、链路 ERP、物流开放平台、运单、轨迹、
7
+ 尾派、查价、仓库、结算或地址验证时使用。
8
+ ---
9
+
10
+ # LINK OpenAPI Integration
11
+
12
+ ## Source of truth
13
+ - 先读取 `references/API-INVENTORY.md` 定位业务接口,再读取对应业务参考文件。
14
+ - 接口字段、必填项、枚举、路径和响应结构必须以随包的 LINK OpenAPI 文档为准。
15
+ - 不得臆造接口、字段、签名算法或错误码。信息缺失时明确询问用户或要求官方确认。
16
+
17
+ ## Authentication observed in supplied specs
18
+ - 六份 Swagger 中接口声明的通用认证 Header 为 `linkToken`。
19
+ - 这些 Swagger 没有声明统一的 `X-API-Key` / `apiKey` 安全方案。
20
+ - 部分请求体中存在 `customerKey`,这是业务参数,不要与认证 Header 混淆。
21
+ - `linkToken` 必须由 SDK/MCP 服务端从环境变量或租户凭证库注入,不能暴露给模型或写入示例源码。
22
+
23
+ ## MCP and side effects
24
+ - Skill 只提供工作流指引;实际调用 LINK API 需要单独配置 LINK MCP Server 或应用后端工具。
25
+ - 创建、取消、删除、上传、打印、推送等有副作用的操作,必须在执行前确认用户意图。
26
+ - 非幂等请求失败后不得盲目重试;先查询业务结果。
27
+ - 检查响应业务码和业务消息,不能只依据 HTTP 200 判断成功。
28
+
29
+ ## Java SDK conventions
30
+ - Java 17+、Jackson、Lombok。
31
+ - AppKey/Token 等凭证从环境变量、密钥管理服务或租户凭证库读取。
32
+ - 金额、重量、尺寸等数值遵循 OpenAPI Schema;需要精度的数值使用 BigDecimal。
33
+ - 生成代码时包含 Request DTO、Response DTO、Client、异常处理和测试示例。
34
+
35
+ ## Business references
36
+ - International logistics: `references/international-logistics.md`
37
+ - User service: `references/user-service.md`
38
+ - Last-mile order: `references/last-mile-order.md`
39
+ - Settlement: `references/settlement-service.md`
40
+ - General service: `references/general-service.md`
41
+ - Basic data: `references/basic-data.md`
@@ -0,0 +1,33 @@
1
+ # LINK OpenAPI 接口清单
2
+
3
+ > 从用户提供的 OpenAPI 3.0.1 JSON 文件提取;当前纳入 27 个接口。
4
+
5
+ | 业务模块 | operationId | 方法 | 路径 |
6
+ |---|---|---|---|
7
+ | 国际物流 | `uploadNo` | POST | `/openapi/uploadNo` |
8
+ | 国际物流 | `uploadFile` | POST | `/openapi/uploadFile` |
9
+ | 国际物流 | `specialLineOrder` | POST | `/openapi/specialLineOrder` |
10
+ | 国际物流 | `queryTracks` | POST | `/openapi/queryTracks` |
11
+ | 国际物流 | `pushPost` | POST | `/openapi/push` |
12
+ | 国际物流 | `print` | POST | `/openapi/print` |
13
+ | 国际物流 | `orderDetail` | POST | `/openapi/orderDetail` |
14
+ | 国际物流 | `expressOrder` | POST | `/openapi/expressOrder` |
15
+ | 国际物流 | `dwsUploadFile` | POST | `/openapi/dwsUploadFile` |
16
+ | 国际物流 | `dwsUploadDataPost` | POST | `/openapi/dwsUploadData` |
17
+ | 国际物流 | `deleteOrder` | POST | `/openapi/deleteOrder` |
18
+ | 用户服务 | `oauthLogin` | POST | `/openapi/oauthLogin` |
19
+ | 用户服务 | `getReceiveWarehouse` | POST | `/openapi/getReceiveWarehouse` |
20
+ | 用户服务 | `getOwmsWarehouse` | POST | `/openapi/getOwmsWarehouse` |
21
+ | 尾派制单 | `print` | POST | `/openapi/print` |
22
+ | 尾派制单 | `order` | POST | `/openapi/order` |
23
+ | 尾派制单 | `orderDetail` | POST | `/openapi/orderDetail` |
24
+ | 尾派制单 | `orderByCalPrice` | POST | `/openapi/orderByCalPrice` |
25
+ | 尾派制单 | `cancel` | POST | `/openapi/cancel` |
26
+ | 尾派制单 | `calPrice` | POST | `/openapi/calPrice` |
27
+ | 结算服务 | `queryPrice` | POST | `/openapi/queryPrice` |
28
+ | 结算服务 | `fetchAvailableProducts` | POST | `/openapi/fetchAvailableProducts` |
29
+ | 结算服务 | `balance` | POST | `/openapi/balance` |
30
+ | 综合服务 | `pushPost` | POST | `/openapi/push` |
31
+ | 基础数据 | `validateRemote` | POST | `/openapi/validateRemote` |
32
+ | 基础数据 | `validateAddress` | POST | `/openapi/validateAddress` |
33
+ | 基础数据 | `cityPostCodeSearch` | POST | `/openapi/cityPostCodeSearch` |
@@ -0,0 +1,9 @@
1
+ # 基础数据
2
+
3
+ 链路 ERP 基础数据 API:偏远验证、地址验证、城市邮编查询。
4
+
5
+ | operationId | Method | Path |
6
+ |---|---|---|
7
+ | `validateRemote` | POST | `/openapi/validateRemote` |
8
+ | `validateAddress` | POST | `/openapi/validateAddress` |
9
+ | `cityPostCodeSearch` | POST | `/openapi/cityPostCodeSearch` |
@@ -0,0 +1,7 @@
1
+ # 综合服务
2
+
3
+ 链路 ERP 综合服务 API:业务数据推送。
4
+
5
+ | operationId | Method | Path |
6
+ |---|---|---|
7
+ | `pushPost` | POST | `/openapi/push` |
@@ -0,0 +1,17 @@
1
+ # 国际物流
2
+
3
+ 链路 ERP 国际物流 API:专线下单、快递下单、运单详情、物流轨迹、单号/文件上传、打印、订单删除及推送。
4
+
5
+ | operationId | Method | Path |
6
+ |---|---|---|
7
+ | `uploadNo` | POST | `/openapi/uploadNo` |
8
+ | `uploadFile` | POST | `/openapi/uploadFile` |
9
+ | `specialLineOrder` | POST | `/openapi/specialLineOrder` |
10
+ | `queryTracks` | POST | `/openapi/queryTracks` |
11
+ | `pushPost` | POST | `/openapi/push` |
12
+ | `print` | POST | `/openapi/print` |
13
+ | `orderDetail` | POST | `/openapi/orderDetail` |
14
+ | `expressOrder` | POST | `/openapi/expressOrder` |
15
+ | `dwsUploadFile` | POST | `/openapi/dwsUploadFile` |
16
+ | `dwsUploadDataPost` | POST | `/openapi/dwsUploadData` |
17
+ | `deleteOrder` | POST | `/openapi/deleteOrder` |
@@ -0,0 +1,12 @@
1
+ # 尾派制单
2
+
3
+ 链路 ERP 尾派制单 API:尾程下单、运费试算、根据试算结果下单、订单详情、取消及打印。
4
+
5
+ | operationId | Method | Path |
6
+ |---|---|---|
7
+ | `print` | POST | `/openapi/print` |
8
+ | `order` | POST | `/openapi/order` |
9
+ | `orderDetail` | POST | `/openapi/orderDetail` |
10
+ | `orderByCalPrice` | POST | `/openapi/orderByCalPrice` |
11
+ | `cancel` | POST | `/openapi/cancel` |
12
+ | `calPrice` | POST | `/openapi/calPrice` |