getExternalServicesData
get
/ccadmin/v1/merchant
Get External Services Data. Get all the external service data objects.
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getExternalServicesData_response
- items
-
Type:
arrayitemsAdditional Properties Allowed:List of external application data objects.
Nested Schema : items
Nested Schema : items
Type:
object- id
-
Type:
stringThe ID of the external application data. In the form "{serverType}-{applicationName}". - serverType
-
Type:
stringThe server type. Typically "production" (storefront) or "publishing" (admin). - serviceData
-
Type:
objectserviceDataAdditional Properties Allowed:description of serviceData
Nested Schema : serviceData
Type:
objectdescription of serviceData
- applicationId
-
Type:
stringThe Facebook application ID of the merchant. (Facebook only) - displayName
-
Type:
stringThe localized display name of the application. - host
-
Type:
stringThe host name of the recommendations host. (Recommendations only) - name
-
Type:
stringThe non-localized name of the service, such as "Facebook" or "Recommendations". - port
-
Type:
integerThe port of the recommendations server. (Recommendations only) - tenantId
-
Type:
stringThe tenant ID of the merchant. (Recommendations only)
Example application/json
{
"items":[
{
"serverType":"production",
"serviceData":{
"displayName":"Facebook",
"name":"Facebook",
"applicationId":null
},
"id":"production-Facebook"
},
{
"serverType":"production",
"serviceData":{
"port":123,
"displayName":"Oracle Recommendations",
"host":"myHost",
"name":"Recommendations",
"tenantId":"foo"
},
"id":"production-Recommendations"
},
{
"serverType":"publishing",
"serviceData":{
"displayName":"Facebook",
"name":"Facebook",
"applicationId":null
},
"id":"publishing-Facebook"
},
{
"serverType":"publishing",
"serviceData":{
"port":0,
"displayName":"Oracle Recommendations",
"host":null,
"name":"Recommendations",
"tenantId":null
},
"id":"publishing-Recommendations"
}
]
}
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:
{"items": [
{
"serverType": "production",
"serviceData": {
"displayName": "Facebook",
"name": "Facebook",
"applicationId": null
},
"id": "production-Facebook"
},
{
"serverType": "production",
"serviceData": {
"port": 123,
"displayName": "Oracle Recommendations",
"host": "myHost",
"name": "Recommendations",
"tenantId": "foo"
},
"id": "production-Recommendations"
},
{
"serverType": "publishing",
"serviceData": {
"displayName": "Facebook",
"name": "Facebook",
"applicationId": null
},
"id": "publishing-Facebook"
},
{
"serverType": "publishing",
"serviceData": {
"port": 0,
"displayName": "Oracle Recommendations",
"host": null,
"name": "Recommendations",
"tenantId": null
},
"id": "publishing-Recommendations"
}
]}