Retrieve Connection Property Attachment



Downloads the attachment associated with the specified connection property. This operation returns a byte stream that is output to the display by default. In cURL, use the -o option to specify the file in which to save the response.


Supported Media Types
Path Parameters
Back to Top


Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Type: array
Show Source

404 Response

Not found

423 Response

Connection is locked

500 Response

Server error
Back to Top


The following examples show how to download the attachment of connection properties to a specified file by submitting a GET 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: Download the WSDL file attached to the connection

This command downloads the WSDL file attached to the connection's targetWSDLURL property to myfile.wsdl in the same directory from which the command was run.

curl -X GET -H 'Authorization: Bearer access_token' -H "Accept:application/json" -o 'myfile.wsdl'{id}/attachments/targetWSDLURL

Required options for this cURL request:

  • -o '/path/file.wsdl': Location and file name of the file in which to save the downloaded properties.
Back to Top