listScheduledOrders

get

/ccstore/v1/scheduledOrders

This endpoints returns list of all scheduled orders which can be accessed by current logged-in user. Optionally takes the X-CCOrganization header to specify current Organization context of logged-in user.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listScheduledOrdersByProfile_response
Type: object
Show Source
Nested Schema : items
Type: array
The array of the Scheduled orders by the profile id.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : schedule
Type: object
The schedule of the Scheduled order.
Show Source
Nested Schema : templateOrder
Type: object
The template order of the Scheduled order.
Show Source
Nested Schema : daysOfWeek
Type: array
The days of week of the Scheduled order.
Show Source
Nested Schema : monthsInYear
Type: array
The months in year of the Scheduled order.
Show Source
Nested Schema : selectedDates
Type: array
The selected dates in a month in year for the Scheduled order.
Show Source
Nested Schema : weeksInMonth
Type: array
The weeks in month of the Scheduled order.
Show Source
Example Response (application/json)
{
    "total":2,
    "totalResults":2,
    "offset":20,
    "limit":10,
    "items":[
        {
            "templateOrderId":"o10001",
            "endDate":"10/01/2015",
            "templateOrder":{
                "state":"TEMPLATE"
            },
            "profileId":"user1",
            "name":"testScheduleOrder",
            "nextScheduledRun":"10/02/2015",
            "Id":"sch001",
            "state":"inactive",
            "startDate":"10/01/2015"
        },
        {
            "templateOrderId":"o10001",
            "endDate":"10/01/2018",
            "templateOrder":{
                "state":"PENDING_APPROVAL_TEMPLATE"
            },
            "profileId":"user1",
            "name":"testScheduleOrder",
            "nextScheduledRun":"10/02/2017",
            "Id":"sch002",
            "state":"active",
            "startDate":"10/01/2015"
        },
        {
            "templateOrderId":"o10002",
            "endDate":"10/01/2017",
            "templateOrder":{
                "state":"PENDING_PAYMENT_TEMPLATE"
            },
            "profileId":"user1",
            "name":"testScheduleOrder",
            "nextScheduledRun":"01/02/2017",
            "Id":"sch003",
            "state":"active",
            "startDate":"10/01/2015"
        }
    ]
}

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top