getConfigurationSettings
get
/ccagent/v1/merchant/configurationSettings
Get Configuration Settings. To get the configuration details of a given configuration type
Request
Supported Media Types
- application/json
Query Parameters
- type
-
Type:
stringRequired:truesetting type
Header Parameters
- x-ccsite
-
Type:
stringRequired:truethe site id corresponding to which site specific properties should be get
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getConfigurationSettings_response
Nested Schema : config
Type:
objectconfiguration details of the setting
- description
-
Type:
stringconfiguration setting description - displayName
-
Type:
stringdisplay name of the configuration - enabled
-
Type:
booleanconfiguration enabled flag - id
-
Type:
stringconfiguration setting id
Nested Schema : data
Type:
objectproperty details.
- configuration_setting_type
-
Type:
objectconfiguration_setting_typeAdditional Properties Allowed:configuration setting properties
Nested Schema : configuration_setting_type
Type:
objectconfiguration setting properties
- configuration_property_1
-
Type:
stringvalue of the configuration property 1 - configuration_property_2
-
Type:
stringvalue of the configuration property 2
Example application/json
{
"data":{
"cpqConfigSettings":{
"CPQReConfigurationURL":"http://slc10gpm.us.oracle.com",
"CPQIFrameURL":"http://slc10gpm.us.oracle.com"
}
},
"links":[
{
"rel":"self",
"href":"http://localhost:9080/ccagentui/v1/merchant/configurationSettings?type=CPQConfigurationSettings"
}
],
"config":{
"displayName":"CPQ Configuration",
"description":"CPQ Configuration Settings",
"id":"CPQConfigurationSettings",
"enabled":true
}
}
Default Response
The error response
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:
{
"data": {"cpqConfigSettings": {
"CPQReConfigurationURL": "http://slc10gpm.us.oracle.com",
"CPQIFrameURL": "http://slc10gpm.us.oracle.com"
}},
"links": [{
"rel": "self",
"href": "http://localhost:9080/ccagentui/v1/merchant/configurationSettings?type=CPQConfigurationSettings"
}],
"config": {
"displayName": "CPQ Configuration",
"description": "CPQ Configuration Settings",
"id": "CPQConfigurationSettings",
"enabled": true
}
}