Administrator
- Administrator
- All Products
/api/v2/runtimeEnvironment/<id>/selections
/api/v2/runtimeEnvironment/<id>/selections/details
Field
| Type
| Description
|
---|---|---|
services
| Contains selection information for services.
| |
selections
| Contains information for enabled services.
If the request is to include details, also contains selection information for disabled services.
| |
id
| String
| Included in the selections object.
Service ID.
|
name
| String
| Included in the selections object.
Service name.
|
enabled
| Boolean
| Included in the selections object.
Whether the service is enabled for the Secure Agent group.
|
connectors
| Contains selection information for connectors.
| |
selections
| Contains information for enabled connectors.
If the request is to include details, also contains selection information for disabled connectors.
| |
id
| String
| Included in the selections object.
Connector ID.
|
name
| String
| Included in the selections object.
Connector name.
|
enabled
| Boolean
| Included in the selections object.
Whether the connector is enabled for the Secure Agent group.
|
Additional services
| Contains selection information for additional services, for example, Git.
| |
selections
| Contains information for additional services that are enabled.
If the request is to include details, also contains selection information for additional services that are disabled.
| |
id
| String
| Included in the selections object.
Service ID.
|
name
| String
| Included in the selections object.
Service name.
|
enabled
| Boolean
| Included in the selections object.
Whether the service is enabled for the Secure Agent group.
|
POST <serverUrl>/api/v2/runtimeEnvironment/00000425000000000004/selections Accept:application/json icSessionId: <icSessionId>
POST <serverUrl>/api/v2/runtimeEnvironment/00000425000000000004/selections/details Accept:application/json icSessionId: <icSessionId>
{ "services": { "selections": [ { "id": "00000047000000000002", "name": "Data Integration", "enabled": true } ] }, "connectors": { "selections": [ { "id": "01000000000005L", "name": "Amazon Redshift v2", "enabled": true }, { "id": "01000000000005Q", "name": "Amazon S3", "enabled": false } ] }, "additionalServices": { "selections": [ { "id": "00000048000000000002", "name": "Git", "enabled": false } ] } }
/api/v2/runtimeEnvironment/<id>/selections
Field
| Type
| Required
| Description
|
---|---|---|---|
id
| String
| Yes
| The selection object ID.
|
name
| String
| -
| The selection object name.
|
enabled
| Boolean
| -
| Whether to enable or disable the selection.
|
PUT <serverUrl>/api/v2/runtimeEnvironment/00000425000000000004/selections Accept:application/json icSessionId: <icSessionId> { "services": { "selections": [ { "id": "00000047000000000002", "name": "Data Integration", "enabled": true } ] }, "connectors": { "selections": [ { "id": "01000000000005L", "name": "Amazon Redshift v2", "enabled": false }, { "id": "01000000000005M", "name": "Amazon S3 v2", "enabled": false } ] }, "additionalServices": { "selections": [ { "id": "00000047000000000013", "name": "Self-hosted Git Repo", "enabled": true } ] } }