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(required): string
The id of the Scheduled order.
Query Parameters
-
limit: integer
limit of the scheduled orders list.
-
offset: integer
Offset of the scheduled orders list.
Header Parameters
-
X-CCOrganization: string
Current organization context of the logged in user
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listExecutionStatusForScheduledOrderById_response
Type:
Show Source
object
-
items:
array items
The array of the Scheduled orders by the id.
-
limit:
integer
The limit results of the Scheduled orders in a page.
-
offset:
integer
The offset results of the Scheduled orders.
-
total:
integer
The total number of the Scheduled orders.
-
totalResults:
integer
The total results of the Scheduled orders.
Nested Schema : items
Type:
Show Source
object
-
endDate:
string
The end date of the Scheduled order.
-
executionStatusList:
array executionStatusList
The status list of executed scheduled orders
-
Id:
string
The Id of the Scheduled order.
Nested Schema : executionStatusList
Type:
array
The status list of executed scheduled orders
Show Source
Nested Schema : items
Type:
Show Source
object
-
errorMessages:
string
The error messages list.
-
executionDate:
string
The date for previous scheduled run
-
id:
string
The Id of the Scheduled order.
-
orderId:
string
The Id of the Scheduled order.
-
orderSubmitted:
boolean
The status of order.
-
orderTotal:
number
Total order value.
-
repositoryId:
string
The Id of the Scheduled order.
-
scheduledOrderId:
string
The Id of the Scheduled order.
Example Response (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
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code