getPublishSchedule
get
/ccadmin/v1/publish/schedules
Get Publish Schedule. Get a list of scheduled publishes.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPublishSchedule_response
- items
-
Type:
arrayitemsAdditional Properties Allowed:Items of scheduled publishing. - limit
-
Type:
integerLimit of number of scheduled publishes. - offset
-
Type:
integeroffset. - sort
-
Type:
arraysortAdditional Properties Allowed:Sort information of the scheduled publishing. - total
-
Type:
integerTotal number of scheduled publishes.
Nested Schema : items
Nested Schema : sort
Nested Schema : items
Type:
object- dateTime
-
Type:
stringDate and time of scheduled publish. - id
-
Type:
integerId of scheduled publish. - maxWaitMinutes
-
Type:
stringThe maximum number of minutes to wait for the publishing lock. A null value means wait up to the default number of minutes (30) - profileId
-
Type:
stringProfile Id of scheduled publish.
Nested Schema : items
Type:
object- order
-
Type:
stringOrder of publish. - property
-
Type:
stringProperty of publish.
Example application/json
{
"total":1,
"offset":0,
"limit":1,
"sort":[
{
"property":"dateTime",
"order":"asc"
}
],
"items":[
{
"dateTime":"2014-03-18T14:18:00.000Z",
"maxWaitMinutes":30,
"profileId":"admin",
"id":"100002"
}
]
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|10002|Invalid value [ {1} ] for parameter: {0}.|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{
"total": 1,
"offset": 0,
"limit": 1,
"sort": [{
"property": "dateTime",
"order": "asc"
}],
"items": [{
"dateTime": "2014-03-18T14:18:00.000Z",
"maxWaitMinutes": 30,
"profileId": "admin",
"id": "100002"
}]
}