Outputting Nested Resources on a table using

Hello all,

So I have a business object with the following structure:

Order

  • Priority (BDM object)
    • Priority ID
    • Priority Name
  • Type (BDM object)
    -Type ID
    -Type Name
  • Delivery Date
  • Order Number
    On Validation page I would like to view the Order by seeing the order number, the priority name, type name and delivery date on a table for all the orders.

I can get date and number to show up fine, but I can’t get the information from the priority or type names. I’ve tried searching the way to do an API call but I can’t figure that either. Any ideas?

Thanks

This is what I get when calling on the REST API:

  • 0: {
    “persistenceId”: 1
    “persistenceId_string”: “1”
    “persistenceVersion”: 0
    “persistenceVersion_string”: “0”
    “orderNumber”: “1”
    “orderDate”: 1453248000000
    “links”: [2]
    - 0: {
    “rel”: “orderPriority”
    “href”: “/API/bdm/businessData/com.order.data.DetailOrder/1/orderPriority”
    }
    - 1: {
    “rel”: “orderType”
    “href”: “/API/bdm/businessData/com.order.data.DetailOrder/1/orderType”
    }
    }

  • 1: {
    “persistenceId”: 2
    “persistenceId_string”: “2”
    “persistenceVersion”: 0
    “persistenceVersion_string”: “0”
    “orderNumber”: “2”
    “orderDate”: 1453248000000
    “links”: [2]
    - 0: {
    “rel”: “orderPriority”
    “href”: “/API/bdm/businessData/com.order.data.DetailOrder/2/orderPriority”
    }
    - 1: {
    “rel”: “orderType”
    “href”: “/API/bdm/businessData/com.order.data.DetailOrder/2/orderType”
    }
    }