{ "configurationkey": "visibilityMode", "configurationvalue": { "visibilityMode": [ { "filter-with-cpp-and-so-contexts-intersection": false, "id": 1, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOfferings. Result will be the instersection of both filters. " }, { "filter-with-union-cpp-and-so-contexts": false, "id": 2, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOffering. Result will be the union of both filters" }, { "filter-with-so-contexts-fallback-on-cpp": true, "id": 3, "description": "The Service Offerings will be filtered only using any visibility contexts for the ServiceOfferings. If there is no contexts for ServiceOfferings then the list will be filtered using applicable CPP policies. " }, { "filter-with-cpp-fallback-on-so-contexts": false, "id": 4, "description": "The Service Offerings will be filtered only using applicable CPP policies. If there is no CPP policies then the list will be filtered using any visibility contexts for the ServiceOfferings. " } ] } }
Key | Value | Description |
---|---|---|
Username | The broker userid | |
Api-Key | The broker user api-key |
{ "visibilityMode": [{ "filter-with-cpp-and-so-contexts-intersection": false, "id": 1, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOfferings. Result will be the instersection of both filters. " }, { "filter-with-union-cpp-and-so-contexts": false, "id": 2, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOffering. Result will be the union of both filters" }, { "filter-with-so-contexts-fallback-on-cpp": true, "id": 3, "description": "The Service Offerings will be filtered only using any visibility contexts for the ServiceOfferings. If there is no contexts for ServiceOfferings then the list will be filtered using applicable CPP policies. " }, { "filter-with-cpp-fallback-on-so-contexts": false, "id": 4, "description": "The Service Offerings will be filtered only using applicable CPP policies. If there is no CPP policies then the list will be filtered using any visibility contexts for the ServiceOfferings. " } ], "reasons": [{ "statusCode": 200, "status": "OK", "messages": [ "Visibility modes are Successfully retrieved" ], "id": "", "translateCode": "CA_8992_V3_VM_SUCCESS", "translateParameters": [] }] }
Name | Type | Description | Required | Possible Values |
---|---|---|---|---|
visibilityMode | List | List of visibility modes. Only one visibility mode active at a time. | True | There will be given 4 visibility modes and only one active at a time. |
filter-with-cpp-and-so-contexts-intersection | Boolean | Catalogs can be filtered based on cpp and so contexts. The result will be intersection of both cpp and so context filters. | True | True/False |
filter-with-union-cpp-and-so-contexts | Boolean | Catalogs can be filtered based on cpp and so contexts. The result will be union of both cpp and so context filters. | True | True/False |
filter-with-so-contexts-fallback-on-cpp | Boolean | Catalogs can be filtered based on so contexts. If so contexts are not present then filtered through cpp. | True | True/False |
filter-with-cpp-fallback-on-so-contexts | Boolean | Catalogs can be filtered based on cpp. If deafult cpp is true then filter with so context. | True | True/False |
visibilityMode.id | Integer | Unique id to represent the sequence of visibility mode. | True | 1,2,3,4 |
visibilityMode.description | String | Description about that visibility mode. | True | - |
Status code | Description |
---|---|
200 | Visibility modes are Successfully retrieved. |
400 | config key not found. |
404 | config key is present but config response is empty. |
Key | Value | Description |
---|---|---|
Username | The broker userid | |
Api-Key | The broker user api-key |
{ "visibilityMode": [ { "filter-with-cpp-and-so-contexts-intersection": false, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOfferings. Result will be the instersection of both filters. ", "id": 1 }, { "filter-with-union-cpp-and-so-contexts": false, "id": 2, "description": "The Service Offerings will be filtered using applicable CPP policies and any visibility contexts for the ServiceOffering. Result will be the union of both filters" }, { "filter-with-so-contexts-fallback-on-cpp": true, "id": 3, "description": "The Service Offerings will be filtered only using any visibility contexts for the ServiceOfferings. If there is no contexts for ServiceOfferings then the list will be filtered using applicable CPP policies. " }, { "filter-with-cpp-fallback-on-so-contexts": false, "description": "The Service Offerings will be filtered only using applicable CPP policies. If there is no CPP policies then the list will be filtered using any visibility contexts for the ServiceOfferings. ", "id": 4 } ], "reasons": [ { "statusCode": 200, "status": "OK", "messages": [ "Visibility mode with id: 3 is Successfully patched" ], "id": "", "translateCode": "CA_8993_V3_VM_SUCCESS1", "translateParameters": [ 3 ] } ] }
Status code | Description |
---|---|
200 | Visibility mode with id: is Successfully patched. |
400 | If given visibility mode is invalid. id > 4 or id < 1. |
400 | If given visibility mode is invalid. id > 4 or id < 1. |
400 | config key is not present. |
400 | If Configuration API return any error for update. |
404 | If visibility modes are not present in the config response. |