The SubmittedOrderTableActor allows you to view a list of the submitted orders applied to a template order. Note that this call requires the orderID of a submitted order. It is located at /atg/commerce/order/scheduled/SubmittedOrderTableActor.

This actor uses the list actor-chain:

Parameter

Description

orderId

The ID of the of the submitted order.

sortDirection

The way in which you want to sort the list.

sortField

The field used to sort the list.

currentPage

The paging results of the search to display.

resultsPerPage

The number of results to display per page.

View a Template’s List of Submitted Orders Example
curl -L -v -b agent_cookies.txt -H "Content-Type: application/json" -d
"{\"orderId" : \"o1233241\" }" "http://localhost:8080/rest/model/atg/commerce/
order/scheduled/SubmittedOrderTableActor/list"

The results may be similar to the following:

{
  "searchResults": [{
    "id": "o500035"
  },
  {
    "id": "o500030"
  },
  {
    "id": "o500001"
  },
  {
    "id": "o490001"
  },
  {
    "id": "o480006"
  },
  {
    "id": "o480001"
  },
  {
    "id": "o120006"
  },
  {
    "id": "o110003"
  },
  {
    "id": "o90007"
  },
  {
    "id": "o90003"
  }],
  "resultsPerPage": 10,
  "totalItemCount": 10,
  "currentPage": 0
}

Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices