storePublishingChangeList
post
/ccadmin/v1/publishingChangeLists
Store Publishing Change List. Store a list of change item IDs for later dependency calculations or selective publishing
Request
Supported Media Types
- application/json
Root Schema : storePublishingChangeList_request
Type:
Show Source
object
-
changeItemIds:
array changeItemIds
Array of change item IDs to store. Required only if the "q" parameter is not provided. If the "q" parameter is provided, then "changeItemIds" can be left off or it should only contain change IDs not already covered by the "q" parameter.
-
q(optional):
string
An optional query filter string (in the SCM filter format) used in lieu of or in addition to the "changeItemIds" for identifying the criteria for what change items to store.
Example:
{
"q":"(assetType eq \"price\")",
"changeItemIds":[
"ID1",
"ID2",
"ID3"
]
}
Nested Schema : changeItemIds
Type:
array
Array of change item IDs to store. Required only if the "q" parameter is not provided. If the "q" parameter is provided, then "changeItemIds" can be left off or it should only contain change IDs not already covered by the "q" parameter.
Show Source
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : storePublishingChangeList_response
Type:
Show Source
object
-
changeListId(optional):
string
ID corresponding to the change item lists which can be used to invoke getPublishing endpoint.
Example Response (application/json)
{
"changeListId":"N2ECA3RrG1jLYZjN4Q6XTNrkjc_10000"
}
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|
|------------------|------------------|
|31034|List of input change item IDs not found|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
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(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code