Skip to main content

Test Connection

POST 

/testConnection

This API is used to save and test a connection. The Authorization must have Bearer followed by Token. Mandatory params: connectiontype, connectionName OR connectionkey(if both are passed connectionkey is considered) Additional connection parameters can also be passed - For example, for SAP Import, provide paramters - JCO_ASHOST, JCO_SYSNR, JCO_CLIENT, JCO_USER, PASSWORD, This API is enhanced to update vaultconnection, and vaultconfiguration connection details. From Release v23.10, if you specify the key value for header response as standard,a detailed error message is displayed in the Response that enables you to troubleshoot errors.

Request

Body

    PASSWORD string
    URL string
    USERNAME string
    connectionName string
    connectiontype string
    saveconnection string

Responses

Test Connection-non standard response / Test Connection-non standard failure / Test Connection-standard response success / Test Connection-standard response failure

Response Headers

  • Access-Control-Allow-Credentials

    string

  • Access-Control-Allow-Origin

    string

  • CF-Cache-Status

    string

  • CF-RAY

    string

  • Cache-Control

    string

  • Content-Encoding

    string

  • Content-Security-Policy

    string

  • Date

    string

  • Expires

    string

  • Permissions-Policy

    string

  • Referrer-Policy

    string

  • Server

    string

  • Set-Cookie

    string

  • Strict-Transport-Security

    string

  • X-Content-Type-Options

    string

Schema

    connectionKey number
    connectionName string

    connectionResult

    object

    errors

    object[]

  • Array [

  • errorMessage string
  • ]

  • connectionStatus string
    connectionType string
    errorCode string
    msg string
Loading...