getTextSearchSettings
get
/ccadmin/v1/merchant/textSearch
Get the Text search settings
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getTextSearchSettings_response
Type:
Show Source
object
-
enabled:
boolean
Flag indicates whether text search is enabled or not.
-
errorMessage:
string
error message if there is any error while performing text search setup.
-
scheduledJobs:
array scheduledJobs
List of scheduled Jobs created. This field is returned once setup is done and scheduled jobs are created
-
scheduledJobsInputData:
array scheduledJobsInputData
List of scheduled Jobs Data given in the input. This field is returned only when setup is 'inProgress'
-
setupRunning:
boolean
Flag indicates whether text search setup is running or not.
-
statusMessage:
string
Status message if any text search setup is running, otherwise returns empty string.
Nested Schema : scheduledJobs
Type:
array
List of scheduled Jobs created. This field is returned once setup is done and scheduled jobs are created
Show Source
Nested Schema : scheduledJobsInputData
Type:
array
List of scheduled Jobs Data given in the input. This field is returned only when setup is 'inProgress'
Show Source
Nested Schema : items
Type:
Show Source
object
-
componentPath:
string
Supported scheduled job path
-
schedule:
object schedule
-
scheduleDescription:
string
Descriptive schedule information
-
scheduledJobName:
string
Name of the scheduled Job. Valid scheduled Jobs are: 'orderIncrementalIndexingSchedule', 'profileIncrementalIndexingSchedule','orderOptimizationSchedule','profileOptimizationSchedule'
-
scheduleType:
string
Schedule type could be periodic or calendar
Nested Schema : schedule
Type:
Show Source
object
-
period:
integer
It contains value in milliseconds.
Nested Schema : items
Type:
Show Source
object
-
schedule:
object schedule
-
scheduleDescription:
string
Descriptive schedule information
-
scheduledJobName:
string
Name of the scheduled Job. Valid scheduled Jobs are: 'orderIncrementalIndexingSchedule', 'profileIncrementalIndexingSchedule','orderOptimizationSchedule','profileOptimizationSchedule'
-
scheduleType:
string
Schedule type could be periodic or calendar
Nested Schema : schedule
Type:
Show Source
object
-
period:
integer
It contains value in milliseconds.
Example Response (application/json)
{
"setupRunning":false,
"errorMessage":"",
"enabled":false,
"statusMessage":""
}
Default Response
The error response
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