requestIndex

post

/ccadmin/v1/search/index

Request Index. Request a partial, baseline or baseline-full-export index. May be started immediately (if no index is in progress), or queued.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : requestIndex_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : requestIndex_response
Example application/json

{
    "queued":false,
    "executionStarted":true
}
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| |------------------|------------------| |34082|Execute Index Internal error|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{"onlyIfIdle": true}

Sample Response Payload returned by endpoint:

{
  "queued": false,
  "executionStarted": true
}