Configuration Service API Samples

Get Configuration

Method: HTTP GET

Endpoint: http://<host_address>:<port_address>/v1/configuration/{applicationid}

Parameters: applicationid (Select value from the drop-down menu)

Add Configuration

Method: HTTP POST

Endpoint: http://<host_address>:<port_address>/v1/configuration/{applicationid}

Parameters: applicationid (Select value from the drop-down menu)

Example of addConfigRequest:
{
  "appDescription": "AOPD",
  "categories": [
    {
      "ConfValues": [
        {
          "description": "string",
          "propName": "string",
          "propertyVisibility": "Basic",
          "tenantProperty": true,
          "value": "string",
          "valueType": "Number"
        }
      ],
      "categoryName": "string",
      "description": "string",
      "visibility": "Basic"
    }
  ]
}

Update Configuration

Method: HTTP PUT

Endpoint: http://<host_address>:<port_address>/v1/configuration/{applicationid}

Parameters: applicationid (Select value from the drop-down menu)

Example of updateRequest:
 {
    "propName": "string",
    "value": "string",
    "valueType": "Number"
  }

Delete Configuration

Method: HTTP DELETE

Endpoint: http://<host_address>:<port_address>/v1/configuration/{applicationid}

Parameters: applicationid (Select value from the drop-down menu)

Example of deleteRequest:
[
  "string"
]