Shipment visibility dashboard - IBM/intelligence-suite-supply-chain-solutions GitHub Wiki

image


Prerequisites

This use case assumes you are familiar with implementing solutions in SCIS. You can find relevant tutorials for all of the instructions here in the User interface, Data platform, and Data import-export wikis.

Note - these tutorials are provided as-is for educational purposes only. We do our best to make them fully useable, however there will be gaps as published. If you have suggestions for improvements please submit an issue.


Solution

TBA

Steps

All json registration content is available in this zip file. Please note - you will need to change the tenantId in all json files to your tenant ID

  1. Register rules
  2. Load sample data
  3. Register work queues
  4. Create dashboard widgets
  5. Create view-all page widgets
  6. Create view-all pages
  7. Create detail pages
  8. Create dashboard
  9. Test on https://www.supply-chain.ibm.com/

Step 1. Register rules

POST https://api.ibm.com/infohub/run/metadata/api/v1/na/derived/rules

Step 2. Load sample data

Step 3. Register work queues and actions

POST https://api.ibm.com/infohub/run/metadata/api/v1/na/workqueues
POST https://api.ibm.com/infohub/run/metadata/api/v1/na/

Step 4. Create dashboard widgets

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe

Step 5. Create view-all page list widgets

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe

Step 6. Create view all pages

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/layout_templates

Step 7. Create detail page widgets

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe

Step 8. Create detail pages

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/widget_definitions
POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe

Step 9. Create dashboard

POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/layout_templates

then POST https://api.ibm.com/supplychainui/run/na/api/v1/wms/subscriptions/subscribe

Subscription body should be of the form:


{
  "id": "<TEMPLATE_ID>_subscription",
  "offeringId": "SCO",
  "state": "ACTIVE",
  "subscriptionConfig": [],
  "tenantId": "<tenant_id>",
  "templateId": "<TEMPLATE_ID>"
}

Shipment visibility dashboard tab: template-defaultShipmentVisibilityLayoutTemplate.json

⚠️ **GitHub.com Fallback** ⚠️