The ViewAllPendingApprovalsActor allows an agent or supervisor to find orders that are waiting for approval before fulfillment. This actor contains the viewAllPendingApprovals actor-chain. This actor is located at /atg/commerce/custsvc/approvals/ViewAllPendingApprovalsActor.
Parameters: None
Find Pending Approvals Example
curl \-L \-v \-c agent_cookies.txt \-H "Content-Type: application/json" "http://localhost:8180/rest/model/atg/commerce/custsvc/approvals/ ViewAllPendingApprovalsActor/viewAllPendingApprovals"
The response may be similar to the following:
"pendingApprovals":
{
"creationDate":
{
"time": 1364378657000
},
"customerId": "210006",
"orderTotal": 13.75,
"appeasementTotal": -12,
"agentId": "a10001",
"customerEmail": "customer@example.com",
"orderId": "o1200001"
},
{
"creationDate":
{
"time": 1364378689000
},
"customerId": "210006",
"orderTotal": 18.75,
"appeasementTotal": -12,
"agentId": "a10001",
"customerEmail": "customer@example.com",
"orderId": "o1200002"
}
