supplychain-2024-01-01.examples.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. {
  2. "version": "1.0",
  3. "examples": {
  4. "CreateBillOfMaterialsImportJob": [
  5. {
  6. "input": {
  7. "clientToken": "550e8400-e29b-41d4-a716-446655440000",
  8. "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
  9. "s3uri": "s3://mybucketname/pathelemene/file.csv"
  10. },
  11. "output": {
  12. "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
  13. },
  14. "id": "example-1",
  15. "title": "Invoke CreateBillOfMaterialsImportJob"
  16. }
  17. ],
  18. "GetBillOfMaterialsImportJob": [
  19. {
  20. "input": {
  21. "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
  22. "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
  23. },
  24. "output": {
  25. "job": {
  26. "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
  27. "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4",
  28. "message": "Import job completed successfully.",
  29. "s3uri": "s3://mybucketname/pathelemene/file.csv",
  30. "status": "SUCCESS"
  31. }
  32. },
  33. "id": "example-1",
  34. "title": "Invoke GetBillOfMaterialsImportJob for a successful job"
  35. },
  36. {
  37. "input": {
  38. "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
  39. "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4"
  40. },
  41. "output": {
  42. "job": {
  43. "instanceId": "60f82bbd-71f7-4fcd-a941-472f574c5243",
  44. "jobId": "f79b359b-1515-4436-a3bf-bae7b33e47b4",
  45. "s3uri": "s3://mybucketname/pathelemene/file.csv",
  46. "status": "IN_PROGRESS"
  47. }
  48. },
  49. "id": "example-2",
  50. "title": "Invoke GetBillOfMaterialsImportJob for an in-progress job"
  51. }
  52. ],
  53. "SendDataIntegrationEvent": [
  54. {
  55. "input": {
  56. "data": "{\"id\": \"inbound-order-id-test-123\", \"tpartner_id\": \"partner-id-test-123\" }",
  57. "eventGroupId": "inboundOrderId",
  58. "eventTimestamp": 1515531081.123,
  59. "eventType": "scn.data.inboundorder",
  60. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  61. },
  62. "output": {
  63. "eventId": "c4132c1d-8f60-44a2-9932-f723c4f7b8a7"
  64. },
  65. "id": "example-1",
  66. "title": "Successful SendDataIntegrationEvent for inboundorder event type"
  67. },
  68. {
  69. "input": {
  70. "data": "{\"id\": \"inbound-order-line-id-test-123\", \"order_id\": \"order-id-test-123\", \"tpartner_id\": \"partner-id-test-123\", \"product_id\": \"product-id-test-123\", \"quantity_submitted\": \"100.0\" }",
  71. "eventGroupId": "inboundOrderLineId",
  72. "eventTimestamp": 1515531081.123,
  73. "eventType": "scn.data.inboundorderline",
  74. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  75. },
  76. "output": {
  77. "eventId": "45d95db2-d106-40e0-aa98-f1204230a691"
  78. },
  79. "id": "example-2",
  80. "title": "Successful SendDataIntegrationEvent for inboundorderline event type"
  81. },
  82. {
  83. "input": {
  84. "data": "{\"id\": \"inbound-order-line-schedule-id-test-123\", \"order_id\": \"order-id-test-123\", \"order_line_id\": \"order-line-id-test-123\", \"product_id\": \"product-id-test-123\"}",
  85. "eventGroupId": "inboundOrderLineScheduleId",
  86. "eventTimestamp": 1515531081.123,
  87. "eventType": "scn.data.inboundorderlineschedule",
  88. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  89. },
  90. "output": {
  91. "eventId": "5abba995-7735-4d1e-95c4-7cc93e48cf9f"
  92. },
  93. "id": "example-3",
  94. "title": "Successful SendDataIntegrationEvent for inboundorderlineschedule event type"
  95. },
  96. {
  97. "input": {
  98. "data": "{\"snapshot_date\": \"1672470400000\", \"product_id\": \"product-id-test-123\", \"site_id\": \"site-id-test-123\", \"region_id\": \"region-id-test-123\", \"product_group_id\": \"product-group-id-test-123\", \"forecast_start_dttm\": \"1672470400000\", \"forecast_end_dttm\": \"1672470400000\" }",
  99. "eventGroupId": "forecastId",
  100. "eventTimestamp": 1515531081.123,
  101. "eventType": "scn.data.forecast",
  102. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  103. },
  104. "output": {
  105. "eventId": "29312d5b-f499-4dcd-b017-3dab3cd34d61"
  106. },
  107. "id": "example-4",
  108. "title": "Successful SendDataIntegrationEvent for forecast event type"
  109. },
  110. {
  111. "input": {
  112. "data": "{\"snapshot_date\": \"1672470400000\", \"site_id\": \"site-id-test-123\", \"product_id\": \"product-id-test-123\", \"on_hand_inventory\": \"100.0\", \"inv_condition\": \"good\", \"lot_number\": \"lot-number-test-123\"}",
  113. "eventGroupId": "inventoryLevelId",
  114. "eventTimestamp": 1515531081.123,
  115. "eventType": "scn.data.inventorylevel",
  116. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  117. },
  118. "output": {
  119. "eventId": "3aa78324-acd8-4fdd-a19e-231ea003c2b3"
  120. },
  121. "id": "example-5",
  122. "title": "Successful SendDataIntegrationEvent for inventorylevel event type"
  123. },
  124. {
  125. "input": {
  126. "data": "{\"id\": \"outbound-orderline-id-test-123\", \"cust_order_id\": \"cust-order-id-test-123\", \"product_id\": \"product-id-test-123\" }",
  127. "eventGroupId": "outboundOrderLineId",
  128. "eventTimestamp": 1515531081.123,
  129. "eventType": "scn.data.outboundorderline",
  130. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  131. },
  132. "output": {
  133. "eventId": "959b7ef9-5e2d-4795-b1ca-5b16a3eb6b89"
  134. },
  135. "id": "example-6",
  136. "title": "Successful SendDataIntegrationEvent for outboundorderline event type"
  137. },
  138. {
  139. "input": {
  140. "data": "{\"id\": \"outbound-shipment-id-test-123\", \"cust_order_id\": \"cust-order-id-test-123\", \"cust_order_line_id\": \"cust-order-line-id-test-123\", \"product_id\": \"product-id-test-123\" }",
  141. "eventGroupId": "outboundShipmentId",
  142. "eventTimestamp": 1515531081.123,
  143. "eventType": "scn.data.outboundshipment",
  144. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  145. },
  146. "output": {
  147. "eventId": "59feded3-5e46-4126-81bf-0137ca176ee0"
  148. },
  149. "id": "example-7",
  150. "title": "Successful SendDataIntegrationEvent for outboundshipment event type"
  151. },
  152. {
  153. "input": {
  154. "data": "{\"process_id\": \"process-id-test-123\" }",
  155. "eventGroupId": "processHeaderId",
  156. "eventTimestamp": 1515531081.123,
  157. "eventType": "scn.data.processheader",
  158. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  159. },
  160. "output": {
  161. "eventId": "564130eb-2d8a-4550-a768-ddf0daf7b4a9"
  162. },
  163. "id": "example-8",
  164. "title": "Successful SendDataIntegrationEvent for processheader event type"
  165. },
  166. {
  167. "input": {
  168. "data": "{\"process_operation_id\": \"process-operation-id-test-123\", \"process_id\": \"process-id-test-123\" }",
  169. "eventGroupId": "processOperationId",
  170. "eventTimestamp": 1515531081.123,
  171. "eventType": "scn.data.processoperation",
  172. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  173. },
  174. "output": {
  175. "eventId": "db5df408-89c7-4b9f-a326-016f6c2b3396"
  176. },
  177. "id": "example-9",
  178. "title": "Successful SendDataIntegrationEvent for processoperation event type"
  179. },
  180. {
  181. "input": {
  182. "data": "{\"process_product_id\": \"process-product-id-test-123\", \"process_id\": \"process-id-test-123\" }",
  183. "eventGroupId": "processProductId",
  184. "eventTimestamp": 1515531081.123,
  185. "eventType": "scn.data.processproduct",
  186. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  187. },
  188. "output": {
  189. "eventId": "6929b275-485e-4035-a798-99077ca6d669"
  190. },
  191. "id": "example-10",
  192. "title": "Successful SendDataIntegrationEvent for processproduct event type"
  193. },
  194. {
  195. "input": {
  196. "data": "{\"reservation_id\": \"reservation-id-test-123\", \"reservation_detail_id\": \"reservation-detail-id-test-123\" }",
  197. "eventGroupId": "reservationId",
  198. "eventTimestamp": 1515531081.123,
  199. "eventType": "scn.data.reservation",
  200. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  201. },
  202. "output": {
  203. "eventId": "f6c55a8b-fde2-44f6-848a-9b4336c77209"
  204. },
  205. "id": "example-11",
  206. "title": "Successful SendDataIntegrationEvent for reservation event type"
  207. },
  208. {
  209. "input": {
  210. "data": "{\"id\": \"shipment-id-test-123\", \"supplier_tpartner_id\": \"supplier-tpartner-id-test-123\", \"product_id\": \"product-id-test-123\", \"order_id\": \"order-id-test-123\", \"order_line_id\": \"order-line-id-test-123\", \"package_id\": \"package-id-test-123\" }",
  211. "eventGroupId": "shipmentId",
  212. "eventTimestamp": 1515531081.123,
  213. "eventType": "scn.data.shipment",
  214. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  215. },
  216. "output": {
  217. "eventId": "61d079d8-3f56-49bb-b35a-c0271a4e4f0a"
  218. },
  219. "id": "example-12",
  220. "title": "Successful SendDataIntegrationEvent for shipment event type"
  221. },
  222. {
  223. "input": {
  224. "data": "{\"shipment_stop_id\": \"shipment-stop-id-test-123\", \"shipment_id\": \"shipment-id-test-123\" }",
  225. "eventGroupId": "shipmentStopId",
  226. "eventTimestamp": 1515531081.123,
  227. "eventType": "scn.data.shipmentstop",
  228. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  229. },
  230. "output": {
  231. "eventId": "3610992a-fc2f-4da4-9beb-724994622ba1"
  232. },
  233. "id": "example-13",
  234. "title": "Successful SendDataIntegrationEvent for shipmentstop event type"
  235. },
  236. {
  237. "input": {
  238. "data": "{\"shipment_stop_order_id\": \"shipment-stop-order-id-test-123\", \"shipment_stop_id\": \"shipment-stop-id-test-123\", \"shipment_id\": \"shipment-id-test-123\" }",
  239. "eventGroupId": "shipmentStopOrderId",
  240. "eventTimestamp": 1515531081.123,
  241. "eventType": "scn.data.shipmentstoporder",
  242. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  243. },
  244. "output": {
  245. "eventId": "1d550a60-9321-4d25-a132-9dd4b2d9e934"
  246. },
  247. "id": "example-14",
  248. "title": "Successful SendDataIntegrationEvent for shipmentstoporder event type"
  249. },
  250. {
  251. "input": {
  252. "data": "{\"supply_plan_id\": \"supply-plan-id-test-123\" }",
  253. "eventGroupId": "supplyPlanId",
  254. "eventTimestamp": 1515531081.123,
  255. "eventType": "scn.data.supplyplan",
  256. "instanceId": "8928ae12-15e5-4441-825d-ec2184f0a43a"
  257. },
  258. "output": {
  259. "eventId": "9abaee56-5dc4-4c31-8250-3206a651d8a1"
  260. },
  261. "id": "example-15",
  262. "title": "Successful SendDataIntegrationEvent for supplyplan event type"
  263. }
  264. ]
  265. }
  266. }