listWorksets
get
/ccadmin/v1/worksets
Lists worksets.
Request
Supported Media Types
- application/json
Query Parameters
-
includeScheduledWorksets: boolean
Whether to list scheduled worksets.
-
q: string
Query string that filters the access rights to be returned from this request using SCIM filtering syntax.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listWorksets_response
Type:
Show Source
object
-
items:
array items
List of worksets
-
limit:
string
Number of records to be fetched.
-
offset:
string
The offset provided.
-
sort:
array sort
Sorting criteria.
-
total:
string
Total number of records present in database matching the searched string.
-
totalResults:
string
Total number of records present in database matching the searched string.
Nested Schema : items
Type:
Show Source
object
-
name:
string
Workset name.
-
repositoryId:
string
Workset ID.
Nested Schema : items
Type:
Show Source
object
-
order:
string
Sort order: asc or desc.
-
property:
string
The property the listing is sorted by.
Example Response (application/json)
{
"total":2,
"totalResults":2,
"offset":0,
"limit":250,
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccadmin/v1/worksets"
}
],
"sort":[
{
"property":"name",
"order":"asc"
}
],
"items":[
{
"name":"default",
"repositoryId":"default"
},
{
"name":"summer_sales",
"repositoryId":"ws10001"
}
]
}
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|
|------------------|------------------|
|31303|Internal server error.|
|85000|q query param is not valid SCIM filter format|
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