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: string
Required: true
setting type
Header Parameters
x-ccsite
Type: string
Required: true
the 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: object
configuration details of the setting
Nested Schema : data
Type: object
property details.
Nested Schema : configuration_setting_type
Type: object
configuration setting properties
Example application/json

{
    "data":{
        "cpqConfigSettings":{
            "CPQReConfigurationURL":"http://some.machine.example.com",
            "CPQIFrameURL":"http://some.machine.example.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
    },
    "___etag___":"eyJoYXNoIjoiU0FHdUFDbEhRMzlheURmeXNGNWVHaVNPd2N0Q21GaXpTUFpNcU04MGl5dz0iLCJ1cmkiOiIvY2NhZ2VudHVpL3YxL21lcmNoYW50L2NvbmZpZ3VyYXRpb25TZXR0aW5ncyIsInZlcnNpb24iOjB9"
}
Default Response
The error response
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 Response Payload returned by endpoint:

{
  "data": {"cpqConfigSettings": {
    "CPQReConfigurationURL": "http://some.machine.example.com",
    "CPQIFrameURL": "http://some.machine.example.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
  },
  "___etag___": "eyJoYXNoIjoiU0FHdUFDbEhRMzlheURmeXNGNWVHaVNPd2N0Q21GaXpTUFpNcU04MGl5dz0iLCJ1cmkiOiIvY2NhZ2VudHVpL3YxL21lcmNoYW50L2NvbmZpZ3VyYXRpb25TZXR0aW5ncyIsInZlcnNpb24iOjB9"
}