Upload Connection Property Attachment
/ic/api/integration/v1/connections/{id}/attachments/{connPropName}
Request
- multipart/form-data
-
connPropName: string
Connection property name. For example: targetWSDLURL
-
id: string
Connection identifier.
-
serviceWSDL(optional): string
Path and name of the WSDL file in the zip file. For example: serviceWSDL=/path/source.wsdl
-
file: file
Upload connection attachment.
Response
- application/json; charset=utf-8
200 Response
object
-
adapter(optional):
object adapter
-
adapterType(optional):
object adapterbase
-
adminEmail(optional):
string
-
agentGroupId(optional):
string
-
agentRequired(optional):
boolean
Default Value:
false
-
agentSupported(optional):
boolean
Default Value:
false
-
connectionProperties(optional):
array connectionProperties
-
created(optional):
string(date-time)
-
createdBy(optional):
string
-
description(optional):
string
-
id(optional):
string
-
keywords(optional):
string
-
lastRefreshedDate(optional):
string(date-time)
-
lastUpdated(optional):
string(date-time)
-
lastUpdatedBy(optional):
string
-
links(optional):
array links
-
lockedBy(optional):
string
-
lockedDate(optional):
string(date-time)
-
lockedFlag(optional):
boolean
Default Value:
false
-
metadataDownloadState(optional):
string
Allowed Values:
[ "NOT_STARTED", "IN_PROGRESS", "DOWNLOAD_ERROR", "COMPLETE" ]
-
metadataDownloadSupportedFlag(optional):
boolean
Default Value:
false
-
name(optional):
string
-
percentageComplete(optional):
number
-
refreshedStatus(optional):
string
-
role(optional):
string
Allowed Values:
[ "SOURCE", "TARGET", "SOURCE_AND_TARGET" ]
-
securityPolicy(optional):
string
Allowed Values:
[ "BASIC_AUTH", "USERNAME_PASSWORD_TOKEN", "USERNAME_PASSWORD_IGNORE_TIMESTAMP", "OAUTH_CLIENT_CREDENTIALS", "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "SAML", "OAUTH", "CUSTOM", "TEMPLATE_BASED", "TOKEN_BASED", "NONE", "PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "TIMEOUT_AUTHORIZATION_CODE_CREDENTIALS", "PLUGIN_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "PLUGIN_CLIENT_CREDENTIALS", "MIN_PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH20_AUTHORIZATION_CODE_CREDENTIALS", "CUSTOM_THREE_LEGGED", "CUSTOM_TWO_LEGGED", "CUSTOM_SINGLE_TOKEN", "OAUTH_ONE_TOKEN_BASED", "NETSUITE_TOKEN_BASED", "PAAS_INTEGRATION_USING_OWSM_OAUTH20", "FTP_PUBLIC_KEY_AUTHENTICATION", "FTP_MULTI_LEVEL_AUTHENTICATION", "OAUTH_INBOUND", "AWS_SIGNATURE_VERSION4", "OAUTH2_PRECONFIGURED_CLINET_ID_SECRET", "OAUTH2_CCS_ROP_PRECONFIGURED", "OAUTH2_CCS_ROP", "OAUTH2", "CCS_BASIC_AUTH", "CCS_API_KEY", "JDBC_OVER_SSL", "JDBC_BASIC_AUTH", "FA_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "FA_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "ORACLE_WALLET", "OCI_SIGNATURE_VERSION1", "SASLPLAIN", "SASLPLAIN_OVER_SSL", "SASLPLAIN_OVER_SSL_OSS", "TLS", "MUTUAL_TLS", "UIPATH_CLOUD", "AS2_ADVANCE_SEC_PROPS", "AS2_BASIC_SEC_PROPS" ]
-
securityPolicyInfo(optional):
array securityPolicyInfo
-
securityProperties(optional):
array securityProperties
-
status(optional):
string
-
testStatus(optional):
boolean
Default Value:
false
-
usage(optional):
integer(int32)
-
usageActive(optional):
integer(int32)
-
wsdlListDir(optional):
array wsdlListDir
object
-
customSecurityPolicyDescription(optional):
string
-
defaultSecurityPolicies(optional):
string
-
description(optional):
string
-
displayName(optional):
string
-
features(optional):
string
-
genericAuthSupport(optional):
array genericAuthSupport
-
icons(optional):
object adaptericons
-
id(optional):
string
-
infoMessage(optional):
string
-
integrationRole(optional):
string
Allowed Values:
[ "SOURCE", "TARGET", "SOURCE_AND_TARGET" ]
-
links(optional):
array links
-
name(optional):
string
-
oauth3LeggedSupport(optional):
array oauth3LeggedSupport
-
otherVersions(optional):
string
-
supportedSecurityPolicies(optional):
string
-
testKey(optional):
string
-
testMessage(optional):
string
-
type(optional):
string
-
validateAndTestKey(optional):
string
-
validateAndTestMessage(optional):
string
-
vendorInfo(optional):
object VendorInfo
-
version(optional):
string
-
wsdlvalidation(optional):
boolean
Default Value:
false
array
-
Array of:
string
Allowed Values:
[ "BASIC_AUTH", "USERNAME_PASSWORD_TOKEN", "USERNAME_PASSWORD_IGNORE_TIMESTAMP", "OAUTH_CLIENT_CREDENTIALS", "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "SAML", "OAUTH", "CUSTOM", "TEMPLATE_BASED", "TOKEN_BASED", "NONE", "PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "TIMEOUT_AUTHORIZATION_CODE_CREDENTIALS", "PLUGIN_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "PLUGIN_CLIENT_CREDENTIALS", "MIN_PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH20_AUTHORIZATION_CODE_CREDENTIALS", "CUSTOM_THREE_LEGGED", "CUSTOM_TWO_LEGGED", "CUSTOM_SINGLE_TOKEN", "OAUTH_ONE_TOKEN_BASED", "NETSUITE_TOKEN_BASED", "PAAS_INTEGRATION_USING_OWSM_OAUTH20", "FTP_PUBLIC_KEY_AUTHENTICATION", "FTP_MULTI_LEVEL_AUTHENTICATION", "OAUTH_INBOUND", "AWS_SIGNATURE_VERSION4", "OAUTH2_PRECONFIGURED_CLINET_ID_SECRET", "OAUTH2_CCS_ROP_PRECONFIGURED", "OAUTH2_CCS_ROP", "OAUTH2", "CCS_BASIC_AUTH", "CCS_API_KEY", "JDBC_OVER_SSL", "JDBC_BASIC_AUTH", "FA_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "FA_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "ORACLE_WALLET", "OCI_SIGNATURE_VERSION1", "SASLPLAIN", "SASLPLAIN_OVER_SSL", "SASLPLAIN_OVER_SSL_OSS", "TLS", "MUTUAL_TLS", "UIPATH_CLOUD", "AS2_ADVANCE_SEC_PROPS", "AS2_BASIC_SEC_PROPS" ]
array
-
Array of:
string
Allowed Values:
[ "BASIC_AUTH", "USERNAME_PASSWORD_TOKEN", "USERNAME_PASSWORD_IGNORE_TIMESTAMP", "OAUTH_CLIENT_CREDENTIALS", "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "SAML", "OAUTH", "CUSTOM", "TEMPLATE_BASED", "TOKEN_BASED", "NONE", "PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "TIMEOUT_AUTHORIZATION_CODE_CREDENTIALS", "PLUGIN_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "PLUGIN_CLIENT_CREDENTIALS", "MIN_PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH20_AUTHORIZATION_CODE_CREDENTIALS", "CUSTOM_THREE_LEGGED", "CUSTOM_TWO_LEGGED", "CUSTOM_SINGLE_TOKEN", "OAUTH_ONE_TOKEN_BASED", "NETSUITE_TOKEN_BASED", "PAAS_INTEGRATION_USING_OWSM_OAUTH20", "FTP_PUBLIC_KEY_AUTHENTICATION", "FTP_MULTI_LEVEL_AUTHENTICATION", "OAUTH_INBOUND", "AWS_SIGNATURE_VERSION4", "OAUTH2_PRECONFIGURED_CLINET_ID_SECRET", "OAUTH2_CCS_ROP_PRECONFIGURED", "OAUTH2_CCS_ROP", "OAUTH2", "CCS_BASIC_AUTH", "CCS_API_KEY", "JDBC_OVER_SSL", "JDBC_BASIC_AUTH", "FA_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "FA_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "ORACLE_WALLET", "OCI_SIGNATURE_VERSION1", "SASLPLAIN", "SASLPLAIN_OVER_SSL", "SASLPLAIN_OVER_SSL_OSS", "TLS", "MUTUAL_TLS", "UIPATH_CLOUD", "AS2_ADVANCE_SEC_PROPS", "AS2_BASIC_SEC_PROPS" ]
object
-
acceptableKeys(optional):
array acceptableKeys
-
attachment(optional):
object ConnectionAttachmentRs
-
displayName(optional):
string
-
hasAttachment(optional):
boolean
Default Value:
false
- hiddenFlag(optional): boolean
-
integrationRole(optional):
string
Allowed Values:
[ "SOURCE", "TARGET", "SOURCE_AND_TARGET" ]
-
propertyDescription(optional):
string
-
propertyGroup(optional):
string
Allowed Values:
[ "CREDENTIALS", "SOURCE_ARTIFACTS", "CONNECTION_PROPS", "CUSTOM", "OTHER" ]
-
propertyName(optional):
string
-
propertyShortDesc(optional):
string
-
propertyType(optional):
string
Allowed Values:
[ "STRING", "NUMBER", "URL", "WSDL_URL", "XSD_URL", "WADL_URL", "FILE", "PASSWORD", "URL_OR_FILE", "LIST", "MAP", "TEXT", "CHOICE", "BOOLEAN", "ARTIFACT_URL", "LIST_OF_MAPS", "CONCRETE_WSDL" ]
-
propertyValue(optional):
string
-
requiredFlag(optional):
boolean
Default Value:
false
object
-
displayName(optional):
string
-
keyName(optional):
string
-
scope(optional):
string
Allowed Values:
[ "SOURCE", "TARGET", "SOURCE_AND_TARGET" ]
object
-
securityPolicy(optional):
string
Allowed Values:
[ "BASIC_AUTH", "USERNAME_PASSWORD_TOKEN", "USERNAME_PASSWORD_IGNORE_TIMESTAMP", "OAUTH_CLIENT_CREDENTIALS", "OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "SAML", "OAUTH", "CUSTOM", "TEMPLATE_BASED", "TOKEN_BASED", "NONE", "PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "TIMEOUT_AUTHORIZATION_CODE_CREDENTIALS", "PLUGIN_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "PLUGIN_CLIENT_CREDENTIALS", "MIN_PLUGIN_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "OAUTH20_AUTHORIZATION_CODE_CREDENTIALS", "CUSTOM_THREE_LEGGED", "CUSTOM_TWO_LEGGED", "CUSTOM_SINGLE_TOKEN", "OAUTH_ONE_TOKEN_BASED", "NETSUITE_TOKEN_BASED", "PAAS_INTEGRATION_USING_OWSM_OAUTH20", "FTP_PUBLIC_KEY_AUTHENTICATION", "FTP_MULTI_LEVEL_AUTHENTICATION", "OAUTH_INBOUND", "AWS_SIGNATURE_VERSION4", "OAUTH2_PRECONFIGURED_CLINET_ID_SECRET", "OAUTH2_CCS_ROP_PRECONFIGURED", "OAUTH2_CCS_ROP", "OAUTH2", "CCS_BASIC_AUTH", "CCS_API_KEY", "JDBC_OVER_SSL", "JDBC_BASIC_AUTH", "FA_OAUTH_AUTHORIZATION_CODE_CREDENTIALS", "FA_OAUTH_RESOURCE_OWNER_PASSWORD_CREDENTIALS", "ORACLE_WALLET", "OCI_SIGNATURE_VERSION1", "SASLPLAIN", "SASLPLAIN_OVER_SSL", "SASLPLAIN_OVER_SSL_OSS", "TLS", "MUTUAL_TLS", "UIPATH_CLOUD", "AS2_ADVANCE_SEC_PROPS", "AS2_BASIC_SEC_PROPS" ]
-
securityProperties(optional):
array securityProperties
400 Response
404 Response
423 Response
500 Response
Examples
The following examples show how to update the connection by uploading a file to the connection's attachment property by submitting a POST request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.
Example: Update the connection by uploading a WSDL file
This command updates the connection by uploading a WSDL file to the connection's targetWSDLURL property.
curl -X POST -H 'Authorization: Bearer access_token' -F file=@source.wsdl -F type=application/octet-stream https://integration.us.oraclecloud.com/ic/api/integration/v1/connections/{id}/attachments/targetWSDLURL
Required options for this request:
-F file=@source.wsdl
: The location and the name of the file to attach to the connection's targetWSDLURL property.-F type=application/octet-stream
: The type of file included in the request.
Example: Update the connection by uploading a zip file
This command updates the connection by uploading a zip file to the connection's targetWSDLURL property. Specify the path of the WSDL file in the zip file in the command.
curl -G -X POST -H 'Authorization: Bearer access_token' -F file=@source.zip -F type=application/octet-stream -d "serviceWSDL=/path/source.wsdl" https://integration.us.oraclecloud.com/ic/api/integration/v1/connections/{id}/attachments/targetWSDLURL