@things-factory/operato-hub 4.3.79-alpha.0 → 4.3.80-alpha.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 (238) hide show
  1. package/dist-server/routers/api/index.js +0 -1
  2. package/dist-server/routers/api/index.js.map +1 -1
  3. package/dist-server/routers/api/restful-apis/v1/company/add-contact-points.js +2 -11
  4. package/dist-server/routers/api/restful-apis/v1/company/add-contact-points.js.map +1 -1
  5. package/dist-server/routers/api/restful-apis/v1/company/add-marketplace-order.js +4 -19
  6. package/dist-server/routers/api/restful-apis/v1/company/add-marketplace-order.js.map +1 -1
  7. package/dist-server/routers/api/restful-apis/v1/company/add-product.js +2 -17
  8. package/dist-server/routers/api/restful-apis/v1/company/add-product.js.map +1 -1
  9. package/dist-server/routers/api/restful-apis/v1/company/cancel-marketplace-order.js +4 -11
  10. package/dist-server/routers/api/restful-apis/v1/company/cancel-marketplace-order.js.map +1 -1
  11. package/dist-server/routers/api/restful-apis/v1/company/get-bizplace-list.js +1 -2
  12. package/dist-server/routers/api/restful-apis/v1/company/get-bizplace-list.js.map +1 -1
  13. package/dist-server/routers/api/restful-apis/v1/company/get-contact-point-list.js +1 -2
  14. package/dist-server/routers/api/restful-apis/v1/company/get-contact-point-list.js.map +1 -1
  15. package/dist-server/routers/api/restful-apis/v1/company/get-marketplace-order-shipping-list.js +1 -3
  16. package/dist-server/routers/api/restful-apis/v1/company/get-marketplace-order-shipping-list.js.map +1 -1
  17. package/dist-server/routers/api/restful-apis/v1/company/get-marketplace-store-list.js +1 -2
  18. package/dist-server/routers/api/restful-apis/v1/company/get-marketplace-store-list.js.map +1 -1
  19. package/dist-server/routers/api/restful-apis/v1/company/get-partner-list.js +1 -2
  20. package/dist-server/routers/api/restful-apis/v1/company/get-partner-list.js.map +1 -1
  21. package/dist-server/routers/api/restful-apis/v1/company/get-product-list.js +1 -2
  22. package/dist-server/routers/api/restful-apis/v1/company/get-product-list.js.map +1 -1
  23. package/dist-server/routers/api/restful-apis/v1/company/update-marketplace-order-delivered.js +3 -10
  24. package/dist-server/routers/api/restful-apis/v1/company/update-marketplace-order-delivered.js.map +1 -1
  25. package/dist-server/routers/api/restful-apis/v1/middlewares/validation-middleware.js +18 -2
  26. package/dist-server/routers/api/restful-apis/v1/middlewares/validation-middleware.js.map +1 -1
  27. package/dist-server/routers/api/restful-apis/v1/utils/params.js +71 -6
  28. package/dist-server/routers/api/restful-apis/v1/utils/params.js.map +1 -1
  29. package/dist-server/routers/api/restful-apis/v1/utils/validate-util.js +17 -50
  30. package/dist-server/routers/api/restful-apis/v1/utils/validate-util.js.map +1 -1
  31. package/dist-server/routers/api/restful-apis/v1/warehouse/cancel-inbound-order.js +105 -24
  32. package/dist-server/routers/api/restful-apis/v1/warehouse/cancel-inbound-order.js.map +1 -1
  33. package/dist-server/routers/api/restful-apis/v1/warehouse/cancel-release-order.js +182 -0
  34. package/dist-server/routers/api/restful-apis/v1/warehouse/cancel-release-order.js.map +1 -0
  35. package/dist-server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.js +1 -3
  36. package/dist-server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.js.map +1 -1
  37. package/dist-server/routers/api/restful-apis/v1/warehouse/get-goods-received-note-list.js +1 -3
  38. package/dist-server/routers/api/restful-apis/v1/warehouse/get-goods-received-note-list.js.map +1 -1
  39. package/dist-server/routers/api/restful-apis/v1/warehouse/get-inbound-order-list.js +1 -3
  40. package/dist-server/routers/api/restful-apis/v1/warehouse/get-inbound-order-list.js.map +1 -1
  41. package/dist-server/routers/api/restful-apis/v1/warehouse/get-inventory-product-group-list.js +1 -2
  42. package/dist-server/routers/api/restful-apis/v1/warehouse/get-inventory-product-group-list.js.map +1 -1
  43. package/dist-server/routers/api/restful-apis/v1/warehouse/get-onhand-inventory-list.js +1 -3
  44. package/dist-server/routers/api/restful-apis/v1/warehouse/get-onhand-inventory-list.js.map +1 -1
  45. package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js +1 -3
  46. package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js.map +1 -1
  47. package/dist-server/routers/api/restful-apis/v1/warehouse/index.js +2 -0
  48. package/dist-server/routers/api/restful-apis/v1/warehouse/index.js.map +1 -1
  49. package/dist-server/routers/api/restful-apis/v1/warehouse/update-release-order-details.js +62 -0
  50. package/dist-server/routers/api/restful-apis/v1/warehouse/update-release-order-details.js.map +1 -0
  51. package/openapi/v1/Inventory.yaml +261 -0
  52. package/openapi/v1/authetication.yaml +108 -0
  53. package/openapi/v1/bizplace.yaml +72 -0
  54. package/openapi/v1/contact-point.yaml +253 -90
  55. package/openapi/v1/inbound.yaml +646 -316
  56. package/openapi/v1/marketplace.yaml +834 -0
  57. package/openapi/v1/outbound.yaml +1303 -580
  58. package/openapi/v1/partner.yaml +80 -0
  59. package/openapi/v1/product.yaml +514 -194
  60. package/openapi/v1.yaml +39 -7
  61. package/package.json +7 -7
  62. package/server/routers/api/index.ts +0 -1
  63. package/server/routers/api/restful-apis/v1/company/add-contact-points.ts +2 -12
  64. package/server/routers/api/restful-apis/v1/company/add-marketplace-order.ts +4 -23
  65. package/server/routers/api/restful-apis/v1/company/add-product.ts +2 -12
  66. package/server/routers/api/restful-apis/v1/company/cancel-marketplace-order.ts +4 -12
  67. package/server/routers/api/restful-apis/v1/company/get-bizplace-list.ts +1 -2
  68. package/server/routers/api/restful-apis/v1/company/get-contact-point-list.ts +1 -3
  69. package/server/routers/api/restful-apis/v1/company/get-marketplace-order-shipping-list.ts +1 -4
  70. package/server/routers/api/restful-apis/v1/company/get-marketplace-store-list.ts +1 -2
  71. package/server/routers/api/restful-apis/v1/company/get-partner-list.ts +1 -2
  72. package/server/routers/api/restful-apis/v1/company/get-product-list.ts +1 -3
  73. package/server/routers/api/restful-apis/v1/company/update-marketplace-order-delivered.ts +3 -10
  74. package/server/routers/api/restful-apis/v1/middlewares/validation-middleware.ts +20 -2
  75. package/server/routers/api/restful-apis/v1/utils/params.ts +72 -5
  76. package/server/routers/api/restful-apis/v1/utils/validate-util.ts +16 -41
  77. package/server/routers/api/restful-apis/v1/warehouse/cancel-inbound-order.ts +175 -53
  78. package/server/routers/api/restful-apis/v1/warehouse/cancel-release-order.ts +252 -0
  79. package/server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.ts +1 -4
  80. package/server/routers/api/restful-apis/v1/warehouse/get-goods-received-note-list.ts +1 -4
  81. package/server/routers/api/restful-apis/v1/warehouse/get-inbound-order-list.ts +1 -4
  82. package/server/routers/api/restful-apis/v1/warehouse/get-inventory-product-group-list.ts +1 -3
  83. package/server/routers/api/restful-apis/v1/warehouse/get-onhand-inventory-list.ts +1 -4
  84. package/server/routers/api/restful-apis/v1/warehouse/get-release-order-list.ts +1 -4
  85. package/server/routers/api/restful-apis/v1/warehouse/index.ts +2 -0
  86. package/server/routers/api/restful-apis/v1/warehouse/update-release-order-details.ts +86 -0
  87. package/dist-server/routers/api/restful-apis/v1/add-contact-point.js +0 -64
  88. package/dist-server/routers/api/restful-apis/v1/add-contact-point.js.map +0 -1
  89. package/dist-server/routers/api/restful-apis/v1/add-draft-release-order.js +0 -171
  90. package/dist-server/routers/api/restful-apis/v1/add-draft-release-order.js.map +0 -1
  91. package/dist-server/routers/api/restful-apis/v1/add-inbound-order.js +0 -213
  92. package/dist-server/routers/api/restful-apis/v1/add-inbound-order.js.map +0 -1
  93. package/dist-server/routers/api/restful-apis/v1/add-marketplace-order.js +0 -144
  94. package/dist-server/routers/api/restful-apis/v1/add-marketplace-order.js.map +0 -1
  95. package/dist-server/routers/api/restful-apis/v1/add-products.js +0 -88
  96. package/dist-server/routers/api/restful-apis/v1/add-products.js.map +0 -1
  97. package/dist-server/routers/api/restful-apis/v1/add-release-order.js +0 -774
  98. package/dist-server/routers/api/restful-apis/v1/add-release-order.js.map +0 -1
  99. package/dist-server/routers/api/restful-apis/v1/cancel-marketplace-order.js +0 -63
  100. package/dist-server/routers/api/restful-apis/v1/cancel-marketplace-order.js.map +0 -1
  101. package/dist-server/routers/api/restful-apis/v1/cancel-release-order.js +0 -66
  102. package/dist-server/routers/api/restful-apis/v1/cancel-release-order.js.map +0 -1
  103. package/dist-server/routers/api/restful-apis/v1/get-inventory-product-group.js +0 -101
  104. package/dist-server/routers/api/restful-apis/v1/get-inventory-product-group.js.map +0 -1
  105. package/dist-server/routers/api/restful-apis/v1/get-marketplace-order-shipping-list.js +0 -146
  106. package/dist-server/routers/api/restful-apis/v1/get-marketplace-order-shipping-list.js.map +0 -1
  107. package/dist-server/routers/api/restful-apis/v1/reject-inbound-order.js +0 -35
  108. package/dist-server/routers/api/restful-apis/v1/reject-inbound-order.js.map +0 -1
  109. package/dist-server/routers/api/restful-apis/v1/set-marketplace-order-delivered.js +0 -45
  110. package/dist-server/routers/api/restful-apis/v1/set-marketplace-order-delivered.js.map +0 -1
  111. package/dist-server/routers/api/restful-apis/v1/set-marketplace-order-failed-delivery.js +0 -45
  112. package/dist-server/routers/api/restful-apis/v1/set-marketplace-order-failed-delivery.js.map +0 -1
  113. package/dist-server/routers/api/restful-apis/v1/update-marketplace-order.js +0 -93
  114. package/dist-server/routers/api/restful-apis/v1/update-marketplace-order.js.map +0 -1
  115. package/dist-server/routers/api/restful-apis/v1/update-marketplace-shipping-order.js +0 -85
  116. package/dist-server/routers/api/restful-apis/v1/update-marketplace-shipping-order.js.map +0 -1
  117. package/dist-server/routers/api/restful-apis/v1/update-release-order-details.js +0 -82
  118. package/dist-server/routers/api/restful-apis/v1/update-release-order-details.js.map +0 -1
  119. package/dist-server/routers/api/restful-apis/v1/utils/expected-parameters.js +0 -201
  120. package/dist-server/routers/api/restful-apis/v1/utils/expected-parameters.js.map +0 -1
  121. package/dist-server/routers/api/restful-apis/v2/add-contact-point.js +0 -64
  122. package/dist-server/routers/api/restful-apis/v2/add-contact-point.js.map +0 -1
  123. package/dist-server/routers/api/restful-apis/v2/add-draft-release-order.js +0 -171
  124. package/dist-server/routers/api/restful-apis/v2/add-draft-release-order.js.map +0 -1
  125. package/dist-server/routers/api/restful-apis/v2/add-inbound-order.js +0 -213
  126. package/dist-server/routers/api/restful-apis/v2/add-inbound-order.js.map +0 -1
  127. package/dist-server/routers/api/restful-apis/v2/add-marketplace-order.js +0 -144
  128. package/dist-server/routers/api/restful-apis/v2/add-marketplace-order.js.map +0 -1
  129. package/dist-server/routers/api/restful-apis/v2/add-products.js +0 -88
  130. package/dist-server/routers/api/restful-apis/v2/add-products.js.map +0 -1
  131. package/dist-server/routers/api/restful-apis/v2/add-release-order.js +0 -774
  132. package/dist-server/routers/api/restful-apis/v2/add-release-order.js.map +0 -1
  133. package/dist-server/routers/api/restful-apis/v2/bizplace.js +0 -45
  134. package/dist-server/routers/api/restful-apis/v2/bizplace.js.map +0 -1
  135. package/dist-server/routers/api/restful-apis/v2/cancel-marketplace-order.js +0 -63
  136. package/dist-server/routers/api/restful-apis/v2/cancel-marketplace-order.js.map +0 -1
  137. package/dist-server/routers/api/restful-apis/v2/cancel-release-order.js +0 -66
  138. package/dist-server/routers/api/restful-apis/v2/cancel-release-order.js.map +0 -1
  139. package/dist-server/routers/api/restful-apis/v2/get-contact-point-list.js +0 -103
  140. package/dist-server/routers/api/restful-apis/v2/get-contact-point-list.js.map +0 -1
  141. package/dist-server/routers/api/restful-apis/v2/get-delivery-order-detail.js +0 -47
  142. package/dist-server/routers/api/restful-apis/v2/get-delivery-order-detail.js.map +0 -1
  143. package/dist-server/routers/api/restful-apis/v2/get-delivery-order-list.js +0 -124
  144. package/dist-server/routers/api/restful-apis/v2/get-delivery-order-list.js.map +0 -1
  145. package/dist-server/routers/api/restful-apis/v2/get-delivery-orders.js +0 -164
  146. package/dist-server/routers/api/restful-apis/v2/get-delivery-orders.js.map +0 -1
  147. package/dist-server/routers/api/restful-apis/v2/get-goods-received-notes.js +0 -120
  148. package/dist-server/routers/api/restful-apis/v2/get-goods-received-notes.js.map +0 -1
  149. package/dist-server/routers/api/restful-apis/v2/get-inbound-order-detail.js +0 -115
  150. package/dist-server/routers/api/restful-apis/v2/get-inbound-order-detail.js.map +0 -1
  151. package/dist-server/routers/api/restful-apis/v2/get-inbound-order-list.js +0 -125
  152. package/dist-server/routers/api/restful-apis/v2/get-inbound-order-list.js.map +0 -1
  153. package/dist-server/routers/api/restful-apis/v2/get-inventory-overall-product-group.js +0 -88
  154. package/dist-server/routers/api/restful-apis/v2/get-inventory-overall-product-group.js.map +0 -1
  155. package/dist-server/routers/api/restful-apis/v2/get-inventory-product-group.js +0 -101
  156. package/dist-server/routers/api/restful-apis/v2/get-inventory-product-group.js.map +0 -1
  157. package/dist-server/routers/api/restful-apis/v2/get-marketplace-order-shipping-list.js +0 -146
  158. package/dist-server/routers/api/restful-apis/v2/get-marketplace-order-shipping-list.js.map +0 -1
  159. package/dist-server/routers/api/restful-apis/v2/get-marketplace-store-list.js +0 -79
  160. package/dist-server/routers/api/restful-apis/v2/get-marketplace-store-list.js.map +0 -1
  161. package/dist-server/routers/api/restful-apis/v2/get-onhand-inventories.js +0 -110
  162. package/dist-server/routers/api/restful-apis/v2/get-onhand-inventories.js.map +0 -1
  163. package/dist-server/routers/api/restful-apis/v2/get-partners.js +0 -23
  164. package/dist-server/routers/api/restful-apis/v2/get-partners.js.map +0 -1
  165. package/dist-server/routers/api/restful-apis/v2/get-products.js +0 -210
  166. package/dist-server/routers/api/restful-apis/v2/get-products.js.map +0 -1
  167. package/dist-server/routers/api/restful-apis/v2/get-release-order-detail.js +0 -122
  168. package/dist-server/routers/api/restful-apis/v2/get-release-order-detail.js.map +0 -1
  169. package/dist-server/routers/api/restful-apis/v2/get-release-order-list.js +0 -191
  170. package/dist-server/routers/api/restful-apis/v2/get-release-order-list.js.map +0 -1
  171. package/dist-server/routers/api/restful-apis/v2/get-warehouses.js +0 -20
  172. package/dist-server/routers/api/restful-apis/v2/get-warehouses.js.map +0 -1
  173. package/dist-server/routers/api/restful-apis/v2/index.js +0 -34
  174. package/dist-server/routers/api/restful-apis/v2/index.js.map +0 -1
  175. package/dist-server/routers/api/restful-apis/v2/reject-inbound-order.js +0 -35
  176. package/dist-server/routers/api/restful-apis/v2/reject-inbound-order.js.map +0 -1
  177. package/dist-server/routers/api/restful-apis/v2/set-marketplace-order-delivered.js +0 -45
  178. package/dist-server/routers/api/restful-apis/v2/set-marketplace-order-delivered.js.map +0 -1
  179. package/dist-server/routers/api/restful-apis/v2/set-marketplace-order-failed-delivery.js +0 -45
  180. package/dist-server/routers/api/restful-apis/v2/set-marketplace-order-failed-delivery.js.map +0 -1
  181. package/dist-server/routers/api/restful-apis/v2/update-marketplace-order.js +0 -93
  182. package/dist-server/routers/api/restful-apis/v2/update-marketplace-order.js.map +0 -1
  183. package/dist-server/routers/api/restful-apis/v2/update-marketplace-shipping-order.js +0 -85
  184. package/dist-server/routers/api/restful-apis/v2/update-marketplace-shipping-order.js.map +0 -1
  185. package/dist-server/routers/api/restful-apis/v2/update-release-order-details.js +0 -82
  186. package/dist-server/routers/api/restful-apis/v2/update-release-order-details.js.map +0 -1
  187. package/openapi/v1/ecommerce.yaml +0 -549
  188. package/openapi/v1/inventory.yaml +0 -231
  189. package/server/routers/api/restful-apis/v1/add-contact-point.ts +0 -77
  190. package/server/routers/api/restful-apis/v1/add-draft-release-order.ts +0 -196
  191. package/server/routers/api/restful-apis/v1/add-inbound-order.ts +0 -242
  192. package/server/routers/api/restful-apis/v1/add-marketplace-order.ts +0 -172
  193. package/server/routers/api/restful-apis/v1/add-products.ts +0 -112
  194. package/server/routers/api/restful-apis/v1/add-release-order.ts +0 -967
  195. package/server/routers/api/restful-apis/v1/cancel-marketplace-order.ts +0 -81
  196. package/server/routers/api/restful-apis/v1/cancel-release-order.ts +0 -91
  197. package/server/routers/api/restful-apis/v1/get-inventory-product-group.ts +0 -112
  198. package/server/routers/api/restful-apis/v1/get-marketplace-order-shipping-list.ts +0 -156
  199. package/server/routers/api/restful-apis/v1/reject-inbound-order.ts +0 -46
  200. package/server/routers/api/restful-apis/v1/set-marketplace-order-delivered.ts +0 -60
  201. package/server/routers/api/restful-apis/v1/set-marketplace-order-failed-delivery.ts +0 -60
  202. package/server/routers/api/restful-apis/v1/update-marketplace-order.ts +0 -111
  203. package/server/routers/api/restful-apis/v1/update-marketplace-shipping-order.ts +0 -104
  204. package/server/routers/api/restful-apis/v1/update-release-order-details.ts +0 -94
  205. package/server/routers/api/restful-apis/v1/utils/expected-parameters.ts +0 -199
  206. package/server/routers/api/restful-apis/v2/add-contact-point.ts +0 -77
  207. package/server/routers/api/restful-apis/v2/add-draft-release-order.ts +0 -196
  208. package/server/routers/api/restful-apis/v2/add-inbound-order.ts +0 -242
  209. package/server/routers/api/restful-apis/v2/add-marketplace-order.ts +0 -172
  210. package/server/routers/api/restful-apis/v2/add-products.ts +0 -112
  211. package/server/routers/api/restful-apis/v2/add-release-order.ts +0 -967
  212. package/server/routers/api/restful-apis/v2/bizplace.ts +0 -45
  213. package/server/routers/api/restful-apis/v2/cancel-marketplace-order.ts +0 -81
  214. package/server/routers/api/restful-apis/v2/cancel-release-order.ts +0 -91
  215. package/server/routers/api/restful-apis/v2/get-contact-point-list.ts +0 -110
  216. package/server/routers/api/restful-apis/v2/get-delivery-order-detail.ts +0 -46
  217. package/server/routers/api/restful-apis/v2/get-delivery-order-list.ts +0 -121
  218. package/server/routers/api/restful-apis/v2/get-delivery-orders.ts +0 -178
  219. package/server/routers/api/restful-apis/v2/get-goods-received-notes.ts +0 -134
  220. package/server/routers/api/restful-apis/v2/get-inbound-order-detail.ts +0 -128
  221. package/server/routers/api/restful-apis/v2/get-inbound-order-list.ts +0 -126
  222. package/server/routers/api/restful-apis/v2/get-inventory-overall-product-group.ts +0 -99
  223. package/server/routers/api/restful-apis/v2/get-inventory-product-group.ts +0 -112
  224. package/server/routers/api/restful-apis/v2/get-marketplace-order-shipping-list.ts +0 -156
  225. package/server/routers/api/restful-apis/v2/get-marketplace-store-list.ts +0 -81
  226. package/server/routers/api/restful-apis/v2/get-onhand-inventories.ts +0 -125
  227. package/server/routers/api/restful-apis/v2/get-partners.ts +0 -24
  228. package/server/routers/api/restful-apis/v2/get-products.ts +0 -216
  229. package/server/routers/api/restful-apis/v2/get-release-order-detail.ts +0 -134
  230. package/server/routers/api/restful-apis/v2/get-release-order-list.ts +0 -198
  231. package/server/routers/api/restful-apis/v2/get-warehouses.ts +0 -18
  232. package/server/routers/api/restful-apis/v2/index.ts +0 -31
  233. package/server/routers/api/restful-apis/v2/reject-inbound-order.ts +0 -46
  234. package/server/routers/api/restful-apis/v2/set-marketplace-order-delivered.ts +0 -60
  235. package/server/routers/api/restful-apis/v2/set-marketplace-order-failed-delivery.ts +0 -60
  236. package/server/routers/api/restful-apis/v2/update-marketplace-order.ts +0 -111
  237. package/server/routers/api/restful-apis/v2/update-marketplace-shipping-order.ts +0 -104
  238. package/server/routers/api/restful-apis/v2/update-release-order-details.ts +0 -94
@@ -1,606 +1,1340 @@
1
1
  definitions:
2
- DO:
2
+ # AddReleaseOrder
3
+ AddReleaseOrder:
3
4
  type: 'object'
4
- properties:
5
- result:
5
+ properties:
6
+ data:
6
7
  type: 'object'
7
8
  properties:
8
- deliveryOrders:
9
+ id:
10
+ type: 'string'
11
+ example: 'd4065b22-b002-4fdd-94c1-6df7a2d36fed'
12
+ roNo:
13
+ type: 'string'
14
+ example: 'RO-2022710116761'
15
+ refNo:
16
+ type: 'string'
17
+ example: '2206308RFYKUCV'
18
+ refNo2:
19
+ type: 'string'
20
+ example: '2206308RFYKUCV'
21
+ refNo3:
22
+ type: 'string'
23
+ example: 'string'
24
+ status:
25
+ type: 'string'
26
+ example: 'PENDING_WORKSHEET'
27
+ truckNo:
28
+ type: 'string'
29
+ example: 'string'
30
+ ownTransport:
31
+ type: 'boolean'
32
+ example: true
33
+ crossDocking:
34
+ type: 'boolean'
35
+ example: false
36
+ marketplaceOrderStatus:
37
+ type: 'string'
38
+ example: 'ready_to_ship'
39
+ billingAddress:
40
+ type: 'string'
41
+ example: 'string'
42
+ deliveryAddress1:
43
+ type: 'string'
44
+ example: 'No 14 Lorong 9A Tman Peruda Fasa 1B Kuala Muda 08000 Kedah'
45
+ deliveryAddress2:
46
+ type: 'string'
47
+ example: 'string'
48
+ deliveryAddress3:
49
+ type: 'string'
50
+ example: 'string'
51
+ deliveryAddress4:
52
+ type: 'string'
53
+ example: 'string'
54
+ deliveryAddress5:
55
+ type: 'string'
56
+ example: 'string'
57
+ attentionTo:
58
+ type: 'string'
59
+ example: 'Rokiah bt Bakar'
60
+ attentionCompany:
61
+ type: 'string'
62
+ example: 'string'
63
+ city:
64
+ type: 'string'
65
+ example: 'Kuala Muda'
66
+ state:
67
+ type: 'string'
68
+ example: 'Kedah'
69
+ postalCode:
70
+ type: 'string'
71
+ example: '08000'
72
+ country:
73
+ type: 'string'
74
+ example: 'Malaysia'
75
+ phone1:
76
+ type: 'string'
77
+ example: '60174396110'
78
+ phone2:
79
+ type: 'string'
80
+ example: 'string'
81
+ email:
82
+ type: 'string'
83
+ example: 'string'
84
+ transporter:
85
+ type: 'string'
86
+ example: 'Others (West Malaysia)'
87
+ trackingNo:
88
+ type: 'string'
89
+ example: 'SBOP220701000290101'
90
+ airwayBill:
91
+ type: 'string'
92
+ example: 'string'
93
+ invoice:
94
+ type: 'string'
95
+ example: 'string'
96
+ type:
97
+ type: 'string'
98
+ enum: [b2c,b2b]
99
+ packageId:
100
+ type: 'string'
101
+ example: 'string'
102
+ storeName:
103
+ type: 'string'
104
+ example: 'string'
105
+ storeId:
106
+ type: 'string'
107
+ example: 'string'
108
+ routeId:
109
+ type: 'string'
110
+ example: 'string'
111
+ stopId:
112
+ type: 'string'
113
+ example: 'string'
114
+ exportOption:
115
+ type: 'boolean'
116
+ example: false
117
+ releaseDate:
118
+ type: 'string'
119
+ example: '2022-07-01'
120
+ collectionOrderNo:
121
+ type: 'string'
122
+ example: '2206308RFYKUCV'
123
+ bizplace:
9
124
  type: 'object'
10
125
  properties:
11
- items:
12
- type: 'array'
13
- items:
14
- type: 'object'
15
- properties:
16
- name:
17
- type: 'string'
18
- example: 'DO-202193085211820'
19
- from:
20
- type: 'string'
21
- example: null
22
- to:
23
- type: 'string'
24
- example: null
25
- contactPointRefId:
26
- type: 'string'
27
- example: null
28
- truckNo:
29
- type: 'string'
30
- example: null
31
- deliveryDate:
32
- type: 'string'
33
- example: null
34
- status:
35
- type: 'string'
36
- example: 'READY_TO_DISPATCH'
37
- ownCollection:
38
- type: 'boolean'
39
- example: true
40
- looseItem:
41
- type: 'string'
42
- example: null
43
- deliveryDateTime:
44
- type: 'string'
45
- example: null
46
- loadWeight:
47
- type: 'string'
48
- example: null
49
- cargoType:
50
- type: 'string'
51
- example: null
52
- urgency:
53
- type: 'string'
54
- example: null
55
- telNo:
56
- type: 'string'
57
- example: null
58
- refNo:
59
- type: 'string'
60
- example: '2675858675687'
61
- otherDriver:
62
- type: 'string'
63
- example: null
64
- palletQty:
65
- type: 'number'
66
- example: null
67
- remark:
68
- type: 'string'
69
- example: null
70
- description:
71
- type: 'number'
72
- example: null
73
- reusablePallet:
74
- type: 'string'
75
- example: null
76
- domain:
77
- type: 'object'
78
- properties:
79
- name:
80
- type: 'string'
81
- example: 'ABC Warehouse'
82
- bizplace:
83
- type: 'object'
84
- properties:
85
- name:
86
- type: 'string'
87
- example: 'ABC E-commerce'
88
- releaseGood:
89
- type: 'object'
90
- properties:
91
- name:
92
- type: 'string'
93
- example: 'RO-20219317281764'
94
- description:
95
- type: 'string'
96
- example: null
97
- status:
98
- type: 'string'
99
- example: 'DONE'
100
- refNo:
101
- type: 'string'
102
- example: '678968687688967'
103
- refNo2:
104
- type: 'string'
105
- example: 'Loose'
106
- refNo3:
107
- type: 'string'
108
- example: null
109
- truckNo:
110
- type: 'string'
111
- example: null
112
- exportOption:
113
- type: 'boolean'
114
- example: false
115
- ownTransport:
116
- type: 'boolean'
117
- example: true
118
- crossDocking:
119
- type: 'boolean'
120
- example: false
121
- releaseDateTime:
122
- type: 'string'
123
- example: null
124
- releaseDate:
125
- type: 'string'
126
- example: '2021-09-09'
127
- remark:
128
- type: 'string'
129
- example: null
130
- courierOption:
131
- type: 'boolean'
132
- example: false
133
- packingOption:
134
- type: 'boolean'
135
- example: false
136
- type:
137
- type: 'boolean'
138
- example: 'b2b'
139
- acceptedAt:
140
- type: 'number'
141
- example: 1632958100650
142
- marketplaceOrderStatus:
143
- type: 'string'
144
- example: null
145
- billingAddress:
146
- type: 'string'
147
- example: null
148
- deliveryAddress1:
149
- type: 'string'
150
- example: null
151
- deliveryAddress2:
152
- type: 'string'
153
- example: null
154
- deliveryAddress3:
155
- type: 'string'
156
- example: null
157
- deliveryAddress4:
158
- type: 'string'
159
- example: null
160
- deliveryAddress5:
161
- type: 'string'
162
- example: null
163
- attentionTo:
164
- type: 'string'
165
- example: null
166
- attentionCompany:
167
- type: 'string'
168
- example: null
169
- city:
170
- type: 'string'
171
- example: null
172
- state:
173
- type: 'string'
174
- example: null
175
- postalCode:
176
- type: 'string'
177
- example: null
178
- country:
179
- type: 'string'
180
- example: null
181
- phone1:
182
- type: 'string'
183
- example: null
184
- phone2:
185
- type: 'string'
186
- example: null
187
- email:
188
- type: 'string'
189
- example: null
190
- transporter:
191
- type: 'string'
192
- example: 'Others (West Malaysia)'
193
- trackingNo:
194
- type: 'string'
195
- example: null
196
- airwayBill:
197
- type: 'string'
198
- example: null
199
- invoice:
200
- type: 'string'
201
- example: null
202
- pickupAddress:
203
- type: 'string'
204
- example: null
205
- pickupTime:
206
- type: 'string'
207
- example: null
208
- handoverType:
209
- type: 'string'
210
- example: null
211
- dropoffAddress:
212
- type: 'string'
213
- example: null
214
- noOfItems:
215
- type: 'string'
216
- example: null
217
- orderProducts:
218
- type: 'object'
219
- properties:
220
- id:
221
- type: 'string'
222
- example: 'b6e18590-4876-4cf4-87af-3c53f7c623d1'
223
- type:
224
- type: 'string'
225
- example: null
226
- batchId:
227
- type: 'string'
228
- example: '-'
229
- packingType:
230
- type: 'string'
231
- example: 'CARTON'
232
- packingSize:
233
- type: 'number'
234
- example: 24
235
- releaseQty:
236
- type: 'number'
237
- example: null
238
- releaseUomValue:
239
- type: 'number'
240
- example: null
241
- status:
242
- type: 'string'
243
- example: 'ACTIVE'
244
- attachments:
245
- type: 'string'
246
- example: ''
247
- createdAt:
248
- type: 'number'
249
- example: 1645750026391
250
- updatedAt:
251
- type: 'number'
252
- example: 1645750026391
253
- updater:
254
- type: 'object'
255
- properties:
256
- id:
257
- type: 'string'
258
- example: '2ce54c66-436a-40cf-a042-24d032c28ceb'
259
- name:
260
- type: 'string'
261
- example: 'Ee Chern Hao'
262
- description:
263
- type: 'string'
264
- example: null
265
- total:
266
- type: 'number'
126
+ name:
127
+ type: 'string'
128
+ example: 'FNBM E-commerce'
129
+ domain:
130
+ type: 'object'
131
+ properties:
132
+ name:
133
+ type: 'string'
134
+ example: 'SeeBuu Warehouse'
135
+ orderInventories:
136
+ type: 'object'
137
+ properties:
138
+ product:
139
+ type: 'object'
140
+ properties:
141
+ name:
142
+ type: 'string'
143
+ example: 'SS ROSE SOYA (A) ASP 1L X 12'
144
+ sku:
145
+ type: 'string'
146
+ example: '1172790'
147
+ batchId:
148
+ type: 'string'
149
+ example: '11/2023'
150
+ packingType:
151
+ type: 'string'
152
+ example: 'CARTON'
153
+ packingSize:
154
+ type: 'integer'
155
+ format: 'double'
156
+ example: 1
157
+ releaseQty:
158
+ type: 'integer'
159
+ example: 1
160
+ releaseUomValue:
161
+ type: 'integer'
267
162
  example: 12
268
163
  xml:
269
- name: 'DO'
270
- Outbound:
164
+ name: 'AddReleaseOrder'
165
+
166
+ # CancelReleaseOrder
167
+ CancelReleaseOrder:
168
+ type: 'object'
169
+ properties:
170
+ data:
171
+ type: 'object'
172
+ properties:
173
+ ro:
174
+ type: 'string'
175
+ example: 'xxxxx'
176
+ xml:
177
+ name: 'CancelReleaseOrder'
178
+
179
+ # UpdateReleaseOrderDetails
180
+ UpdateReleaseOrderDetails:
181
+ type: 'object'
182
+ properties:
183
+ data:
184
+ type: 'object'
185
+ properties:
186
+ id:
187
+ type: 'string'
188
+ example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
189
+ roNo:
190
+ type: 'string'
191
+ example: 'xxxxx'
192
+ collectionOrderNo:
193
+ type: 'string'
194
+ example: 'string'
195
+ refNo:
196
+ type: 'string'
197
+ example: 'string'
198
+ refNo2:
199
+ type: 'string'
200
+ example: 'string'
201
+ refNo3:
202
+ type: 'string'
203
+ example: 'string'
204
+ marketplaceOrderStatus:
205
+ type: 'string'
206
+ example: 'string'
207
+ billingAddress:
208
+ type: 'string'
209
+ example: 'string'
210
+ deliveryAddress1:
211
+ type: 'string'
212
+ example: 'string'
213
+ attentionTo:
214
+ type: 'string'
215
+ example: 'string'
216
+ city:
217
+ type: 'string'
218
+ example: 'string'
219
+ country:
220
+ type: 'string'
221
+ example: 'string'
222
+ postalCode:
223
+ type: 'string'
224
+ example: 'string'
225
+ phone1:
226
+ type: 'string'
227
+ example: 'string'
228
+ transporter:
229
+ type: 'string'
230
+ example: 'string'
231
+ trackingNo:
232
+ type: 'string'
233
+ example: 'string'
234
+ airwayBill:
235
+ type: 'string'
236
+ example: 'string'
237
+ invoice:
238
+ type: 'string'
239
+ example: 'string'
240
+ shippingOrder:
241
+ type: 'object'
242
+ properties:
243
+ shipName:
244
+ type: 'string'
245
+ example: 'string'
246
+ containerNo:
247
+ type: 'string'
248
+ example: 'string'
249
+ loadType:
250
+ type: 'string'
251
+ example: 'string'
252
+ from:
253
+ type: 'string'
254
+ example: 'string'
255
+ to:
256
+ type: 'string'
257
+ example: 'string'
258
+ containerArrivalDate:
259
+ type: 'string'
260
+ example: '2020-02-14'
261
+ containerLeavingDate:
262
+ type: 'string'
263
+ example: '2020-02-14'
264
+ xml:
265
+ name: 'UpdateReleaseOrderDetails'
266
+
267
+ # GetReleaseOrderList
268
+ GetReleaseOrderList:
271
269
  type: 'object'
272
- required:
273
- - 'releaseDate'
274
- - 'orderInventories'
275
270
  properties:
276
- id:
277
- type: 'uuid'
278
- example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
279
- refNo:
280
- type: 'string'
281
- example: 'INV-0001'
282
- refNo1:
283
- type: 'string'
284
- example: 'INV-0001'
285
- refNo2:
286
- type: 'string'
287
- example: 'INV-0001'
288
- type:
289
- type: 'string'
290
- enum: [b2b, b2c]
291
- releaseDate:
292
- type: 'string'
293
- example: '2019-10-31'
294
- collectionOrderNo:
295
- type: 'string'
296
- example: 'CO-2020219301'
297
- ownTransport:
298
- type: 'boolean'
299
- default: false
300
- exportOption:
301
- type: 'boolean'
302
- default: false
303
- transporter:
304
- type: 'string'
305
- example: 'DHL eCommerce'
306
- trackingNo:
307
- type: 'string'
308
- example: 'TA-2220100301'
309
- marketplaceOrderStatus:
310
- type: 'string'
311
- example: 'Ready To Ship'
312
- airwayBill:
313
- type: 'string'
314
- example: 'https://pdfurl.com'
315
- invoice:
316
- type: 'string'
317
- example: 'https://pdfurl.com'
318
- storeName:
319
- type: 'string'
320
- example: 'Demo Store'
321
- storeId:
322
- type: 'string'
323
- example: '1949'
324
- routeId:
325
- type: 'string'
326
- example: 'CTR-07'
327
- stopId:
328
- type: 'string'
329
- example: '24'
330
- billTo:
271
+ data:
331
272
  type: 'object'
332
273
  properties:
333
- billingAddress:
274
+ id:
275
+ type: 'string'
276
+ example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
277
+ roNo:
278
+ type: 'string'
279
+ example: 'xxxxxx'
280
+ refNo:
281
+ type: 'string'
282
+ example: 'INV-0001'
283
+ refNo2:
284
+ type: 'string'
285
+ example: 'INV-0001'
286
+ refNo3:
334
287
  type: 'string'
335
- example: '36, Jalan Kerongsang 2, Bandar Puteri Klang,Selangor, Klang, 41200 Malaysia'
336
- deliverTo:
288
+ example: 'INV-0001'
289
+ type:
290
+ type: 'string'
291
+ enum: [b2b,b2c]
292
+ releaseDate:
293
+ type: 'string'
294
+ example: '2019-10-31'
295
+ collectionOrderNo:
296
+ type: 'string'
297
+ example: 'CO-2020219301'
298
+ ownTransport:
299
+ type: 'boolean'
300
+ example: false
301
+ exportOption:
302
+ type: 'boolean'
303
+ example: false
304
+ transporter:
305
+ type: 'string'
306
+ example: 'DHL eCommerce'
307
+ trackingNo:
308
+ type: 'string'
309
+ example: 'TA-2220100301'
310
+ marketplaceOrderStatus:
311
+ type: 'string'
312
+ example: 'Ready To Ship'
313
+ airwayBill:
314
+ type: 'string'
315
+ example: 'https://pdfurl.com'
316
+ invoice:
317
+ type: 'string'
318
+ example: 'https://pdfurl.com'
319
+ storeName:
320
+ type: 'string'
321
+ example: 'Demo Store'
322
+ storeId:
323
+ type: 'string'
324
+ example: '1949'
325
+ routeId:
326
+ type: 'string'
327
+ example: 'CTR-07'
328
+ stopId:
329
+ type: 'string'
330
+ example: '24'
331
+ billTo:
332
+ type: 'object'
333
+ properties:
334
+ billingAddress:
335
+ type: 'string'
336
+ example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia '
337
+ deliverTo:
338
+ type: 'object'
339
+ properties:
340
+ deliveryAddress1:
341
+ type: 'string'
342
+ example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia'
343
+ deliveryAddress2:
344
+ type: 'string'
345
+ example: '-'
346
+ deliveryAddress3:
347
+ type: 'string'
348
+ example: '-'
349
+ deliveryAddress4:
350
+ type: 'string'
351
+ example: '-'
352
+ deliveryAddress5:
353
+ type: 'string'
354
+ example: '-'
355
+ attentionTo:
356
+ type: 'string'
357
+ example: 'Annie'
358
+ attentionCompany:
359
+ type: 'string'
360
+ example: 'ABC SDN BHD'
361
+ city:
362
+ type: 'string'
363
+ example: 'Shah Alam'
364
+ state:
365
+ type: 'string'
366
+ example: 'Selangor'
367
+ postalCode:
368
+ type: 'string'
369
+ example: '41700'
370
+ country:
371
+ type: 'string'
372
+ example: 'Malaysia'
373
+ phone1:
374
+ type: 'string'
375
+ example: '011-30303030'
376
+ phone2:
377
+ type: 'string'
378
+ example: '011-20203030'
379
+ email:
380
+ type: 'string'
381
+ example: 'abc@hatio.asia'
382
+ orderInventories:
383
+ type: 'object'
384
+ properties:
385
+ product:
386
+ type: 'object'
387
+ properties:
388
+ sku:
389
+ type: 'string'
390
+ example: 'PANADOL-201020'
391
+ refCode:
392
+ type: 'string'
393
+ example: '201020'
394
+ batchId:
395
+ type: 'string'
396
+ example: 'B374727-1-1-1'
397
+ packingType:
398
+ type: 'string'
399
+ example: 'CARTON'
400
+ releaseQty:
401
+ type: 'integer'
402
+ example: 1
403
+ packingSize:
404
+ type: 'integer'
405
+ example: 24
406
+ totalCount:
407
+ type: 'integer'
408
+ example: 35
409
+ limit:
410
+ type: 'integer'
411
+ example: 100
412
+ offset:
413
+ type: 'integer'
414
+ example: 0
415
+ xml:
416
+ name: 'GetReleaseOrderList'
417
+
418
+ # GetReleaseOrderDetails
419
+ GetReleaseOrderDetails:
420
+ type: 'object'
421
+ properties:
422
+ data:
337
423
  type: 'object'
338
424
  properties:
339
- deliveryAddress1:
425
+ id:
340
426
  type: 'string'
341
- example: '36, Jalan Kerongsang 2, Bandar Puteri Klang,Selangor, Klang, 41200 Malaysia'
342
- deliveryAddress2:
427
+ example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
428
+ roNo:
343
429
  type: 'string'
344
- example: '-'
345
- deliveryAddress3:
430
+ example: 'xxxxxx'
431
+ refNo:
346
432
  type: 'string'
347
- example: '-'
348
- deliveryAddress4:
433
+ example: 'INV-0001'
434
+ refNo1:
349
435
  type: 'string'
350
- example: '-'
351
- deliveryAddress5:
436
+ example: 'INV-0001'
437
+ refNo2:
352
438
  type: 'string'
353
- example: '-'
354
- attentionTo:
439
+ example: 'INV-0001'
440
+ type:
355
441
  type: 'string'
356
- example: 'Annie'
357
- attentionCompany:
442
+ enum: [b2b,b2c]
443
+ releaseDate:
358
444
  type: 'string'
359
- example: 'ABC SDN BHD'
360
- city:
445
+ example: '2019-10-31'
446
+ collectionOrderNo:
361
447
  type: 'string'
362
- example: 'Shah Alam'
363
- state:
448
+ example: 'CO-2020219301'
449
+ ownTransport:
450
+ type: 'boolean'
451
+ example: false
452
+ exportOption:
453
+ type: 'boolean'
454
+ example: false
455
+ transporter:
364
456
  type: 'string'
365
- example: 'Selangor'
366
- postalCode:
457
+ example: 'DHL eCommerce'
458
+ trackingNo:
367
459
  type: 'string'
368
- example: '41700'
369
- country:
460
+ example: 'TA-2220100301'
461
+ marketplaceOrderStatus:
370
462
  type: 'string'
371
- example: 'Malaysia'
372
- phone1:
373
- type: 'string'
374
- example: '011-30303030'
375
- phone2:
376
- type: 'string'
377
- example: '011-20203030'
378
- email:
379
- type: 'string'
380
- example: 'abc@hatio.asia'
381
- orderInventories:
382
- type: 'array'
383
- items:
384
- type: 'object'
385
- required:
386
- - 'sku'
387
- - 'releaseQty'
388
- properties:
389
- product:
390
- type: 'object'
391
- properties:
392
- sku:
393
- type: 'string'
394
- example: 'PANADOL-201020'
395
- refCode:
396
- type: 'string'
397
- example: '201020'
398
- batchId:
399
- type: 'string'
400
- example: 'B374727-1-1-1'
401
- packingType:
402
- type: 'string'
403
- example: 'CARTON'
404
- releaseQty:
405
- type: 'integer'
406
- minimum: 1.0
407
- format: 'int32'
408
- packingSize:
409
- type: 'integer'
410
- format: 'int32'
411
- example: 24
463
+ example: 'Ready To Ship'
464
+ airwayBill:
465
+ type: 'string'
466
+ example: 'https://pdfurl.com'
467
+ invoice:
468
+ type: 'string'
469
+ example: 'https://pdfurl.com'
470
+ storeName:
471
+ type: 'string'
472
+ example: 'Demo Store'
473
+ storeId:
474
+ type: 'string'
475
+ example: '1949'
476
+ routeId:
477
+ type: 'string'
478
+ example: 'CTR-07'
479
+ stopId:
480
+ type: 'string'
481
+ example: '24'
482
+ billTo:
483
+ type: 'object'
484
+ properties:
485
+ billingAddress:
486
+ type: 'string'
487
+ example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia.'
488
+ deliverTo:
489
+ type: 'object'
490
+ properties:
491
+ deliveryAddress1:
492
+ type: 'string'
493
+ example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia'
494
+ deliveryAddress2:
495
+ type: 'string'
496
+ example: '-'
497
+ deliveryAddress3:
498
+ type: 'string'
499
+ example: '-'
500
+ deliveryAddress4:
501
+ type: 'string'
502
+ example: '-'
503
+ deliveryAddress5:
504
+ type: 'string'
505
+ example: '-'
506
+ attentionTo:
507
+ type: 'string'
508
+ example: 'Annie'
509
+ attentionCompany:
510
+ type: 'string'
511
+ example: 'ABC SDN BHD'
512
+ city:
513
+ type: 'string'
514
+ example: 'Shah Alam'
515
+ state:
516
+ type: 'string'
517
+ example: 'Selangor'
518
+ postalCode:
519
+ type: 'string'
520
+ example: '41700'
521
+ country:
522
+ type: 'string'
523
+ example: 'Malaysia'
524
+ phone1:
525
+ type: 'string'
526
+ example: '011-30303030'
527
+ phone2:
528
+ type: 'string'
529
+ example: '011-20203030'
530
+ email:
531
+ type: 'string'
532
+ example: 'abc@hatio.asia'
533
+ orderInventories:
534
+ type: 'object'
535
+ properties:
536
+ product:
537
+ type: 'object'
538
+ properties:
539
+ sku:
540
+ type: 'string'
541
+ example: 'PANADOL-201020'
542
+ refCode:
543
+ type: 'string'
544
+ example: '201020'
545
+ batchId:
546
+ type: 'string'
547
+ example: 'B374727-1-1-1'
548
+ packingType:
549
+ type: 'string'
550
+ example: 'CARTON'
551
+ releaseQty:
552
+ type: 'integer'
553
+ example: 1
554
+ packingSize:
555
+ type: 'integer'
556
+ example: 24
412
557
  xml:
413
- name: 'Outbound'
558
+ name: 'GetReleaseOrderDetails'
414
559
 
415
- paths:
416
- /warehouse/{warehouseId}/add-release-order:
417
- post:
418
- tags:
419
- - 'outbound'
420
- description: 'Use this API to create release order in WMS.'
421
- operationId: 'addReleaseOrder'
422
- produces:
423
- - 'application/json'
424
- parameters:
425
- - in: 'path'
426
- name: 'warehouseId'
427
- required: true
428
- type: 'string'
429
- - in: 'body'
430
- name: 'body'
431
- description: 'Outbound order object to be added to WMS.'
432
- required: true
433
- schema:
434
- $ref: '#/definitions/Outbound'
435
- responses:
436
- '200':
437
- description: 'successful operation'
438
- '400':
439
- description: 'Bad request is sent'
440
- '401':
441
- description: 'Authentication Error'
442
- '404':
443
- description: 'Resource not found'
444
- '500':
445
- description: 'Server error'
446
- deprecated: false
447
- /warehouse/{warehouseId}/cancel-release-order:
448
- post:
449
- tags:
450
- - 'outbound'
451
- description: 'Set release order in WMS to pending cancellation, warehouse staff will check and confirm the cancellation'
452
- operationId: 'cancelReleaseOrder'
453
- produces:
454
- - 'application/json'
455
- parameters:
456
- - in: 'path'
457
- name: 'warehouseId'
458
- required: true
459
- type: 'string'
460
- - in: 'body'
461
- name: 'body'
462
- required: true
463
- schema:
560
+ # GetDeliveryOrderList
561
+ GetDeliveryOrderList:
562
+ type: 'object'
563
+ properties:
564
+ data:
565
+ type: 'object'
566
+ properties:
567
+ id:
568
+ type: 'string'
569
+ example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
570
+ doNo:
571
+ type: 'string'
572
+ example: 'DO-202193085211820'
573
+ from:
574
+ type: 'string'
575
+ example: 'string'
576
+ to:
577
+ type: 'string'
578
+ example: 'string'
579
+ contactPointRefId:
580
+ type: 'string'
581
+ example: 'string'
582
+ truckNo:
583
+ type: 'string'
584
+ example: 'string'
585
+ deliveryDate:
586
+ type: 'string'
587
+ example: 'string'
588
+ status:
589
+ type: 'string'
590
+ example: 'READY_TO_DISPATCH'
591
+ ownCollection:
592
+ type: 'boolean'
593
+ example: true
594
+ looseItem:
595
+ type: 'string'
596
+ example: 'string'
597
+ deliveryDateTime:
598
+ type: 'string'
599
+ example: 'string'
600
+ loadWeight:
601
+ type: 'string'
602
+ example: 'string'
603
+ cargoType:
604
+ type: 'string'
605
+ example: 'string'
606
+ urgency:
607
+ type: 'string'
608
+ example: 'string'
609
+ telNo:
610
+ type: 'string'
611
+ example: 'string'
612
+ refNo:
613
+ type: 'string'
614
+ example: '2675858675687'
615
+ otherDriver:
616
+ type: 'string'
617
+ example: 'string'
618
+ palletQty:
619
+ type: 'string'
620
+ example: 'string'
621
+ remark:
622
+ type: 'string'
623
+ example: 'string'
624
+ description:
625
+ type: 'string'
626
+ example: 'string'
627
+ reusablePallet:
628
+ type: 'string'
629
+ example: 'string'
630
+ bizplace:
631
+ type: 'object'
632
+ properties:
633
+ id:
634
+ type: 'string'
635
+ example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
636
+ name:
637
+ type: 'string'
638
+ example: 'ABC E-commerce'
639
+ description:
640
+ type: 'string'
641
+ example: ' '
642
+ domain:
464
643
  type: 'object'
465
- required:
466
- - orderNo
467
- - remark
468
644
  properties:
469
- orderNo:
645
+ id:
470
646
  type: 'string'
471
- remark:
647
+ example: 'df6dba81-6029-4f95-96ff-748570dc2f4e'
648
+ name:
472
649
  type: 'string'
473
- responses:
474
- '200':
475
- description: 'Successful Operation'
476
- '400':
477
- description: 'Bad request is sent'
478
- '401':
479
- description: 'Authentication Error'
480
- '404':
481
- description: 'Resource not found'
482
- '500':
483
- description: 'Server error'
484
- deprecated: false
485
- /warehouse/{warehouseId}/update-release-order-details:
650
+ example: 'ABC Warehouse '
651
+ releaseGood:
652
+ type: 'object'
653
+ properties:
654
+ id:
655
+ type: 'string'
656
+ example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
657
+ roNo:
658
+ type: 'string'
659
+ example: 'RO-20219317281764'
660
+ description:
661
+ type: 'string'
662
+ example: 'string'
663
+ status:
664
+ type: 'string'
665
+ example: 'DONE'
666
+ refNo:
667
+ type: 'string'
668
+ example: '678968687688967'
669
+ refNo2:
670
+ type: 'string'
671
+ example: 'Loose'
672
+ refNo3:
673
+ type: 'string'
674
+ example: 'string'
675
+ truckNo:
676
+ type: 'string'
677
+ example: 'string'
678
+ exportOption:
679
+ type: 'boolean'
680
+ example: false
681
+ ownTransport:
682
+ type: 'boolean'
683
+ example: true
684
+ crossDocking:
685
+ type: 'boolean'
686
+ example: false
687
+ releaseDateTime:
688
+ type: 'string'
689
+ example: 'string'
690
+ releaseDate:
691
+ type: 'string'
692
+ example: '2021-09-09'
693
+ remark:
694
+ type: 'string'
695
+ example: 'string'
696
+ courierOption:
697
+ type: 'boolean'
698
+ example: false
699
+ packingOption:
700
+ type: 'boolean'
701
+ example: false
702
+ type:
703
+ type: 'string'
704
+ enum: [b2b,b2c]
705
+ acceptedAt:
706
+ type: 'string'
707
+ example: '1632958100650'
708
+ marketplaceOrderStatus:
709
+ type: 'string'
710
+ example: 'string'
711
+ billingAddress:
712
+ type: 'string'
713
+ example: 'string'
714
+ deliveryAddress1:
715
+ type: 'string'
716
+ example: 'string'
717
+ deliveryAddress2:
718
+ type: 'string'
719
+ example: 'string'
720
+ deliveryAddress3:
721
+ type: 'string'
722
+ example: 'string'
723
+ deliveryAddress4:
724
+ type: 'string'
725
+ example: 'string'
726
+ deliveryAddress5:
727
+ type: 'string'
728
+ example: 'string'
729
+ attentionTo:
730
+ type: 'string'
731
+ example: 'string'
732
+ attentionCompany:
733
+ type: 'string'
734
+ example: 'string'
735
+ city:
736
+ type: 'string'
737
+ example: 'string'
738
+ state:
739
+ type: 'string'
740
+ example: 'string'
741
+ postalCode:
742
+ type: 'string'
743
+ example: 'string'
744
+ country:
745
+ type: 'string'
746
+ example: 'string'
747
+ phone1:
748
+ type: 'string'
749
+ example: 'string'
750
+ phone2:
751
+ type: 'string'
752
+ example: 'string'
753
+ email:
754
+ type: 'string'
755
+ example: 'string'
756
+ transporter:
757
+ type: 'string'
758
+ example: 'Others (West Malaysia)'
759
+ trackingNo:
760
+ type: 'string'
761
+ example: 'string'
762
+ airwayBill:
763
+ type: 'string'
764
+ example: 'string'
765
+ invoice:
766
+ type: 'string'
767
+ example: 'string'
768
+ pickupAddress:
769
+ type: 'string'
770
+ example: 'string'
771
+ pickupTime:
772
+ type: 'string'
773
+ example: 'string'
774
+ handoverType:
775
+ type: 'string'
776
+ example: 'string'
777
+ dropoffAddress:
778
+ type: 'string'
779
+ example: 'string'
780
+ noOfItems:
781
+ type: 'string'
782
+ example: 'string'
783
+ orderProducts:
784
+ type: 'object'
785
+ properties:
786
+ product:
787
+ type: 'object'
788
+ properties:
789
+ sku:
790
+ type: 'string'
791
+ example: ' '
792
+ brandSku:
793
+ type: 'string'
794
+ example: ' '
795
+ name:
796
+ type: 'string'
797
+ example: ' '
798
+ description:
799
+ type: 'string'
800
+ example: ' '
801
+ type:
802
+ type: 'string'
803
+ example: ' '
804
+ batchId:
805
+ type: 'string'
806
+ example: ' '
807
+ packingType:
808
+ type: 'string'
809
+ example: 'CARTON'
810
+ packingSize:
811
+ type: 'integer'
812
+ format: 'double'
813
+ example: 24
814
+ releaseQty:
815
+ type: 'string'
816
+ example: 'string'
817
+ releaseUomValue:
818
+ type: 'string'
819
+ example: 'string'
820
+ status:
821
+ type: 'string'
822
+ example: 'ACTIVE'
823
+ orderInventories:
824
+ type: 'object'
825
+ properties:
826
+ batchId:
827
+ type: 'string'
828
+ example: '-'
829
+ batchIdRef:
830
+ type: 'string'
831
+ example: ' '
832
+ packingType:
833
+ type: 'string'
834
+ example: ' '
835
+ packingSize:
836
+ type: 'integer'
837
+ format: 'double'
838
+ example: 24
839
+ uom:
840
+ type: 'integer'
841
+ format: 'double'
842
+ example: 0
843
+ releaseQty:
844
+ type: 'integer'
845
+ example: 5
846
+ releaseUomValue:
847
+ type: 'integer'
848
+ example: 5
849
+ product:
850
+ type: 'object'
851
+ properties:
852
+ sku:
853
+ type: 'string'
854
+ example: ' '
855
+ brandSku:
856
+ type: 'string'
857
+ example: ' '
858
+ name:
859
+ type: 'string'
860
+ example: ' '
861
+ description:
862
+ type: 'string'
863
+ example: ' '
864
+ orderToteItems:
865
+ type: 'object'
866
+ properties:
867
+ orderToteName:
868
+ type: 'string'
869
+ example: ' '
870
+ qty:
871
+ type: 'integer'
872
+ example: 2
873
+ orderToteSeals:
874
+ type: 'object'
875
+ properties:
876
+ name:
877
+ type: 'string'
878
+ example: ' '
879
+ attachments:
880
+ type: 'string'
881
+ example: ' '
882
+ totalCount:
883
+ type: 'integer'
884
+ example: 35
885
+ limit:
886
+ type: 'integer'
887
+ example: 100
888
+ offset:
889
+ type: 'integer'
890
+ example: 0
891
+ xml:
892
+ name: 'GetDeliveryOrderList'
893
+
894
+
895
+ paths:
896
+ # add-release-order
897
+ api/v1/warehouse/add-release-order:
486
898
  post:
487
899
  tags:
488
- - 'outbound'
489
- description: 'Update release order details'
490
- operationId: 'updateReleaseOrderDetails'
900
+ - 'Outbound'
901
+ summary: 'Add release order(s).'
902
+ description: 'Add Release order'
903
+ operationId: 'addReleaseOrder'
491
904
  produces:
492
905
  - 'application/json'
493
906
  parameters:
494
- - in: 'path'
495
- name: 'warehouseId'
496
- required: true
497
- type: 'string'
498
907
  - in: 'body'
499
908
  name: 'body'
500
- required: true
501
- schema:
909
+ schema:
502
910
  type: 'object'
503
911
  properties:
504
- releaseGood:
912
+ data:
505
913
  type: 'object'
914
+ required:
915
+ - 'bizplaceId'
916
+ - 'releaseDate'
917
+ - 'refNo'
918
+ - 'type'
919
+ - 'packingOption'
920
+ - 'exportOption'
921
+ - 'ownTransport'
922
+ - 'courierOption'
923
+ - 'orderInventories'
506
924
  properties:
507
- id:
508
- type: 'uuid'
509
- example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
510
- collectionOrderNo:
925
+ bizplaceId:
511
926
  type: 'string'
512
- refNo:
927
+ example: 'ed2cd631-ac50-44aa-b798-6567d7acde63'
928
+ required: true
929
+ releaseDate:
513
930
  type: 'string'
514
- refNo2:
931
+ example: '2022-07-01'
932
+ required: true
933
+ refNo:
515
934
  type: 'string'
516
- refNo3:
935
+ example: '2206308RFYKUCV'
936
+ required: true
937
+ refNo2:
517
938
  type: 'string'
518
- marketplaceOrderStatus:
939
+ example: '2206308RFYKUCV'
940
+ refNo3:
519
941
  type: 'string'
520
- billingAddress:
942
+ example: 'string'
943
+ type:
521
944
  type: 'string'
522
- deliveryAddress1:
945
+ enum: [b2c, b2b]
946
+ required: true
947
+ transporter:
523
948
  type: 'string'
524
- attentionTo:
949
+ example: 'Others (West Malaysia)'
950
+ trackingNo:
525
951
  type: 'string'
526
- city:
952
+ example: 'SBOP220701000290101'
953
+ packingOption:
954
+ type: 'boolean'
955
+ example: true
956
+ required: true
957
+ exportOption:
958
+ type: 'boolean'
959
+ example: false
960
+ required: true
961
+ ownTransport:
962
+ type: 'boolean'
963
+ example: true
964
+ required: true
965
+ courierOption:
966
+ type: 'boolean'
967
+ example: true
968
+ required: true
969
+ collectionOrderNo:
527
970
  type: 'string'
528
- country:
971
+ example: '2206308RFYKUCV'
972
+ description: '// compulsory when ownTransport is true'
973
+ shippingOrder:
974
+ type: 'object'
975
+ description: '// compulsory when exportOption is true'
976
+ type: 'object'
977
+ required:
978
+ - 'shipName'
979
+ - 'containerNo'
980
+ - 'containerArrivalDate'
981
+ - 'containerLeavingDate'
982
+ properties:
983
+ shipName:
984
+ type: 'string'
985
+ example: 'string'
986
+ required: true
987
+ containerNo:
988
+ type: 'string'
989
+ example: 'string'
990
+ required: true
991
+ loadType:
992
+ type: 'string'
993
+ example: 'string'
994
+ from:
995
+ type: 'string'
996
+ example: 'string'
997
+ to:
998
+ type: 'string'
999
+ example: 'string'
1000
+ containerArrivalDate:
1001
+ type: 'string'
1002
+ example: '2020-02-14'
1003
+ required: true
1004
+ containerLeavingDate:
1005
+ type: 'string'
1006
+ example: '2020-02-14'
1007
+ required: true
1008
+ deliverTo:
1009
+ type: 'object'
1010
+ properties:
1011
+ deliveryAddress1:
1012
+ type: 'string'
1013
+ example: 'No 14 Lorong 9A Tman Peruda Fasa 1B Kuala Muda 08000 Kedah'
1014
+ deliveryAddress2:
1015
+ type: 'string'
1016
+ example: 'string'
1017
+ deliveryAddress3:
1018
+ type: 'string'
1019
+ example: 'string'
1020
+ deliveryAddress4:
1021
+ type: 'string'
1022
+ example: 'string'
1023
+ deliveryAddress5:
1024
+ type: 'string'
1025
+ example: 'string'
1026
+ attentionTo:
1027
+ type: 'string'
1028
+ example: 'Rokiah bt Bakar'
1029
+ city:
1030
+ type: 'string'
1031
+ example: 'Kuala Muda'
1032
+ postalCode:
1033
+ type: 'string'
1034
+ example: '08000'
1035
+ country:
1036
+ type: 'string'
1037
+ example: 'Malaysia'
1038
+ state:
1039
+ type: 'string'
1040
+ example: 'Kedah'
1041
+ phone1:
1042
+ type: 'string'
1043
+ example: '60174396110'
1044
+ phone2:
1045
+ type: 'string'
1046
+ example: 'string'
1047
+ marketplaceOrderStatus:
529
1048
  type: 'string'
530
- postalCode:
1049
+ example: 'ready_to_ship'
1050
+ airwayBill:
531
1051
  type: 'string'
532
- phone1:
1052
+ example: 'string'
1053
+ invoice:
533
1054
  type: 'string'
534
- transporter:
1055
+ example: 'string'
1056
+ attentionCompany:
535
1057
  type: 'string'
536
- trackingNo:
1058
+ example: 'string'
1059
+ email:
537
1060
  type: 'string'
538
- airwayBill:
1061
+ example: 'string'
1062
+ packageId:
539
1063
  type: 'string'
540
- invoice:
1064
+ example: 'string'
1065
+ storeName:
541
1066
  type: 'string'
542
- shippingOrder:
543
- type: 'object'
544
- properties:
545
- shipName:
1067
+ example: 'string'
1068
+ storeId:
1069
+ type: 'string'
1070
+ example: 'string'
1071
+ routeId:
546
1072
  type: 'string'
547
- containerNo:
1073
+ example: 'string'
1074
+ stopId:
548
1075
  type: 'string'
549
- loadType:
1076
+ example: 'string'
1077
+ source:
550
1078
  type: 'string'
551
- from:
1079
+ example: 'string'
1080
+ remark:
552
1081
  type: 'string'
553
- to:
1082
+ example: 'string'
1083
+ orderInventories:
1084
+ type: 'object'
1085
+ required:
1086
+ - 'product'
1087
+ - 'releaseQty'
1088
+ properties:
1089
+ product:
1090
+ type: 'object'
1091
+ required:
1092
+ - 'sku'
1093
+ properties:
1094
+ sku:
1095
+ type: 'string'
1096
+ example: '1172790'
1097
+ required: true
1098
+ refCode:
1099
+ type: 'string'
1100
+ example: 'string'
1101
+ releaseQty:
1102
+ type: 'integer'
1103
+ example: 1
1104
+ required: true
1105
+ packingType:
1106
+ type: 'string'
1107
+ example: 'string'
1108
+ packingSize:
1109
+ type: 'integer'
1110
+ format: 'double'
1111
+ example: 1
1112
+ billTo:
1113
+ type: 'object'
1114
+ properties:
1115
+ billingAddress:
1116
+ type: 'string'
1117
+ example: 'string'
1118
+ responses:
1119
+ '200':
1120
+ description: 'success'
1121
+ content:
1122
+ application/json:
1123
+ schema:
1124
+ type: 'array'
1125
+ items:
1126
+ $ref: '#/definitions/AddReleaseOrder'
1127
+
1128
+ # cancel-release-order
1129
+ api/v1/warehouse/cancel-release-order:
1130
+ post:
1131
+ tags:
1132
+ - 'Outbound'
1133
+ summary: 'Cancel release order(s).'
1134
+ description: 'Cancel Release Order'
1135
+ operationId: 'cancelReleaseOrder'
1136
+ produces:
1137
+ - 'application/json'
1138
+ parameters:
1139
+ - in: 'body'
1140
+ name: 'body'
1141
+ schema:
1142
+ type: 'object'
1143
+ properties:
1144
+ data:
1145
+ type: 'object'
1146
+ properties:
1147
+ bizplaceId:
554
1148
  type: 'string'
555
- containerArrivalDate:
1149
+ example: 'ed2cd631-ac50-44aa-b798-6567d7acde63'
1150
+ required: true
1151
+ roNo:
556
1152
  type: 'string'
557
- example: '2020-02-14'
558
- containerLeavingDate:
1153
+ example: 'xxxxx'
1154
+ required: true
1155
+ remark:
559
1156
  type: 'string'
560
- example: '2020-02-14'
1157
+ example: 'reference reference'
1158
+ required: true
1159
+
1160
+ responses:
1161
+ '200':
1162
+ description: 'success'
1163
+ content:
1164
+ application/json:
1165
+ schema:
1166
+ type: 'array'
1167
+ items:
1168
+ $ref: '#/definitions/CancelReleaseOrder'
1169
+
1170
+ # update-release-order-details
1171
+ api/v1/warehouse/update-release-order-details:
1172
+ post:
1173
+ tags:
1174
+ - 'Outbound'
1175
+ summary: 'Update release order details.'
1176
+ description: 'Update Release Order Details'
1177
+ operationId: 'updateReleaseOrderDetails'
1178
+ produces:
1179
+ - 'application/json'
1180
+ parameters:
1181
+ - in: 'body'
1182
+ name: 'body'
1183
+ schema:
1184
+ type: 'object'
1185
+ properties:
1186
+ data:
1187
+ type: 'object'
1188
+ required:
1189
+ - 'releaseGood'
1190
+ properties:
1191
+ releaseGood:
1192
+ type: 'object'
1193
+ required:
1194
+ - 'bizplaceId'
1195
+ - 'roId'
1196
+ properties:
1197
+ bizplaceId:
1198
+ type: 'string'
1199
+ example: 'ed2cd631-ac50-44aa-b798-6567d7acde63'
1200
+ required: true
1201
+ roId:
1202
+ type: 'string'
1203
+ example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626 '
1204
+ required: true
1205
+ collectionOrderNo:
1206
+ type: 'string'
1207
+ example: 'string'
1208
+ refNo:
1209
+ type: 'string'
1210
+ example: 'string'
1211
+ refNo2:
1212
+ type: 'string'
1213
+ example: 'string'
1214
+ refNo3:
1215
+ type: 'string'
1216
+ example: 'string'
1217
+ marketplaceOrderStatus:
1218
+ type: 'string'
1219
+ example: 'string'
1220
+ billingAddress:
1221
+ type: 'string'
1222
+ example: 'string'
1223
+ deliveryAddress1:
1224
+ type: 'string'
1225
+ example: 'string'
1226
+ attentionTo:
1227
+ type: 'string'
1228
+ example: 'string'
1229
+ city:
1230
+ type: 'string'
1231
+ example: 'string'
1232
+ country:
1233
+ type: 'string'
1234
+ example: 'string'
1235
+ postalCode:
1236
+ type: 'string'
1237
+ example: 'string'
1238
+ phone1:
1239
+ type: 'string'
1240
+ example: 'string'
1241
+ transporter:
1242
+ type: 'string'
1243
+ example: 'string'
1244
+ trackingNo:
1245
+ type: 'string'
1246
+ example: 'string'
1247
+ airwayBill:
1248
+ type: 'string'
1249
+ example: 'string'
1250
+ invoice:
1251
+ type: 'string'
1252
+ example: 'string'
1253
+ shippingOrder:
1254
+ type: 'object'
1255
+ required:
1256
+ - 'shipName'
1257
+ - 'containerNo'
1258
+ - 'containerArrivalDate'
1259
+ - 'containerLeavingDate'
1260
+ properties:
1261
+ shipName:
1262
+ type: 'string'
1263
+ example: 'string'
1264
+ required: true
1265
+ containerNo:
1266
+ type: 'string'
1267
+ example: 'string'
1268
+ required: true
1269
+ loadType:
1270
+ type: 'string'
1271
+ example: 'string'
1272
+ from:
1273
+ type: 'string'
1274
+ example: 'string'
1275
+ to:
1276
+ type: 'string'
1277
+ example: 'string'
1278
+ containerArrivalDate:
1279
+ type: 'string'
1280
+ example: '2020-02-14'
1281
+ required: true
1282
+ containerLeavingDate:
1283
+ type: 'string'
1284
+ example: '2020-02-14'
1285
+ required: true
561
1286
  responses:
562
1287
  '200':
563
- description: 'Successful Operation'
564
- '400':
565
- description: 'Bad request is sent'
566
- '401':
567
- description: 'Authentication Error'
568
- '404':
569
- description: 'Resource not found'
570
- '500':
571
- description: 'Server error'
572
- deprecated: false
573
- /warehouse/{warehouseId}/get-release-order-list:
1288
+ description: 'success'
1289
+ content:
1290
+ application/json:
1291
+ schema:
1292
+ type: 'array'
1293
+ items:
1294
+ $ref: '#/definitions/UpdateReleaseOrderDetails'
1295
+
1296
+ # get-release-order-list
1297
+ api/v1/warehouse/get-release-order-list:
574
1298
  get:
575
1299
  tags:
576
- - 'outbound'
577
- description: 'Use this API to get release orders from WMS.'
1300
+ - 'Outbound'
1301
+ summary: 'Get list of release order.'
1302
+ description: 'Get list of Release Order.'
578
1303
  operationId: 'getReleaseOrderList'
1304
+ consumes:
1305
+ - 'application/json'
579
1306
  produces:
580
1307
  - 'application/json'
581
1308
  parameters:
582
- - in: 'path'
583
- name: 'warehouseId'
1309
+ - in: 'query'
1310
+ name: 'bizplaceId'
1311
+ type: 'string'
584
1312
  required: true
1313
+ - in: 'query'
1314
+ name: 'roNo'
1315
+ type: 'string'
1316
+ - in: 'query'
1317
+ name: 'status'
585
1318
  type: 'string'
586
1319
  - in: 'query'
587
1320
  name: 'fromDate'
588
- required: false
589
1321
  type: 'string'
1322
+ description: '(Must use in conjunction with “toDate”) ISO 8601 format in UTC time eg: 2022-07-25T03:40:04Z'
1323
+ default: '7 days before current datetime.'
590
1324
  - in: 'query'
591
1325
  name: 'toDate'
592
- required: false
593
1326
  type: 'string'
1327
+ description: '(Must use in conjunction with “fromDate”) ISO 8601 format in UTC time eg: 2022-07-25T03:40:04Z'
1328
+ default: 'Current datetime.'
594
1329
  - in: 'query'
595
- name: 'paginationEntriesPerPage'
596
- description: 'This integer value is used to specify the maximum number of entries to return in a single "page" of data. Max entries per page is 100.'
1330
+ name: 'limit'
597
1331
  type: 'integer'
598
- format: 'uint32'
1332
+ default: 100
1333
+ max: 100
599
1334
  - in: 'query'
600
- name: 'paginationOffset'
601
- description: 'Specifies the starting entry of data to return in the current call. Default is 1. if data is more than one page, the offset can be some entry to start next call.'
1335
+ name: 'offset'
602
1336
  type: 'integer'
603
- format: 'uint32'
1337
+ default: 0
604
1338
  responses:
605
1339
  '200':
606
1340
  description: 'successful operation'
@@ -609,95 +1343,84 @@ paths:
609
1343
  schema:
610
1344
  type: 'array'
611
1345
  items:
612
- $ref: '#/definitions/Outbound'
613
- '400':
614
- description: 'Bad request is sent'
615
- '401':
616
- description: 'Authentication Error'
617
- '404':
618
- description: 'Resource not found'
619
- '500':
620
- description: 'Server error'
621
- deprecated: false
622
- /warehouse/{warehouseId}/get-release-order-detail:
1346
+ $ref: '#/definitions/GetReleaseOrderList'
1347
+
1348
+ # get-release-order-details
1349
+ api/v1/warehouse/get-release-order-details:
623
1350
  get:
624
1351
  tags:
625
- - 'outbound'
626
- description: 'Use this API to get single outbound order detail from WMS.'
627
- operationId: 'getOutboundOrderDetail'
1352
+ - 'Outbound'
1353
+ summary: 'Get release order details.'
1354
+ description: 'Get Release Order Details.'
1355
+ operationId: 'getReleaseOrderDetails'
1356
+ consumes:
1357
+ - 'application/json'
628
1358
  produces:
629
1359
  - 'application/json'
630
1360
  parameters:
631
- - in: 'path'
632
- name: 'warehouseId'
633
- required: true
1361
+ - in: 'query'
1362
+ name: 'bizplaceId'
634
1363
  type: 'string'
635
- - name: 'releaseOrderNo'
636
- in: 'query'
637
- description: 'The specific release order no.'
638
1364
  required: true
1365
+ - in: 'query'
1366
+ name: 'roNo'
639
1367
  type: 'string'
1368
+ required: true
640
1369
  responses:
641
1370
  '200':
642
1371
  description: 'successful operation'
643
1372
  content:
644
1373
  application/json:
645
1374
  schema:
646
- $ref: '#/definitions/Outbound'
647
- '400':
648
- description: 'Bad request is sent'
649
- '401':
650
- description: 'Authentication Error'
651
- '404':
652
- description: 'Resource not found'
653
- '500':
654
- description: 'Server error'
655
- deprecated: false
656
- /warehouse/{warehouseId}/get-delivery-orders:
1375
+ type: 'array'
1376
+ items:
1377
+ $ref: '#/definitions/GetReleaseOrderDetails'
1378
+
1379
+ # get-delivery-order-list
1380
+ api/v1/warehouse/get-delivery-order-list:
657
1381
  get:
658
1382
  tags:
659
- - 'outbound'
660
- description: 'Use this API to get a list of delivery orders from WMS.'
661
- operationId: 'getDeliveryOrder'
1383
+ - 'Outbound'
1384
+ summary: 'Get delivery order list.'
1385
+ description: 'Get Delivery Order List.'
1386
+ operationId: 'getDeliveryOrderList'
1387
+ consumes:
1388
+ - 'application/json'
662
1389
  produces:
663
1390
  - 'application/json'
664
1391
  parameters:
665
- - in: 'path'
666
- name: 'warehouseId'
667
- required: true
1392
+ - in: 'query'
1393
+ name: 'bizplaceId'
668
1394
  type: 'string'
669
- - name: 'fromDate'
670
- in: 'query'
671
1395
  required: true
1396
+ - in: 'query'
1397
+ name: 'doNo'
672
1398
  type: 'string'
673
- - name: 'toDate'
674
- in: 'query'
675
- description: 'Maximum date range is 1 month'
676
- required: true
1399
+ - in: 'query'
1400
+ name: 'fromDate'
1401
+ type: 'string'
1402
+ description: '(Must use in conjunction with “toDate”) ISO 8601 format in UTC time eg: 2022-07-25T03:40:04Z'
1403
+ default: '7 days before current datetime.'
1404
+ - in: 'query'
1405
+ name: 'toDate'
677
1406
  type: 'string'
678
- - name: 'limit'
679
- in: 'query'
680
- default: 10
681
- required: false
682
- type: 'number'
683
- - name: 'page'
684
- in: 'query'
685
- default: 1
686
- required: false
687
- type: 'number'
1407
+ description: '(Must use in conjunction with “fromDate”) ISO 8601 format in UTC time eg: 2022-07-25T03:40:04Z'
1408
+ default: 'Current datetime.'
1409
+ - in: 'query'
1410
+ name: 'limit'
1411
+ type: 'integer'
1412
+ default: 100
1413
+ max: 100
1414
+ - in: 'query'
1415
+ name: 'offset'
1416
+ type: 'integer'
1417
+ default: 0
688
1418
  responses:
689
1419
  '200':
690
1420
  description: 'successful operation'
691
1421
  content:
692
1422
  application/json:
693
1423
  schema:
694
- $ref: '#/definitions/DO'
695
- '400':
696
- description: 'Bad request is sent'
697
- '401':
698
- description: 'Authentication Error'
699
- '404':
700
- description: 'Resource not found'
701
- '500':
702
- description: 'Server error'
703
- deprecated: false
1424
+ type: 'array'
1425
+ items:
1426
+ $ref: '#/definitions/GetDeliveryOrderList'