Valuekeep Developers - Web API Reference

Integration | Integration Config

Service to manage entities of type 'IntegrationConfig'.

Overview


URL api/{tenantKey}/{orgKey}/integration/integrationConfigs
Methods Supported GET, POST, PUT, DELETE

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

All Enumerations

This service uses the following enumerations:

GET Operations

GET IntegrationConfigs (odata)

Returns a page of the list of all the entity records available.

The following elements are optional:

opts (ODataQueryOptions) OData query option.

Response:

When successful, the response body contains the list of records available. See IntegrationConfigResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /integration/integrationConfigs/odata

GET IntegrationConfig by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See IntegrationConfigResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /integration/integrationConfigs/{id}

GET IntegrationConfig by key

Returns the entity record that matches the specified key.

The following elements are required:

configKey (string) Config.

Response:

When successful, the response body contains the entity record. See IntegrationConfigResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /integration/integrationConfigs/{configKey}

POST Operations

POST IntegrationConfigs

Creates a new entity record.

The following elements are required:

integrationConfigResource (ApiIntegrationConfigResource) The request body should contain the entity record that should be created.
See ApiIntegrationConfigResource.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiIntegrationConfigResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /integration/integrationConfigs

PUT Operations

PUT Set AuthType IntegrationConfig

Updates the value of attribute 'AuthType' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (enum AuthType) The request body should contain the new value for the attribute.
See AuthType.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/authType

PUT Set BearerToken IntegrationConfig

Updates the value of attribute 'BearerToken' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/bearerToken

PUT Set ClientId IntegrationConfig

Updates the value of attribute 'ClientId' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/clientId

PUT Set ClientSecret IntegrationConfig

Updates the value of attribute 'ClientSecret' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/clientSecret

PUT Set ConfigKey IntegrationConfig

Updates the value of attribute 'ConfigKey' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/configKey

PUT Set IsActive IntegrationConfig

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/isActive

PUT Set Password IntegrationConfig

Updates the value of attribute 'Password' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/password

PUT Set Scope IntegrationConfig

Updates the value of attribute 'Scope' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/scope

PUT Set Username IntegrationConfig

Updates the value of attribute 'Username' in the specified entity record.

The following elements are required:

configKey (string) Config.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /integration/integrationConfigs/{configKey}/username

DELETE Operations

DELETE IntegrationConfig by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /integration/integrationConfigs/{id}

DELETE IntegrationConfig by key

Deletes the entity record that matches the specified key.

The following elements are required:

configKey (string) Config.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /integration/integrationConfigs/{configKey}

Resources


ApiIntegrationConfigResource

The following elements are required:

configKey (string) Config.

The following elements are optional:

authType (enum AuthType) Auth Type.
See AuthType.
clientId (string) Client Id.
clientSecret (string) Client Secret.
scope (string) Scope.
bearerToken (string) Bearer Token.
username (string) Username.
password (string) Password.


IntegrationConfigResource

The following elements are required:

configKey (string) Config.

The following elements are optional:

authType (enum AuthType) Auth Type.
See AuthType.
clientId (string) Client Id.
clientSecret (string) Client Secret.
scope (string) Scope.
bearerToken (string) Bearer Token.
username (string) Username.
password (string) Password.


Enumerations


AuthType

1 Basic
2 OAuth
3 BearerToken