listExecutionStatusForScheduledOrderById

get

/ccstore/v1/scheduledOrders/status/{id}

List Execution Status For Scheduled Order By Id. It will list the execution status for a scheduled order . Optionally takes the X-CCOrganization header to specify current Organization context of logged in user.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
The id of the Scheduled order.
Query Parameters
limit
Type: integer
limit of the scheduled orders list.
offset
Type: integer
Offset of the scheduled orders list.
Header Parameters
X-CCOrganization
Type: string
Current organization context of the logged in user

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listExecutionStatusForScheduledOrderById_response
Nested Schema : items
Type: array
The array of the Scheduled orders by the id.
Nested Schema : items
Type: object
Nested Schema : executionStatusList
Type: array
The status list of executed scheduled orders
Nested Schema : items
Type: object
Example application/json

{
    "total":1,
    "totalResults":1,
    "offset":0,
    "limit":250,
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccstoreui/v1/scheduledOrders/status/sco20002"
        }
    ],
    "items":[
        {
            "scheduledOrderId":"sco20002",
            "errorMessages":[
                "hi this is error"
            ],
            "orderId":"o40414",
            "repositoryId":"0001",
            "executionDate":"2016-12-08T00:00:00.000Z",
            "id":"0001",
            "orderSubmitted":false,
            "orderTotal":123
        }
    ]
}
Default Response
The error response
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "total": 1,
  "totalResults": 1,
  "offset": 0,
  "limit": 250,
  "links": [{
    "rel": "self",
    "href": "http://localhost:9080/ccstoreui/v1/scheduledOrders/status/sco20002"
  }],
  "items": [{
    "scheduledOrderId": "sco20002",
    "errorMessages": ["hi this is error"],
    "orderId": "o40414",
    "repositoryId": "0001",
    "executionDate": "2016-12-08T00:00:00.000Z",
    "id": "0001",
    "orderSubmitted": false,
    "orderTotal": 123
  }]
}